Pipe Flow Calculator
Enter the pipe diameter, length, material, and either the flow velocity or the pressure drop to instantly get volumetric flow rate, Reynolds number, friction factor, and head loss. Switch between metric and imperial units at any time. The calculator applies the Darcy-Weisbach equation with the Colebrook-White friction factor for full accuracy across laminar, transitional, and turbulent flow regimes.
How the calculator works
The calculator combines two fundamental fluid mechanics equations. The continuity equation Q = A x v links volumetric flow rate (Q), pipe cross-sectional area (A), and mean velocity (v). The Darcy-Weisbach equation dP = f x (L/D) x (rho x v^2 / 2) then gives the pressure drop from friction, where f is the Darcy friction factor, L is pipe length, D is inner diameter, and rho is fluid density. In velocity mode, the flow rate follows directly from continuity. In pressure-drop mode, the friction factor and velocity are found by iterating the Colebrook-White implicit equation until the answer converges (typically fewer than five iterations).
Reynolds number and flow regimes
The Reynolds number Re = rho x v x D / mu compares inertial forces to viscous forces. Below 2300 the flow is laminar: fluid moves in orderly parallel layers and the friction factor equals 64/Re exactly. Above 4000 the flow is turbulent: chaotic mixing greatly increases heat and mass transfer but also raises frictional resistance. Between 2300 and 4000 is the transitional zone where flow is unstable and hard to predict. Good engineering practice keeps steady-state designs clearly in the laminar or turbulent regime. The gauge at the top of the results panel shows where your current conditions fall.
Friction factor and pipe roughness
In turbulent flow, the Darcy friction factor f depends on both the Reynolds number and the pipe surface roughness. The Colebrook-White equation 1/sqrt(f) = -2 log10(e/(3.7D) + 2.51/(Re sqrt(f))) captures this relationship but must be solved iteratively because f appears on both sides. The calculator performs up to 20 iterations, which is far more than needed for full precision. Roughness e ranges from about 0.0015 mm for smooth plastic and copper to 1 mm for older concrete pipes. A rougher pipe means a higher friction factor and a larger pressure drop for the same flow rate.
Head loss and pressure drop
The Darcy-Weisbach equation gives pressure drop in Pascals (Pa). Dividing by the specific weight of the fluid (rho x g) converts it to head loss in metres, a unit that is independent of fluid density and convenient for pump sizing. One metre of head loss in a water system corresponds to about 9.8 kPa. The results this calculator returns are for straight-pipe friction losses only. Real systems also include minor losses from bends, valves, reducers, and fittings. A common approximation is to add 10-20 percent to the straight-pipe loss to account for these components.
Typical recommended flow velocities by fluid
| Fluid | Pipe material | Recommended velocity (m/s) | Note |
|---|---|---|---|
| Water (supply) | Steel | 0.5 - 2.0 | Distribution networks |
| Water (supply) | Plastic/PVC | 0.5 - 1.5 | Domestic and irrigation |
| Water (pumped) | Steel | 1.5 - 3.0 | Pump suction and discharge |
| Hot water | Copper | 0.5 - 1.5 | Central heating systems |
| Steam (low pres) | Steel | 20 - 40 | Saturated steam lines |
| Fuel oil | Steel | 0.5 - 1.5 | Low viscosity oil |
| Air (compressed) | Steel | 15 - 25 | Compressed air systems |
| Natural gas | Steel | 3 - 6 | Industrial gas mains |
Exceeding these ranges accelerates erosion and increases noise. Stay below the upper limit in routine design.
Frequently asked questions
What is the Darcy-Weisbach equation?
The Darcy-Weisbach equation is dP = f x (L/D) x (rho x v^2 / 2), where dP is the pressure drop (Pa), f is the dimensionless Darcy friction factor, L is pipe length (m), D is inner diameter (m), rho is fluid density (kg/m^3), and v is mean velocity (m/s). It is the most accurate general formula for pipe pressure loss and applies to any fluid at any Reynolds number. For laminar flow (Re < 2300) the friction factor is simply 64/Re; for turbulent flow it is found from the Colebrook-White equation.
What is a good flow velocity for water pipes?
For cold water in steel pipes, the commonly cited range is 0.5 to 2 m/s in distribution systems and up to 3 m/s on pump discharge lines. Velocities above 3 m/s risk erosion, noise, and water hammer; velocities below 0.3 m/s can allow sediment to settle and air pockets to form. Plastic and copper pipes are usually limited to 1.5 m/s because they are more susceptible to surface wear at higher speeds.
How does pipe roughness affect pressure drop?
In turbulent flow, a rougher pipe wall creates more surface friction, which raises the Darcy friction factor f and therefore the pressure drop. At very high Reynolds numbers the flow enters the "fully rough" regime where f depends only on relative roughness (e/D) and becomes independent of Re. A smooth plastic pipe (e = 0.0015 mm) can have a friction factor two to four times lower than an equivalent cast-iron pipe (e = 0.26 mm) at the same Reynolds number.
What is the Colebrook-White equation?
The Colebrook-White equation 1/sqrt(f) = -2 log10(e/(3.7D) + 2.51/(Re sqrt(f))) gives the Darcy friction factor for turbulent pipe flow. It is implicit (f appears on both sides), so it must be solved iteratively or with an explicit approximation such as Swamee-Jain. This calculator iterates until the result converges to full floating-point precision. Colebrook-White is the industry-standard formula and is the basis of the Moody diagram.
What does head loss mean?
Head loss (in metres) is the pressure drop expressed as the height of a column of the flowing fluid that would produce the same pressure. It is convenient for pump sizing because pump curves are usually plotted in metres of head. Head loss = pressure drop / (rho x g). For water, 1 metre of head is roughly 9.8 kPa or 0.098 bar.
Does this calculator include minor losses from fittings?
No. The results cover straight-pipe friction losses (major losses) only. Minor losses from bends, valves, reducers, and other fittings are typically added as equivalent lengths of straight pipe or as K x v^2/(2g), where K is a loss coefficient for each fitting type. A practical rule of thumb is to add 10-20 percent to the straight-pipe loss to cover minor losses in a typical system.