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.
- 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.
- 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.
- 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.
- 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
| Symbol | Meaning | SI Unit |
|---|---|---|
| ρ | Fluid density | kg/m³ |
| V | Mean flow velocity | m/s |
| D | Pipe internal diameter | m |
| μ | Dynamic viscosity | Pa·s |
| ε | Absolute pipe roughness | m |
| f | Darcy-Weisbach friction factor | dimensionless |
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.