Darcy Friction Factor Calculator
Use this tool to estimate friction factor from the Moody diagram relationship, then optionally compute head loss and pressure drop with Darcy–Weisbach.
Laminar: f = 64 / Re
Turbulent: Colebrook equation (iterative), seeded with Swamee–Jain estimate
What Is a Moody Diagram Calculator?
A Moody diagram calculator is a fast way to estimate the Darcy friction factor (f) for internal pipe flow. In classic fluid mechanics, engineers use the Moody chart to connect three key variables: Reynolds number, relative roughness, and friction factor. This page does that relationship numerically so you can skip manual chart reading and get repeatable results.
Once friction factor is known, you can estimate head loss and pressure drop in a pipe using the Darcy–Weisbach equation. That matters in water systems, HVAC loops, chemical process lines, fire suppression design, irrigation, and more.
How the Calculator Works
1) Flow Regime Detection
- Laminar flow (Re < 2300): friction factor is computed directly with f = 64/Re.
- Transitional flow (2300 ≤ Re < 4000): the calculator blends laminar and turbulent predictions for a practical estimate.
- Turbulent flow (Re ≥ 4000): friction factor is solved using the Colebrook equation (iterative).
2) Roughness Input Flexibility
You can either enter relative roughness directly (ε/D) or provide absolute roughness and diameter (both in mm), and the tool computes ε/D automatically.
3) Optional Head Loss and Pressure Drop
If you provide length, velocity, and diameter, the calculator also computes:
- Head loss: hf = f (L/D) (V² / 2g)
- Pressure drop: ΔP = ρ g hf
Input Guide (Quick and Practical)
Reynolds Number (Re)
Reynolds number is dimensionless and compares inertial to viscous forces. In many applications you may already know Re from upstream calculations. If not, it can be derived from density, velocity, diameter, and viscosity.
Relative Roughness (ε/D)
Relative roughness is pipe roughness scaled by diameter. Smooth commercial steel might have a small value, while older or corroded pipes are larger. The friction factor is very sensitive to roughness in fully turbulent flow.
Diameter, Length, and Velocity
These are optional for friction factor but required for head loss and pressure-drop estimates. Keep units consistent with the form labels (mm for diameter, m for length, m/s for velocity).
Example Scenario
Suppose you have a water line with Re = 120,000 and ε/D = 0.0009. Enter those values and click Calculate. You will get the Darcy friction factor and flow regime. If you also set L = 250 m, D = 100 mm, and V = 2.0 m/s, the calculator returns estimated head loss and pressure drop for that segment.
Common Mistakes to Avoid
- Confusing Darcy friction factor with Fanning friction factor (Fanning is Darcy/4).
- Mixing units for roughness and diameter when computing ε/D manually.
- Using turbulent equations in clearly laminar conditions.
- Ignoring fittings, valves, entrances, and exits (minor losses are not included here).
Engineering Notes and Limitations
This calculator is designed for quick design checks and educational use. Real systems can include temperature-dependent viscosity, non-Newtonian fluids, transient effects, and complex network interactions. For critical projects, pair these estimates with detailed hydraulic modeling and applicable design standards.
Why Use a Calculator Instead of the Chart?
The Moody chart is excellent for intuition, but numeric tools improve speed and consistency. A calculator avoids reading errors, supports instant what-if analysis, and fits easily into iterative sizing workflows. You can still use the chart for sanity checks while relying on computed values for documentation.