Pipe Flow Rate & Pressure Drop Calculator (Darcy–Weisbach)

Calculate flow velocity, Reynolds number, friction factor and pressure drop for water, oil or air in a pipe, from flow rate or velocity.

Updated · Free · Runs in your browser

Units
I know the
gpm
in
ft
Pressure drop —
Flow rate —
Velocity —
Head loss —
Pressure drop per length —
Reynolds number —
Darcy friction factor —
    Was this calculator helpful?

    The formula

    Flow Q = velocity × area, where area = πD²/4
    Reynolds number Re = ρVD ÷ μ (laminar below 2,300, turbulent above 4,000)
    Friction factor: f = 64/Re (laminar); f = 0.25 ÷ [log₁₀(ε/3.7D + 5.74/Re^0.9)]² (Swamee–Jain)
    Darcy–Weisbach: ΔP = f × (L/D) × ρV²/2;  head loss h = ΔP ÷ ρg

    Worked example

    1. 20 US gpm of 20 °C water through 100 ft of 1.25 in (31.75 mm) PVC:
    2. Q = 0.00126 m³/s; area = 0.000792 m², so V = 1.59 m/s (5.23 ft/s).
    3. Re = 998 × 1.59 × 0.03175 ÷ 0.001 = 50,400 (turbulent); f = 0.0209.
    4. ΔP = 0.0209 × (30.48 ÷ 0.03175) × 998 × 1.59² ÷ 2 = 25.5 kPa = 3.69 psi, or 8.5 ft of head.

    Flow rate, velocity and pipe size

    The volume of fluid passing through a pipe each second equals the average velocity times the pipe's cross-sectional area. For a given flow, halving the diameter quarters the area and so quadruples the velocity. Designers usually limit water velocity to about 1.5–2.5 m/s (5–8 ft/s) in building services: faster flow causes noise, erosion, water hammer and high pressure losses, while very slow flow lets sediment settle. Enter either the flow rate or the velocity and the calculator gives the other, using the pipe's inside diameter.

    Reynolds number and flow regime

    The Reynolds number compares inertial forces to viscous forces in a fluid. Below about 2,300, flow is laminar: smooth, orderly layers sliding past each other. Above about 4,000 it's turbulent, with chaotic eddies that mix the fluid and greatly increase friction. Most water flow in plumbing, irrigation and industrial piping is turbulent, while thick oils and very slow flows can be laminar. Between the two is a transitional zone, where friction is hard to predict.

    The Darcy–Weisbach equation

    Darcy–Weisbach is the most widely applicable equation for pressure loss in pipes. It works for any fluid, temperature and flow regime, unlike the Hazen–Williams formula, which is only valid for water at ordinary temperatures. Pressure loss is proportional to the pipe length, the friction factor and the square of the velocity, and inversely proportional to the diameter. So doubling the flow in the same pipe roughly quadruples the pressure drop. Our pipe friction loss calculator uses Hazen–Williams for plumbing and pump head.

    The friction factor and pipe roughness

    In turbulent flow, the friction factor depends on both the Reynolds number and the pipe's relative roughness, the height of surface irregularities compared with the diameter. The Colebrook equation is the accepted standard but has to be solved iteratively, so the calculator uses the Swamee–Jain approximation, which is within about 1% of it. Plastic and copper are very smooth (around 0.0015 mm), commercial steel about 0.045 mm, and old cast iron or concrete much rougher, which increases losses, particularly in small pipes.

    Temperature and fluid type

    Viscosity changes strongly with temperature. Water at 60 °C has less than half the viscosity of water at 20 °C, giving a higher Reynolds number and slightly lower friction. Oils are tens to hundreds of times more viscous than water, so they often flow in the laminar regime. Air is much less dense but its pressure drops can still be significant in ducts; for HVAC ductwork, use our duct size calculator. The calculator's fluid options cover the most common cases.

    Units and conversions

    One US gallon per minute is 3.785 L/min, or 0.227 m³/h; one psi is 6.895 kPa and about 2.31 ft of water head. A metre of water head is 9.81 kPa. The calculator converts automatically between the US and metric results so you can compare them with pump curves and manufacturer data in either system.

    Fittings, valves and total system loss

    Elbows, tees, valves and meters add losses on top of straight-pipe friction. Engineers handle these with equivalent lengths or K-factors: for example, a standard 90° elbow adds roughly 30 pipe diameters of equivalent length. Add the equivalent lengths of fittings to the pipe length for a better estimate. For pump selection, add the static lift (height difference) and any required outlet pressure to the friction head. Our pool volume calculator and sump pump calculator cover common pumping jobs.

    Frequently asked questions

    How do I calculate flow rate in a pipe?
    Multiply the flow velocity by the pipe's internal cross-sectional area, πD²/4. A 50 mm pipe with water at 2 m/s carries 0.00393 m³/s, or 236 L/min.
    What is a good velocity for water in a pipe?
    Typically 1–2.5 m/s (3–8 ft/s) for supply lines. Pump suction lines are often kept below about 1.5 m/s (5 ft/s), and drains are designed for self-cleaning velocities of at least 0.6 m/s (2 ft/s).
    What is the Darcy friction factor?
    A dimensionless number describing pipe friction in the Darcy–Weisbach equation. For turbulent water flow in typical pipes it's usually between 0.015 and 0.04.
    What is the difference between Darcy–Weisbach and Hazen–Williams?
    Darcy–Weisbach is physically based and works for any fluid and temperature. Hazen–Williams is an empirical formula for water at normal temperatures that's simpler to use but less accurate outside that range.
    Does pipe length affect flow rate?
    For a fixed pressure, yes: longer pipes have more friction, so less flow gets through. For a fixed flow rate, pressure drop is proportional to length.

    ↑↓ to navigate · Enter to open