Hydraulic Engineering Tools

Darcy–Weisbach Equation Calculator

Compute pipe flow parameters using the Darcy–Weisbach equation. The friction factor f can be manually entered or automatically solved from the Colebrook–White equation using pipe roughness (ε) and flow conditions (Reynolds number). Supports SI and US customary units.

Darcy-Weisbach Calculator | Pipe Flow & Pressure Loss Tool
Unit System:
Light Dark

Darcy-Weisbach Equation Calculator

Professional Pipe Friction & Pressure Loss Calculator — SI Units

📊 Calculation Results

    📏 Pipe Section Properties

    📘 User Manual

    Purpose

    Compute unknown pipe flow parameters using the Darcy-Weisbach equation. This calculator supports SI (metric) and US customary units. It can determine head loss, flow rate, pipe diameter, Darcy friction factor (f), velocity, Reynolds number, and pressure drop.

    How to Use

    1. Choose Unit System: Select SI (Metric) for metres, m³/s or US Customary for feet, gpm.
    2. Select Calculation Mode: Choose which variable to solve for — Head Loss (hf), Flow Rate (Q), Pipe Diameter (d), Friction Factor (f), or Velocity (v).
    3. Enter Known Values: Fill in the enabled input fields. The unknown field is automatically disabled.
    4. Smart Friction Factor (optional): Check Auto‑estimate f to compute f directly from pipe roughness (fully rough turbulent flow). Then either type the roughness value or choose a pipe material to auto‑fill it.
    5. Reynolds Number (optional): Check Estimate Reynolds Number and enter kinematic viscosity (or pick a fluid preset) to see the flow regime (laminar, transitional, or turbulent).
    6. Pressure Drop (optional): Check Calculate Pressure Drop and enter fluid density to obtain ΔP and pressure gradient.
    7. Press Calculate (or use Ctrl + Enter).
    8. Review Results: Inspect computed values, status badge, pipe section properties, and engineering remarks.

    Tips

    • Use consistent units within the selected unit system.
    • Estimate the friction factor from published tables (see Friction Factor Tables section) or use the auto‑estimate feature for fully rough pipes.
    • Check velocity against recommended ranges for the pipe material and application.
    • For precise f values at any Reynolds number, use the Colebrook equation externally.

    📐 Darcy Friction Factor (f) – Typical Values

    The Darcy friction factor depends on pipe roughness (ε) and Reynolds number. For fully turbulent flow, it can be approximated using the Colebrook equation. The following table lists typical absolute roughness values for common materials.

    Pipe Material Roughness (ε)

    Pipe MaterialRoughness ε (mm)Roughness ε (ft)
    Drawn tubing (glass, plastic, PVC, HDPE)0.00150.000005
    Copper / Brass0.00150.000005
    Commercial steel (new, welded)0.0450.00015
    Galvanized iron0.150.0005
    Cast iron (new)0.260.00085
    Cast iron (aged, 10+ years)0.80.0025
    Ductile Iron (cement-lined)0.120.0004
    Asbestos Cement0.030.0001
    Concrete (smooth)0.30.001
    Concrete (rough)1.50.005
    Riveted steel3.00.01
    Steel (corroded)2.00.0065
    Vitrified Clay0.30.001
    Wood stave0.50.0018
    Corrugated Metal450.15

    Note: The Darcy friction factor f (also called Moody friction factor) is typically in the range 0.008–0.10 for water systems. For new smooth pipes, f ≈ 0.01–0.02. Use the Colebrook equation for precise calculations.

    🔬 What Is the Darcy-Weisbach Equation?

    The Darcy-Weisbach equation is a fundamental fluid mechanics formula used to calculate head loss due to friction in a pipe. It is valid for any fluid, any pipe material, and any flow regime (laminar or turbulent) provided the correct friction factor is used.

    hf = f · (L / d) · (v2 / 2g)

    Expressed in terms of flow rate Q:
    hf = (8 f L Q2) / (g π2 d5)

    Pressure drop is calculated as ΔP = ρ · g · hf (with proper unit conversions).

    Parameters

    SymbolParameterSI UnitsUS UnitsDescription
    hfHead LossmftFriction energy loss over pipe length.
    fDarcy Friction FactorDimensionless resistance coefficient.
    LPipe LengthmftTotal pipe length.
    dPipe DiameterminInternal pipe diameter.
    vVelocitym/sft/sAverage flow velocity = Q / A.
    QFlow Ratem³/sgpmVolumetric flow through the pipe.
    gGravitational Acceleration9.81 m/s²32.174 ft/s²Standard gravity (constant).
    ρFluid Densitykg/m³lb/ft³Used only for pressure drop.

    🏗 Applications of the Darcy-Weisbach Equation

    The Darcy-Weisbach equation is the most universally accepted method for pipe friction loss. Typical applications include:

    🚰 Water Supply Systems

    Design of municipal water distribution networks with precise head loss estimates.

    🏭 Process Piping

    Sizing pipes for chemical plants, refineries, and power stations.

    🌾 Irrigation Networks

    Calculating pressure requirements for drip and sprinkler systems.

    🔥 Fire Protection

    Hydraulic calculations for sprinkler systems per NFPA 13.

    💧 Cooling & Chilled Water

    Design of HVAC hydronic systems.

    ⛽ Oil & Gas Pipelines

    Analysis of crude oil and natural gas transmission lines (with appropriate fluid properties).

    🌊 Pipe Velocity Guidelines

    Recommended flow velocities for water in pipes:

    ApplicationRecommended Velocity (m/s)Recommended Velocity (ft/s)
    Water mains (normal)0.6 – 2.52 – 8
    Water mains (peak)Up to 3.5Up to 12
    Fire sprinkler systems1.5 – 3.05 – 10
    Pump suction lines0.6 – 1.22 – 4
    Pump discharge lines1.5 – 3.05 – 10
    Gravity sewers0.6 – 2.52 – 8
    Maximum to avoid surge< 5.0< 16

    Excessive velocity causes water hammer, erosion, and noise. Too low velocity may lead to sedimentation and water quality issues.

    ❓ Frequently Asked Questions (FAQ)

    Click on any question to reveal the answer.

    📖 About the Darcy-Weisbach Equation

    ?What is the difference between Darcy-Weisbach and Hazen-Williams?
    The Darcy-Weisbach equation is more universal and theoretically based, using a friction factor (f) that depends on pipe roughness and Reynolds number. Hazen-Williams is an empirical formula specifically for water. Darcy-Weisbach can be used for any fluid.
    ?How do I determine the friction factor f?
    Use the Moody chart or the Colebrook equation. For laminar flow (Re < 2000), f = 64/Re. For turbulent flow, f depends on relative roughness (ε/d) and Re. This calculator can auto‑estimate f for fully rough turbulent pipes using the roughness input.
    ?What is the valid range for the Darcy-Weisbach equation?
    It is valid for all Newtonian fluids in full-flow pipes, across all flow regimes (laminar, transitional, turbulent), provided the correct friction factor is used.

    🔢 Using This Calculator

    ?What friction factor should I use for new steel pipe?
    For new commercial steel pipe with moderate diameters and flow, a typical fully turbulent f is around 0.015–0.02. Use the auto‑estimate feature with ε = 0.045 mm for a quick approximation.
    ?Can I calculate pipe diameter from flow and pressure?
    Yes. Select "Pipe Diameter (d)" from the calculation mode, enter the flow rate, pipe length, friction factor (or use auto‑estimate), and allowable head loss. The calculator will determine the required diameter.
    ?Does this calculator work for gases?
    The Darcy-Weisbach equation is valid for gases as well, but the friction factor must be determined for the gas flow conditions. The calculator does not account for compressibility; it is intended for incompressible (liquid) flow with constant density.

    🛠️ Features

    ?Does this tool work offline?
    Yes. Once loaded, the entire application runs in your browser without an internet connection.
    ?Can I export results?
    Absolutely. Use the Copy, Print, or CSV buttons to save your results.
    ?Is this calculator free?
    Yes, completely free with no registration required.