The Colebrook equation (Colebrook–White equation) gives the Darcy friction factor f for turbulent flow in a full pipe: 1/√f = −2 log₁₀(ε/(3.7D) + 2.51/(Re√f)), where ε is the pipe roughness, D the inside diameter and Re the Reynolds number. Because f appears on both sides, it is solved by iteration or approximated with an explicit formula such as Swamee–Jain. It applies above Re ≈ 4,000; for laminar flow (Re below 2,300) use f = 64/Re. The friction factor then goes into the Darcy–Weisbach equation to find head loss.
The Colebrook–White Equation Explained
| Symbol | Meaning | Units |
|---|---|---|
| f | Darcy friction factor (Darcy–Weisbach, Moody) | Dimensionless |
| ε | Absolute roughness of the pipe wall | Same as D (in, ft, mm, m) |
| D | Inside (hydraulic) diameter | Same as ε |
| ε/D | Relative roughness | Dimensionless |
| Re | Reynolds number = V D / ν | Dimensionless |
Wikipedia describes the Colebrook–White equation as an empirical equation that “expresses the Darcy friction factor f as a function of Reynolds number Re and pipe relative roughness ε/D”, fitting experimental data for turbulent flow in smooth and rough pipes. The first term inside the logarithm, ε/3.7D, dominates in rough pipes at high Reynolds numbers; the second, 2.51/(Re√f), dominates in smooth pipes. Colebrook’s contribution was a single curve that bridges the two.
The equation comes from C. F. Colebrook’s 1939 paper in the Journal of the Institution of Civil Engineers. Wikipedia notes that the 1937 Colebrook and White paper on roughened pipes is often wrongly cited as the source, partly because Colebrook credited White for the mathematical method. In 1944 Lewis Moody plotted it as the Moody chart.
Colebrook Equation Solver
How to Solve the Colebrook Equation by Hand
Engineering ToolBox notes that because the friction coefficient “is involved on both sides of the equation”, it must be solved by iteration. Fixed-point iteration works well for turbulent flow:
- Calculate Re and ε/D. Re = V D / ν, using consistent units.
- Guess 1/√f. A value of 8 (f ≈ 0.016) is a reasonable start, or use Swamee–Jain.
- Substitute into the right-hand side: 1/√fnew = −2 log₁₀(ε/3.7D + 2.51 × (1/√fold)/Re).
- Repeat until 1/√f changes by less than about 0.0001.
- Square and invert: f = 1/(1/√f)².
Worked example 1: air duct
Engineering ToolBox’s Colebrook calculator defaults to air at 6 m/s in a 315 mm duct with kinematic viscosity 15 × 10⁻⁶ m²/s, so Re = 6 × 0.315 ÷ 15 × 10⁻⁶ = 126,000. For galvanized steel (ε = 0.15 mm), ε/D = 0.15 ÷ 315 = 0.00048. Starting from 1/√f = 8, the iterations above settle at f = 0.0196.
Worked example 2: water in 4-inch steel pipe
Take 4 in Schedule 40 commercial steel (inside diameter 4.026 in, 102.3 mm, which is the 4.500 in outside diameter less two 0.237 in walls from Wikipedia’s nominal pipe size table; ε = 0.045 mm, about 0.0018 in) at Re = 200,000. ε/D = 0.000440, and Colebrook gives f = 0.0185. At 2 m/s over 100 m, Darcy–Weisbach gives a head loss of 0.0185 × (100 ÷ 0.1023) × 2² ÷ (2 × 9.807) = 3.69 m of water, about 12.1 ft or 5.2 psi.
Newton’s method and the derivative
Write x = 1/√f and F(x) = x + 2 log₁₀(ε/3.7D + 2.51x/Re). The root F(x) = 0 is the Colebrook solution. Its derivative is F′(x) = 1 + (2/ln 10) × (2.51/Re) ÷ (ε/3.7D + 2.51x/Re), and Newton’s update xn+1 = xn − F/F′ typically converges in two or three steps from a Swamee–Jain start. That is what the solver above does. In a spreadsheet, put the fixed-point formula in a cell that refers to the cell above, copy it down five rows, or use Goal Seek on F(x) = 0.
Explicit Approximations: Swamee–Jain and Haaland
Wikipedia’s Moody chart article notes that solving Colebrook by iteration is often impractical, so explicit approximations are widely used:
| Formula | Equation | Max error vs Colebrook (our test grid) |
|---|---|---|
| Swamee–Jain | f = 0.25 / [log₁₀(ε/3.7D + 5.74/Re⁰·⁹)]² | 2.8% |
| Haaland (1983) | 1/√f = −1.8 log₁₀[(ε/3.7D)¹·¹¹ + 6.9/Re] | 1.3% |
| Laminar (Poiseuille) | f = 64/Re | Exact for laminar flow |
Wikipedia says the Haaland discrepancy from experimental data “is well within the accuracy of the data”, and that Moody himself put the chart’s accuracy at about ±5% for smooth pipes and ±10% for rough pipes. In practice, the uncertainty in pipe roughness is far bigger than the difference between Colebrook and a good approximation.
Pipe Roughness Values
| Material | ε (mm) | ε (in) |
|---|---|---|
| Drawn copper, brass, aluminum (new) | 0.001 – 0.002 | 0.00004 – 0.00008 |
| PVC, PE and other smooth plastic pipe | 0.0015 – 0.007 | 0.00006 – 0.00028 |
| Stainless steel, turned | 0.0004 – 0.006 | 0.00002 – 0.00024 |
| Commercial steel or wrought iron | 0.045 – 0.09 | 0.00177 – 0.00354 |
| Galvanized steel | 0.15 | 0.00591 |
| New cast iron | 0.25 – 0.8 | 0.00984 – 0.0315 |
| Worn cast iron | 0.8 – 1.5 | 0.0315 – 0.05906 |
| Rusted steel | 0.15 – 4 | 0.00591 – 0.15748 |
| Ordinary concrete | 0.3 – 1 | 0.01181 – 0.03937 |
From Friction Factor to Pressure Drop
The Darcy–Weisbach equation (Wikipedia) relates head loss to the friction factor, pipe length L, diameter D and average velocity V. Convert head loss in feet of water to psi with 0.433 psi per foot, or see our psi to feet of head guide for other liquids. The total head the pump must supply, and therefore its brake horsepower, depends directly on these friction losses.
Common Mistakes
- Using Colebrook for laminar flow. Below Re 2,300 use f = 64/Re.
- Mixing Darcy and Fanning. Fanning f is one quarter of Darcy f; Darcy–Weisbach needs the Darcy value.
- Inconsistent units in ε/D. Both must be in the same unit.
- Using nominal instead of inside diameter. A 4 in Schedule 40 pipe has a 4.026 in bore.
- Natural log instead of log₁₀. Colebrook uses base-10 logarithms.
Frequently Asked Questions
What is the Colebrook equation?
An empirical equation for the Darcy friction factor f in turbulent pipe flow: 1/√f = −2 log₁₀(ε/(3.7D) + 2.51/(Re√f)). It covers smooth pipes, rough pipes and the transition between them, and is the basis of the Moody chart.
Is the Colebrook equation the same as the Colebrook–White equation?
Yes. C. F. Colebrook published it in 1939 and credited C. M. White, his co-author on the 1937 rough-pipe experiments, for the mathematical approach, so it is called both names.
Why does the Colebrook equation need iteration?
Because f appears on both sides of the equation and cannot be isolated algebraically. You guess f, put it into the right-hand side, calculate a new f, and repeat until it stops changing.
How do you solve the Colebrook equation by hand?
Start with 1/√f = 8 (or use Swamee–Jain), substitute into the right-hand side to get a new 1/√f, and repeat. For turbulent flow it usually agrees to four or five significant figures within three to five passes.
What is the derivative of the Colebrook equation?
With x = 1/√f and F(x) = x + 2 log₁₀(ε/3.7D + 2.51x/Re), the derivative is F′(x) = 1 + (2/ln 10)·(2.51/Re)/(ε/3.7D + 2.51x/Re). Newton’s method then uses xₙ₊₁ = xₙ − F/F′.
When is the Colebrook equation valid?
For turbulent flow in full pipes, Reynolds number above about 4,000. Below 2,300 flow is laminar and f = 64/Re; between 2,300 and 4,000 the friction factor is uncertain.
Is the Colebrook friction factor Darcy or Fanning?
Darcy (also called Darcy–Weisbach or Moody). The Fanning friction factor is one quarter of it.
What is a good explicit approximation?
Swamee–Jain, f = 0.25/[log₁₀(ε/3.7D + 5.74/Re⁰·⁹)]², and Haaland are the most used. Across our test grid they stayed within about 2.8% and 1.3% of Colebrook.
What roughness should I use for steel pipe?
Engineering ToolBox lists 0.045–0.09 mm (about 0.0018–0.0035 in) for commercial steel or wrought iron, and 0.15 mm (0.006 in) for galvanized steel. Old, corroded pipe can be much rougher.
How is the friction factor used?
In the Darcy–Weisbach equation: head loss h = f × (L/D) × V²/(2g). Multiply by the liquid’s weight per unit volume (or use 0.433 psi per foot for water) to get pressure drop.
Sources and Further Reading
- Wikipedia: Darcy friction factor formulae: Colebrook–White, Haaland, Swamee–Jain and flow regimes.
- Wikipedia: Moody chart: history, laminar f = 64/Re and explicit approximations.
- Engineering ToolBox: Colebrook equation: equation, iteration and the duct example.
- Engineering ToolBox: Surface roughness: absolute roughness of pipe materials.
- Wikipedia: Nominal Pipe Size: outside diameters and schedule wall thicknesses.
- Wikipedia: Darcy–Weisbach equation: head loss from the friction factor.
