The affinity laws for pumps/fans are used in hydraulics and/or HVAC to express the relationship between variables involved in pump or fan performance (such as head, volumetric flow rate, shaft speed) and power. They apply to pumps, fans, and hydraulic turbines. In these rotary implements, the affinity laws apply both to centrifugal and axial flows.
The affinity laws are useful as they allow prediction of the head discharge characteristic of a pump or fan from a known characteristic measured at a different speed or impeller diameter. The only requirement is that the two pumps or fans are dynamically similar, that is the ratios of the fluid forced are the same.
Law 1. With impeller diameter (D) held constant:
Law 1a. Flow is proportional to shaft speed:,
Law 1b. Pressure or Head is proportional to the square of shaft speed:
Law 1c. Power is proportional to the cube of shaft speed:
Law 2. With shaft speed (N) held constant: 
Law 2a. Flow is proportional to the impeller diameter:
Law 2b. Pressure or Head is proportional to square of impeller diameter:
Law 2c. Power is proportional to the cubed power of impeller diameter:
- is the volumetric flow rate (e.g. CFM, GPM or L/s),
- is the impeller diameter (e.g. in or mm),
- is the shaft rotational speed (e.g. rpm),
- is the pressure or head developed by the fan/pump (e.g. psi or Pascal), and
- is the shaft power (e.g. W).
These laws assume that the pump/fan efficiency remains constant i.e. , which is rarely exactly true, but can be a good approximation when used over appropriate frequency or diameter ranges (i.e., a fan will not move anywhere near 1000 times as much air when spun at 1000 times its designed operating speed, but the air movement may be increased by 99% when the operating speed is only doubled). The exact relationship between speed, diameter, and efficiency depends on the particulars of the individual fan or pump design. Product testing or computational fluid dynamics become necessary if the range of acceptability is unknown, or if a high level of accuracy is required in the calculation. Interpolation from accurate data is also more accurate than the affinity laws. When applied to pumps the laws work well for constant diameter variable speed case (Law 1) but are less accurate for constant speed variable impeller diameter case (Law 2).