Colebrook Equation Calculator

Accurately determine the Darcy friction factor (f) for turbulent fluid flow in pipes using the implicit Colebrook-White equation. This calculator considers the Reynolds number, pipe diameter, and absolute roughness to provide precise results.

Calculate Darcy Friction Factor

The internal diameter of the pipe.

The height of the pipe wall imperfections (e.g., for commercial steel: 0.045 mm).

The average velocity of the fluid flow.

The density of the fluid (e.g., water at 20°C: 998 kg/m³).

The fluid's resistance to shear flow (e.g., water at 20°C: 0.001 Pa·s).

Calculation Results

Darcy Friction Factor (f): N/A

The Colebrook equation is an implicit formula used to calculate the Darcy friction factor, which quantifies the resistance to flow in a pipe due to friction. It is crucial for determining pressure drop in pipelines.

Reynolds Number (Re): N/A
Relative Roughness (ε/D): N/A
Flow Regime: N/A

Simplified Moody Diagram (Friction Factor vs. Reynolds Number)

This chart illustrates the relationship between the Darcy friction factor and Reynolds number for different relative roughness values. The red dot represents your calculated point.

What is the Colebrook Equation?

The Colebrook Equation, often referred to as the Colebrook-White equation, is a fundamental empirical formula in fluid dynamics used to calculate the Darcy friction factor (f). This dimensionless factor is critical for determining the pressure drop, and thus the energy losses, for fluid flow through non-circular conduits and pipes. It is particularly applicable to turbulent flow conditions, where the fluid motion is chaotic and characterized by eddies and vortices.

Engineers, hydrologists, and fluid mechanics professionals frequently use the Colebrook equation in the design and analysis of piping systems, water supply networks, oil and gas pipelines, and heating/cooling systems. It provides a more accurate friction factor than simpler explicit equations under a wide range of turbulent flows.

Common misunderstandings often arise regarding the units involved. While the friction factor itself, the Reynolds number, and relative roughness are all dimensionless, the input parameters (like pipe diameter, fluid velocity, density, and viscosity) require careful unit consistency. Incorrect unit conversions are a frequent source of error, emphasizing the need for tools like this Colebrook Equation Calculator.

Colebrook Equation Formula and Explanation

The Colebrook equation is an implicit equation for the Darcy friction factor (f). This means it cannot be rearranged to directly solve for f, requiring iterative numerical methods for its solution.

The formula is given by:

1/√f = -2.0 × log10((ε/D)/3.7 + 2.51/(Re√f))

Where:

  • f: Darcy friction factor (dimensionless)
  • ε (epsilon): Absolute roughness of the pipe wall (length unit, e.g., meters or feet)
  • D: Internal diameter of the pipe (length unit, e.g., meters or feet)
  • Re: Reynolds Number (dimensionless)

The Reynolds Number (Re) is calculated as:

Re = (ρ × V × D) / μ

Where:

  • ρ (rho): Fluid density (mass per unit volume, e.g., kg/m³)
  • V: Average fluid velocity (length per unit time, e.g., m/s)
  • D: Internal diameter of the pipe (length unit, e.g., meters or feet)
  • μ (mu): Dynamic viscosity of the fluid (mass per unit length per unit time, e.g., Pa·s)

Variables Table

Variable Meaning Unit (Common) Typical Range
D Pipe Diameter m, mm, ft, in 0.01 m to 5 m
ε Absolute Roughness m, mm, ft, in 0 to 0.005 m (depends on pipe material)
V Fluid Velocity m/s, ft/s 0.1 m/s to 10 m/s
ρ Fluid Density kg/m³, lb/ft³ 600 kg/m³ to 1200 kg/m³
μ Dynamic Viscosity Pa·s, cP, lbm/(ft·s) 0.0001 Pa·s to 0.1 Pa·s
Re Reynolds Number Dimensionless > 4000 (Turbulent flow)
ε/D Relative Roughness Dimensionless 0 (smooth) to ~0.05
f Darcy Friction Factor Dimensionless 0.008 to 0.1 (Turbulent flow)

Practical Examples Using the Colebrook Equation

Example 1: Water Flow in a Commercial Steel Pipe (Metric Units)

