Skip to content
HidraSoftwareHydraulic calculatorsEspañol
Preferences
Decimal separator
Units by quantity

Units for the inputs, the results and the report checks to start with. You can still change a single input or result afterwards.

All in:
Regional terms

Applied to the calculator and to the PDF report.

Saved in this browser only.

Head loss calculator for pipes

Water pipes under pressure. Calculate the head loss in a pipe, the diameter needed for a maximum head loss, or the discharge it conveys.

Inputs

What do you want to calculate?
Friction formula
Unit system

Discharge flowing through the pipe.

Actual internal diameter of the pipe, not the nominal size.

Length of pipe between the two ends.

Depends on the material and condition of the pipe.

If you give it, the PDF report checks that the total head loss does not exceed it.

Minor losses

Each fitting loses K·V²/2g. Choose the type or type your own K.

    No fittings: minor losses are not considered.

    Results

    Fill in the inputs and press “Calculate”.

    Steady flow, water at 20 °C. You can change the unit of each result.

    Calculation report (PDF)

    Calculation report with input data, assumptions, development of the formulas, checks and conclusions, ready to attach to your project. It uses the inputs of the calculator above. All fields are optional.

    Project details

    Shown in the document header. If left empty, the author is used.

    Source of the inputs

    Where each input comes from: demand study, drawing, manufacturer's catalogue, Saldarriaga's table… If left empty, the document states “Input by the Author”.

    Check criteria

    Usual values for water pipes under pressure. Adjust them to your project or to the applicable standards; empty = default value. The check is not made and the report states that it is not applied (Author's criterion).

    See a sample report →

    Head loss is the energy the water loses as it flows through the pipe: by friction with the wall along the reach, and at each fitting (elbows, valves, tees…). It is expressed as a head of water.

    How it works

    How to use the calculator

    1. Choose what you want to calculate: the head loss, the diameter needed for a maximum head loss, or the discharge the pipe conveys.
    2. Choose the friction formula and the material: the calculator proposes its C or its ε, which you can change.
    3. Enter the inputs in the unit you prefer: each field has its own selector. You can type decimals with a point or a comma.
    4. Add the fittings of the reach or a percentage for minor losses, and press “Calculate”.

    Diameter and discharge

    In “Diameter” mode, the calculator looks for the internal diameter at which the total head loss — friction plus minor losses — equals the maximum head loss. It is a theoretical diameter: choose the commercial pipe with an equal or larger internal diameter and enter it as the adopted diameter to obtain the actual head loss.

    In “Discharge” mode, it looks for the discharge at which the total head loss equals the maximum head loss: this is the capacity of the pipe for that head loss.

    Assumptions and limits

    • Water flowing full under pressure, in steady flow.
    • Water at 20 °C: kinematic viscosity ν = 1.0·10⁻⁶ m²/s.
    • With Darcy-Weisbach, turbulent flow (Re ≥ 4000): the Swamee-Jain equation is not valid in laminar or transitional flow.
    • Hazen-Williams is an empirical formula for water; it should not be used with other fluids.
    • Acceleration due to gravity g = 9.81 m/s².

    Formulas and method

    Hazen-Williams

    hf = 10.67 · L · Q1.852 / (C1.852 · D4.87)

    Empirical formula for water at ordinary temperatures. In SI units: Q in m³/s; D and L in m; h_f in m.

    Darcy-Weisbach and Swamee-Jain

    hf = f · (L/D) · V2/(2g)

    f = 0.25 / [log10(ε/(3.7·D) + 5.74/Re0.9)]2, with Re = V·D/ν

    The friction factor f is obtained from the explicit Swamee-Jain equation, valid in turbulent flow.

    Minor losses

    hm = ΣK · V2/(2g)

    Each fitting adds a loss proportional to the velocity head. Alternatively, minor losses can be estimated as a percentage of the friction loss.

    Coefficients by material

    Typical values for pipes that are new or in good condition. The actual value depends on the condition and age of the pipe and on the water quality.

    MaterialC (Hazen-Williams)ε (mm)
    PVC / HDPE1500.0015
    Copper1400.0015
    Commercial steel1400.045
    Cement-lined ductile iron1400.1
    Concrete1300.3
    Galvanized steel1200.15
    Cast iron1300.26

    K coefficients of fittings

    Typical values from Crane (TP-410). They depend on the manufacturer, the diameter and the type of joint.

    FittingK
    Standard 90° elbow0.9
    Long-radius 90° elbow0.6
    45° elbow0.4
    Tee, flow through run0.6
    Tee, flow through branch1.8
    Gate valve, fully open0.2
    Butterfly valve, fully open0.3
    Globe valve, fully open10
    Check valve2.5
    Square-edged entrance0.5
    Exit to reservoir1

    Frequently asked questions

    Which formula should I use, Hazen-Williams or Darcy-Weisbach?

    Hazen-Williams is common in drinking-water networks and simple to use, but it is empirical and only for water. Darcy-Weisbach is general and more accurate over a wide range of diameters and velocities, at the cost of needing the absolute roughness. If the standards of your project require one of them, use that one.

    Why must I give the internal diameter?

    The head loss depends on the diameter the water actually flows through. The nominal size of a commercial pipe does not match its internal diameter, which depends on the wall thickness and the pressure class.

    What do I do with the theoretical diameter?

    Choose the commercial pipe with an equal or larger internal diameter and enter it as the adopted diameter: the calculator gives the actual head loss and velocity with that pipe.

    Which units does the calculator work in?

    You can type each input in the unit you prefer (L/s, gal/min, mm, inches, metres or feet of water…) or change them all at once with the unit system selector. The calculation is always made in SI units.

    References