Works on this device
Pipe Flow Calculator
Find how fast a fluid moves in a pipe, how much pressure it loses on the way, how much flow a pressure pushes through, and what size of pipe a flow needs. Every result shows the formula and the working with your numbers.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out. Pressure drop in a pipe with fittings is the full calculation; the other choices answer one question each.
- Enter the flow, the inside diameter and the length of the pipe, and pick a unit for each one.
- Enter the density and the viscosity of the fluid and the roughness of the pipe wall. The menu above the fields fills in rounded example values for water, air and common pipe materials. Check them against your own data.
- Add a row for each kind of fitting with its loss coefficient K and how many there are. Leave the table empty for a straight pipe.
- Choose Calculate. You can change the unit of each result, read the working, and download the result as a CSV file.
The formulas
- Velocity: v = Q ÷ A, with A = π × D² ÷ 4 the area of the bore. Pipe size for a velocity: D = √(4 × Q ÷ (π × v)).
- Reynolds number: Re = v × D ÷ ν, with ν the kinematic viscosity (ν = μ ÷ ρ).
- Friction factor: laminar flow (Re below 2,300): f = 64 ÷ Re. From Re = 2,300 up: the Colebrook equation 1 ÷ √f = −2 × log10(ε ÷ (3.7 × D) + 2.51 ÷ (Re × √f)), solved to full precision by repeated steps. Between 2,300 and 4,000 the flow is changing and the result is flagged.
- Darcy-Weisbach: h_f = f × (L ÷ D) × v² ÷ (2g), and the pressure drop Δp = ρ × g × h_f.
- Fittings: h_m = ΣK × v² ÷ (2g). Their equivalent length of straight pipe is ΣK × D ÷ f.
- Rise: a pipe that goes up by a height z needs ρ × g × z more pressure; a pipe that goes down gains it.
- Hazen-Williams (water only): v = k × C × R^0.63 × S^0.54, with R = D ÷ 4, S = h_f ÷ L and k = 1.318 in feet and seconds, which is 0.84918 in SI units (often rounded to 0.849).
Worked example
Water at about 20 °C (998.2 kg/m³, 1.002 mPa·s) flows at 10 L/s through 100 m of new steel pipe with a 100 mm bore and a roughness of 0.046 mm, with four threaded elbows (K = 0.9 each) and an open gate valve (K = 0.2).
The bore area is 0.007854 m², so the velocity is 1.273 m/s. The Reynolds number is 1.273 × 0.1 ÷ 0.000001004 = 126,841, so the flow is turbulent. The Colebrook equation gives f = 0.01956.
The friction loss is 0.01956 × (100 ÷ 0.1) × 1.273² ÷ (2 × 9.80665) = 1.616 m of water, or 15.82 kPa. The fittings add 3.8 × 0.08266 m = 0.3141 m, or 3.07 kPa. The total pressure drop is 18.90 kPa.
With Hazen-Williams and C = 130 for the same pipe, the friction loss is 1.906 m (18.66 kPa). The two methods often differ by 10 % or more, because C and the roughness are both estimates.
Example values in the menus
The menu above the fields fills in rounded example values. Real values depend on the temperature, the make and the age of the pipe. Use the figures from your own data sheet, code or supplier where you have them.
| Example | Value |
|---|---|
| Water at 10 °C | 999.7 kg/m³, 1.306 mPa·s |
| Water at 20 °C | 998.2 kg/m³, 1.002 mPa·s |
| Water at 40 °C | 992.2 kg/m³, 0.6527 mPa·s |
| Water at 60 °C | 983.2 kg/m³, 0.4665 mPa·s |
| Water at 80 °C | 971.8 kg/m³, 0.3544 mPa·s |
| Dry air at 20 °C and 101.325 kPa | 1.204 kg/m³, 0.01813 mPa·s |
| Roughness: commercial steel, new | about 0.046 mm |
| Roughness: galvanized iron | about 0.15 mm |
| Roughness: cast iron, new | about 0.26 mm |
| Roughness: drawn tubing, plastic | about 0.0015 mm |
| Hazen-Williams C: plastic, copper | about 150 and 140 |
| Hazen-Williams C: new iron, new steel, old iron | about 130, 120 and 100 |
Limits you should know
- The pipe is round and runs full, and the fluid has one density and one viscosity. For a pipe that runs part full under gravity (a drain or a sewer), use the Manning Equation Calculator.
- For a gas, the results hold only while the pressure drop is small next to the absolute pressure (under about a tenth of it). Choked flow and long gas lines need methods for compressible flow, which this page does not have.
- Hazen-Williams is for water at ordinary temperatures. It does not see the viscosity, so use Darcy-Weisbach for oil, hot water, air and steam.
- K values of fittings depend on their type, make and size. The starting rows are rounded textbook examples.
- Pipe networks with branches or loops are not solved here. Each branch can be worked out on its own.
- The tool gives ideal arithmetic for the numbers you type. It is not a design approval: codes, the maker's data and safety factors decide the size of a real system. This is not professional advice.
Related pages for one part of the job
- The friction factor alone, the methods side by side and a Moody-style table: Darcy Weisbach Calculator.
- Flow from a volume and a time, mass and volume flow, and flow units: Flow Rate Calculator.
- The head a pump must give a whole system: Pump Head Calculator.
- Flow through an orifice or a nozzle: Orifice Flow Calculator.
- Pressure in a liquid at rest: Fluid Pressure Calculator.