Let's calculate the Darcy friction factor for water flowing through a commercial steel pipe.

  • Inputs:
    • Pipe Diameter (D): 0.15 meters
    • Absolute Roughness (ε): 0.045 millimeters (0.000045 meters for commercial steel)
    • Fluid Velocity (V): 1.5 meters/second
    • Fluid Density (ρ): 998 kilograms/cubic meter (water at 20°C)
    • Dynamic Viscosity (μ): 0.001 Pascal-seconds (water at 20°C)
  • Calculations:
    1. Calculate Reynolds Number (Re): Re = (998 kg/m³ * 1.5 m/s * 0.15 m) / 0.001 Pa·s = 224,550 (Turbulent flow)
    2. Calculate Relative Roughness (ε/D): ε/D = 0.000045 m / 0.15 m = 0.0003
    3. Solve Colebrook Equation iteratively for f.
  • Results:
    • Reynolds Number (Re): 224,550
    • Relative Roughness (ε/D): 0.0003
    • Darcy Friction Factor (f): Approximately 0.0177

This result indicates a moderate friction loss for the given flow conditions in a relatively smooth pipe.

Example 2: Oil Flow in a Cast Iron Pipe (Imperial Units)

Consider crude oil flowing through an older cast iron pipe.

  • Inputs:
    • Pipe Diameter (D): 6 inches (0.5 feet)
    • Absolute Roughness (ε): 0.00085 feet (for cast iron)
    • Fluid Velocity (V): 5 feet/second
    • Fluid Density (ρ): 54 pounds-mass/cubic foot (typical crude oil)
    • Dynamic Viscosity (μ): 0.000672 pounds-mass/(foot·second) (typical crude oil)
  • Calculations:
    1. Calculate Reynolds Number (Re): Re = (54 lbm/ft³ * 5 ft/s * 0.5 ft) / 0.000672 lbm/(ft·s) = 200,893 (Turbulent flow)
    2. Calculate Relative Roughness (ε/D): ε/D = 0.00085 ft / 0.5 ft = 0.0017
    3. Solve Colebrook Equation iteratively for f.
  • Results:
    • Reynolds Number (Re): 200,893
    • Relative Roughness (ε/D): 0.0017
    • Darcy Friction Factor (f): Approximately 0.0232

Notice that even with similar Reynolds numbers, the rougher cast iron pipe yields a higher friction factor compared to the commercial steel pipe, leading to greater energy losses. This demonstrates the impact of absolute roughness on pipe friction.

How to Use This Colebrook Equation Calculator

This Colebrook Equation Calculator is designed for ease of use, providing accurate results with minimal effort. Follow these steps:

  1. Enter Pipe Diameter (D): Input the internal diameter of your pipe. Select the appropriate unit (meters, millimeters, feet, or inches) from the dropdown menu.
  2. Enter Absolute Roughness (ε): Provide the absolute roughness value for your pipe material. This value represents the average height of imperfections on the pipe's inner surface. Again, choose the correct unit. You can often find these values in engineering handbooks or material specifications.
  3. Enter Fluid Velocity (V): Input the average velocity of the fluid flowing through the pipe. Select either meters/second or feet/second.
  4. Enter Fluid Density (ρ): Input the density of the fluid. Ensure you choose the correct unit (kilograms/cubic meter or pounds-mass/cubic foot).
  5. Enter Dynamic Viscosity (μ): Input the dynamic viscosity of the fluid. Select the unit from Pascal-seconds, centipoise, or pounds-mass/(foot·second).
  6. Click "Calculate": Once all values are entered, click the "Calculate" button. The calculator will instantly display the Darcy friction factor, Reynolds number, relative roughness, and flow regime.
  7. Interpret Results:
    • The Darcy Friction Factor (f) is the primary output, indicating the friction losses.
    • The Reynolds Number (Re) tells you if the flow is laminar (Re < 2000), transitional (2000 < Re < 4000), or turbulent (Re > 4000). The Colebrook equation is primarily for turbulent flow.
    • Relative Roughness (ε/D) is a dimensionless ratio that highlights the pipe's roughness relative to its size.
    • The Flow Regime confirms whether the Colebrook equation is appropriate for your input conditions.
  8. Use the "Reset" button: To clear all inputs and return to default values, click "Reset".
  9. Copy Results: Use the "Copy Results" button to quickly copy all calculated values to your clipboard for documentation or further use.

Key Factors That Affect the Colebrook Equation Result

