Moody Chart Calculator

Calculate the Darcy friction factor from Reynolds number and pipe roughness using the Moody Chart equations. Supports laminar, transitional, and turbulent flow regimes.

12.3K uses Updated · 2026-05-15 Runs locally · zero upload
AD

How to Use Moody Chart Calculator

The Moody Chart Calculator computes the Darcy-Weisbach friction factor for internal pipe flow without needing to manually read a printed Moody diagram. You can either enter raw fluid properties or provide the Reynolds number and relative roughness directly.

  1. Choose input mode — Select Fluid Properties to enter velocity, diameter, density, and viscosity. The Moody Chart Calculator converts your inputs to SI units and derives Re and ε/D automatically. Select Direct Re & ε/D if you already know these dimensionless parameters.
  2. Select a pipe material preset (Fluid Properties mode only) — Click a preset button to populate the absolute roughness with a standard value for materials such as PVC, commercial steel, cast iron, or concrete. You can also enter a custom roughness value.
  3. Choose units — Each numeric field includes a unit selector. The calculator supports m, mm, ft, in for length; m/s and ft/s for velocity; kg/m³ and lb/ft³ for density; Pa·s, mPa·s, and cP for dynamic viscosity.
  4. Read the results — The Moody Chart Calculator displays the Darcy friction factor (primary result), Reynolds number, relative roughness, flow regime, and the equivalent Fanning friction factor.

Note that this tool outputs the Darcy-Weisbach friction factor, which is the standard used in the Darcy-Weisbach pressure drop equation: ΔP = f · (L/D) · (ρV²/2).

Formula & Theory - Moody Chart Calculator

The Moody Chart Calculator applies different correlations depending on the flow regime determined by the Reynolds number.

Reynolds Number:
  Re = ρ V D / μ

Relative Roughness:
  ε/D = ε / D

Laminar flow (Re < 2300):
  f = 64 / Re

Turbulent flow (Re > 4000) — Swamee-Jain approximation:
  f = 0.25 / [log10(ε/(3.7D) + 5.74/Re^0.9)]²

Turbulent flow — Colebrook-White equation (implicit, solved iteratively):
  1/√f = −2 log10( ε/(3.7D) + 2.51/(Re √f) )

Fanning friction factor:
  f_Fanning = f_Darcy / 4
SymbolMeaningSI Unit
ρFluid densitykg/m³
VMean flow velocitym/s
DPipe internal diameterm
μDynamic viscosityPa·s
εAbsolute pipe roughnessm
fDarcy-Weisbach friction factordimensionless

Assumptions and Limits

This Moody Chart Calculator assumes fully developed, steady, incompressible flow in a circular pipe. The Swamee-Jain approximation is valid for 10⁻⁶ ≤ ε/D ≤ 10⁻² and 5000 ≤ Re ≤ 10⁸. The transitional flow range (2300 ≤ Re ≤ 4000) is inherently unstable; estimates in this range should be treated with caution.

Use Cases for Moody Chart Calculator

The Moody Chart Calculator supports a wide range of fluid mechanics and hydraulic engineering tasks:

  • Pipe pressure drop estimation — Determine f for use in the Darcy-Weisbach equation to estimate head loss or pressure drop in water supply, HVAC, or oil and gas pipelines.
  • Pump selection support — Calculate pipe friction losses to correctly size pumps in industrial and civil engineering systems.
  • Academic coursework — Verify textbook solutions for pipe flow problems and check manually plotted Moody diagram readings.
  • Material comparison — Use the roughness presets to compare friction factors for PVC, commercial steel, cast iron, and concrete pipes at the same flow conditions.
  • Sensitivity analysis — Toggle between smooth and rough pipe conditions to see how surface roughness affects friction factor in the fully turbulent regime.

The Moody Chart Calculator is intended as an educational and preliminary engineering reference. For final design decisions, consult the Darcy-Weisbach methodology in conjunction with local codes and standards, and verify critical results with a licensed engineer.

Frequently asked questions about Moody Chart Calculator

How accurate is the Moody Chart Calculator?

The Moody Chart Calculator uses the Swamee-Jain explicit approximation (±3% error vs. Colebrook-White) for turbulent flow and the exact laminar formula f = 64/Re. The optional Colebrook-White iterative result converges to within 1e-10 tolerance and is considered the standard reference.

What is the difference between Darcy and Fanning friction factors?

The Darcy-Weisbach friction factor (also called the Moody friction factor) is 4 times larger than the Fanning friction factor. This Moody Chart Calculator outputs the Darcy friction factor by default, which is the more common choice in pressure-drop calculations using the Darcy-Weisbach equation.

When is the flow regime transitional?

Flow is transitional when the Reynolds number is between 2300 and 4000. In this zone, flow can switch unpredictably between laminar and turbulent, making friction factor estimates unreliable. For engineering design, this range is often avoided by choosing pipe diameters and velocities that yield Re < 2000 or Re > 10000.

Is my data stored?

No. All calculations happen in your browser; nothing is sent to a server.