Skip to main content
engineering

Moody Chart Calculator

Calculate Darcy friction factor from Reynolds number and relative roughness using Colebrook-White and Swamee-Jain

Reviewed by Christopher FloiedUpdated

This free online moody chart calculator provides instant results with no signup required. All calculations run directly in your browser — your data is never sent to a server. Supports both metric (SI) and imperial units with built-in unit selection dropdowns on every input field, so you can work in whatever units your problem provides. Designed for engineering students and professionals working through coursework, design projects, or quick reference calculations.

Moody Chart Calculator

Darcy friction factor from Reynolds number and relative roughness ε/D

Re < 2300: Laminar · 2300–4000: Transition · > 4000: Turbulent

mm

Friction Factor f (Darcy)

ε/D = 4.5000e-4

Colebrook-White (iterative, 9 iters)0.020120
Swamee-Jain (explicit, error: 0.375%)0.020196
Haaland (explicit, error: 1.316%)0.019855

Colebrook-White Equation

1/√f = −2·log₁₀(ε/(3.7D) + 2.51/(Re·√f))

= −2·log₁₀(1.2162e-4 + 2.51/(1.000e+5·√f))

Swamee-Jain Approximation

f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]²

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Moody Chart Calculator. Most fields include unit selectors so you can work in your preferred unit system — metric or imperial, whichever matches your problem.

2

Review your inputs

Double-check that all values are correct and that you have selected the right units for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Moody Chart Calculator instantly computes the output and displays results with units clearly labeled. All calculations happen in your browser — no loading time and no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

Formula Reference

Moody Chart Calculator Formula

See calculator inputs for the governing equation

Variables: All variables and their units are labeled in the calculator interface above. Input fields accept values in multiple unit systems — select your preferred unit from the dropdown next to each field.

When to Use This Calculator

  • Use the Moody Chart Calculator when solving homework or exam problems that require quick numerical verification of your hand calculations — instant feedback helps identify arithmetic errors before they propagate.
  • Use it during the early design phase to rapidly iterate on parameters and narrow down feasible configurations before committing time to detailed finite element simulations or full design packages.
  • Use it when reviewing a colleague's calculation or checking a vendor's data sheet for plausibility — a quick sanity check can prevent costly downstream errors.
  • Use it to generate reference data for a technical report or presentation without manual computation, ensuring consistent, reproducible numbers throughout the document.
  • Use it in the field when a quick estimate is needed and a full engineering software package is not available.

About This Calculator

The Moody Chart Calculator is a precision engineering calculation tool designed for students, engineers, and technical professionals. Calculate Darcy friction factor from Reynolds number and relative roughness using Colebrook-White and Swamee-Jain All calculations are performed using established engineering formulas from the relevant scientific literature and standards. Inputs support both metric (SI) and imperial unit systems, with unit conversion handled automatically — simply select your preferred unit from the dropdown next to each field. Results are computed instantly in the browser without sending data to a server, ensuring both speed and privacy. This calculator is intended as a supplementary tool for learning and design exploration; always verify results against authoritative references for safety-critical applications.

The Theory Behind It

The Moody chart is a log-log plot of the Darcy friction factor vs Reynolds number for pipe flow, with curves for various relative roughness values ε/D. Lewis Moody published it in 1944, synthesizing earlier work by Colebrook, Nikuradse, and others. The chart has three regions: laminar flow (straight line f = 64/Re at Re < 2,300), transition region (2,300 < Re < 4,000, unstable, usually avoided in design), and turbulent region (Re > 4,000, divided into 'smooth pipe' (Blasius/Nikuradse), 'transitional' (Colebrook), and 'fully rough' (independent of Re)). The underlying equation is Colebrook-White: 1/√f = −2·log₁₀(ε/(3.7D) + 2.51/(Re·√f)), an implicit equation requiring iteration. Swamee-Jain provides an explicit approximation within 1% of Colebrook: f = 0.25/[log₁₀(ε/(3.7D) + 5.74/Re^0.9)]². Both give the same result as the Moody chart for engineering purposes. Modern calculator and software use the explicit formulas rather than the chart, but the Moody chart remains a teaching tool and a check on computed values. Understanding the Moody chart's structure (where curves flatten in the fully rough regime, where they bend at transition, where they're straight lines at low Re) develops intuition for how friction factor responds to flow conditions.

Real-World Applications

  • Pipe friction factor lookup: given Re and relative roughness, read f from the chart or compute it with the underlying equation. Feeds directly into Darcy-Weisbach pressure drop calculation.
  • Teaching fluid mechanics: the Moody chart illustrates the three flow regimes (laminar, transitional, turbulent) and the effect of roughness on friction in a single visual image. Better for conceptual understanding than the bare equations.
  • Hand calculations for field work: before ubiquitous laptops and phones, engineers used printed Moody charts in field books for quick friction factor estimates at job sites.
  • Sanity checking computer results: before trusting a complex hydraulic simulation, verify the software's friction factor against a chart read to catch parameter entry errors or software bugs.
  • System curve generation: computing friction factor across a range of flows (Re) lets you build a system curve (pressure vs flow) to match with pump performance curves.

Frequently Asked Questions

What does the Moody chart show?

The Moody chart plots the Darcy friction factor f (y-axis, log scale) vs Reynolds number Re (x-axis, log scale) with curves for various relative roughness ε/D. It covers the full range of practical pipe flow from laminar through turbulent and shows how f depends on both Re and roughness. Modern calculators use the underlying Colebrook-White or Swamee-Jain equations, but the chart is still valuable for teaching and intuition.

What's the equation behind the Moody chart?

Colebrook-White (implicit): 1/√f = −2·log₁₀(ε/(3.7D) + 2.51/(Re·√f)). This equation requires iteration to solve for f. Swamee-Jain (explicit approximation): f = 0.25 / [log₁₀(ε/(3.7D) + 5.74/Re^0.9)]², which gives f directly within 1% of Colebrook for most practical cases. For laminar flow (Re < 2,300), f = 64/Re exactly.

Why are the curves flat at high Re for rough pipes?

At very high Re in rough pipes, the flow is 'fully turbulent rough' — the laminar sublayer near the pipe wall is thin enough that surface roughness protrudes above it, making friction dominated by form drag around the roughness elements rather than viscous shear. In this regime, friction factor depends only on relative roughness, not on Re. The flat curves in the upper-right of the Moody chart show this behavior.

What's the smooth pipe curve?

In the limit of zero roughness (ε/D → 0), the Colebrook-White equation reduces to the Prandtl-Nikuradse smooth pipe equation: 1/√f = 2·log₁₀(Re·√f) − 0.8. This curve appears at the bottom of the Moody chart and represents the minimum friction for a given Re. Real pipes never achieve this because all pipes have some roughness, but highly polished or smooth plastic pipes come close at low Re.

Why avoid the transition region (2,300 < Re < 4,000)?

In the transition region, flow alternates between laminar and turbulent states depending on disturbances, with friction factor varying erratically between the two extremes. Designs that operate in this range have unpredictable pressure drop and may have instability, noise, and vibration. Engineers typically size pipes so flow is either fully laminar (Re < 2,300) or well into turbulent (Re > 4,000) to avoid this unstable regime.

Related Calculators

References & Further Reading