The Darcy friction factor, as determined by the Colebrook equation, is influenced by several critical parameters. Understanding these factors is essential for accurate fluid flow analysis and pipe design:

  1. Reynolds Number (Re): This dimensionless number is the most significant factor. It characterizes the flow regime. For laminar flow (Re < 2000), the friction factor is simply 64/Re and the Colebrook equation is not used. For turbulent flow (Re > 4000), increasing Re generally leads to a slight decrease in the friction factor, especially at lower relative roughness values.
  2. Pipe Diameter (D): The diameter plays a dual role. It directly affects the Reynolds number (larger D, larger Re for constant V, ρ, μ) and also the relative roughness (larger D, smaller ε/D for constant ε). For a given absolute roughness, a larger diameter pipe will have a smaller relative roughness and thus a lower friction factor. This highlights why pipe sizing is so critical.
  3. Absolute Roughness (ε): This property of the pipe material determines how "bumpy" the inner surface is. Rougher pipes (higher ε) will inherently cause more friction, leading to a higher friction factor. This effect becomes more pronounced at higher Reynolds numbers, where the flow is more dominated by turbulence.
  4. Fluid Velocity (V): Higher velocities increase the Reynolds number, pushing the flow further into the turbulent regime and generally leading to higher friction losses, although the friction factor itself might slightly decrease or become constant depending on the relative roughness. It's a key component for calculating flow rate.
  5. Fluid Density (ρ): Higher fluid density contributes to a higher Reynolds number, influencing the friction factor indirectly through the flow regime.
  6. Dynamic Viscosity (μ): Higher dynamic viscosity leads to a lower Reynolds number. This can shift the flow towards or away from the fully turbulent regime, significantly impacting the friction factor. More viscous fluids generally experience higher shear stresses and thus higher friction.

Frequently Asked Questions (FAQ) about the Colebrook Equation

Q1: What is the primary purpose of the Colebrook Equation?
A1: The primary purpose is to accurately calculate the Darcy friction factor (f) for turbulent fluid flow in pipes, which is essential for determining pressure drop and energy losses in piping systems.

Q2: Why is the Colebrook Equation considered "implicit"?
A2: It's implicit because the friction factor (f) appears on both sides of the equation and within a logarithm and square root, meaning it cannot be solved directly with algebraic manipulation. It requires iterative numerical methods (like the one used in this calculator) to find a solution.

Q3: When should I use the Colebrook Equation versus other friction factor correlations?
A3: The Colebrook equation is highly accurate and widely accepted for turbulent flow (Reynolds numbers generally above 4000) in both smooth and rough pipes. For laminar flow (Re < 2000), use f = 64/Re. For transitional flow (2000 < Re < 4000), results are less predictable, and Colebrook may still be used but with caution. Explicit approximations like the Swamee-Jain equation or Haaland equation are often used when an iterative solution is not desired, offering good accuracy but slightly less than Colebrook.

Q4: How do units affect the Colebrook Equation calculator?
A4: While the final friction factor, Reynolds number, and relative roughness are dimensionless, the input parameters (diameter, roughness, velocity, density, viscosity) must be consistent. This calculator handles various unit inputs and converts them internally to a consistent system (e.g., SI units) before calculation, ensuring accurate results regardless of your chosen input units.

Q5: What is the difference between absolute roughness (ε) and relative roughness (ε/D)?
A5: Absolute roughness (ε) is a characteristic of the pipe material itself, representing the average height of surface imperfections (e.g., 0.045 mm for commercial steel). Relative roughness (ε/D) is a dimensionless ratio that compares the absolute roughness to the pipe's internal diameter. It indicates how "rough" the pipe is relative to its size, which has a direct impact on the friction factor.

Q6: Can the Colebrook Equation be used for non-circular ducts?
A6: Yes, the Colebrook equation can be adapted for non-circular ducts by using the hydraulic diameter (Dh) in place of the pipe diameter (D). The hydraulic diameter is calculated as 4 times the cross-sectional area divided by the wetted perimeter.

Q7: What are typical values for the Darcy friction factor?
A7: For turbulent flow, the Darcy friction factor typically ranges from about 0.008 for very smooth pipes at high Reynolds numbers to around 0.1 for very rough pipes at lower turbulent Reynolds numbers. It is always a positive value.

Q8: What if my Reynolds Number is less than 2000 (laminar flow)?
A8: If the Reynolds number is below approximately 2000, the flow is considered laminar. In this regime, the Darcy friction factor is simply f = 64/Re, and the Colebrook equation is not applicable. This calculator will automatically provide this result for laminar flow conditions.

🔗 Related Calculators