Moody\’s Chart Calculator






Moody’s Chart Calculator – Darcy Friction Factor


Moody’s Chart Calculator

Calculate the Darcy friction factor for pipe flow based on Reynolds Number and Relative Roughness.




A dimensionless value representing the flow regime (e.g., 50000 for turbulent).


The ratio of pipe roughness to pipe diameter. Dimensionless (e.g., 0.001).


Darcy Friction Factor (f)

Reynolds Number (Re)

Relative Roughness (ε/D)

Flow Regime

Formula used will be displayed here after calculation.

Moody’s Chart Visualization

Dynamic chart showing the calculated friction factor (point) against the curve for the given relative roughness.

Friction Factor vs. Reynolds Number

Reynolds Number (Re) Friction Factor (f)
Results will be populated here.
This table shows how the friction factor changes for the given relative roughness across different Reynolds numbers.

What is a moody’s chart calculator?

A moody’s chart calculator is an engineering tool used to determine the Darcy-Weisbach friction factor (f) for fluid flow in a circular pipe. Instead of manually reading the complex, logarithmic Moody Chart diagram, this calculator digitally solves the underlying equations. The friction factor is a dimensionless quantity that helps in calculating head loss or pressure drop due to friction in pipes, a critical calculation in hydraulic and mechanical engineering. This particular moody’s chart calculator is a powerful tool for engineers, students, and technicians who need quick and accurate friction factor values without the ambiguity of graphical interpretation.

The Formula Behind the moody’s chart calculator

The Moody Chart is a graphical representation of several formulas that describe fluid flow. The specific formula used depends on the flow regime, which is determined by the Reynolds number (Re).

  • Laminar Flow (Re < 2300): The friction factor is independent of pipe roughness and calculated with a simple formula:

    f = 64 / Re

  • Turbulent Flow (Re > 4000): The flow is complex and depends on both Reynolds number and the pipe’s relative roughness (ε/D). This calculator uses the Swamee-Jain equation, a highly accurate explicit approximation of the implicit Colebrook-White equation. The Swamee-Jain formula is:

    f = 0.25 / [log10( (ε/D)/3.7 + 5.74/Re^0.9 )]^2

  • Transitional Flow (2300 ≤ Re ≤ 4000): This region is unstable and unpredictable. The calculator provides an interpolated value but it should be used with caution.

Variables Table

Variable Meaning Unit Typical Range
f Darcy Friction Factor Dimensionless 0.008 – 0.10
Re Reynolds Number Dimensionless < 2300 (Laminar) to > 10^8 (Turbulent)
ε/D Relative Roughness Dimensionless 0 (smooth pipe) to 0.05 (very rough)
ε Absolute Roughness meters, mm 0.0015 mm (PVC) to 2 mm (Rough Concrete)
D Pipe Diameter meters, inches Varies by application

Practical Examples of the moody’s chart calculator

Example 1: Water Flow in a Steel Pipe

An engineer is designing a system to pump water at 20°C through a 150mm diameter commercial steel pipe.

  • Inputs:
    • Pipe Diameter (D): 150 mm = 0.15 m
    • Absolute Roughness (ε) for steel: 0.045 mm = 0.000045 m
    • Fluid Velocity (v): 2.5 m/s
    • Kinematic Viscosity (ν) of water at 20°C: 1.004 x 10⁻⁶ m²/s
  • Calculation Steps:
    1. Calculate Relative Roughness: ε/D = 0.000045 / 0.15 = 0.0003
    2. Calculate Reynolds Number: Re = (v * D) / ν = (2.5 * 0.15) / (1.004 x 10⁻⁶) ≈ 373,506
    3. Since Re > 4000, use Swamee-Jain for turbulent flow.
  • Result:

    Using the moody’s chart calculator, the friction factor (f) is approximately 0.0168.

Example 2: Air Flow in a Galvanized Iron Duct

An HVAC technician needs to find the friction factor for air flowing through a 300mm diameter galvanized iron duct.

  • Inputs:
    • Pipe Diameter (D): 300 mm = 0.3 m
    • Absolute Roughness (ε) for galvanized iron: 0.15 mm = 0.00015 m
    • Reynolds Number (Re): 100,000 (provided directly)
  • Calculation Steps:
    1. Calculate Relative Roughness: ε/D = 0.00015 / 0.3 = 0.0005
    2. Since Re (100,000) > 4000, the flow is turbulent.
  • Result:

    Inputting Re = 100,000 and ε/D = 0.0005 into the moody’s chart calculator yields a friction factor (f) of approximately 0.021.

How to Use This moody’s chart calculator

  1. Select Input Mode: Choose ‘Direct Input’ if you already know the Reynolds Number and Relative Roughness. Choose ‘Calculate from Fluid Properties’ if you have physical measurements like pipe diameter and fluid velocity.
  2. Enter Values: Fill in the required fields. For property-based calculations, ensure you select the correct units for each input.
  3. Calculate: Click the “Calculate” button.
  4. Interpret Results: The primary result is the Darcy Friction Factor (f). The calculator also provides intermediate values for Reynolds Number, Relative Roughness, and the determined Flow Regime (Laminar, Transitional, or Turbulent).
  5. Analyze the Chart: The dynamic chart visualizes your result, showing exactly where your operating point lies on the Moody diagram, plotted against the curve for your specific relative roughness.

Key Factors That Affect the Darcy Friction Factor

  • Flow Velocity: Higher velocity generally leads to a higher Reynolds number, moving the flow regime towards turbulence and affecting the friction factor.
  • Pipe Diameter: Diameter affects both the Reynolds number and the relative roughness. A larger pipe generally has a lower relative roughness and can handle higher flow rates before becoming fully turbulent.
  • Pipe Roughness (ε): This is one of the most critical factors in turbulent flow. A rougher pipe (e.g., concrete) creates more turbulence and has a significantly higher friction factor than a smooth pipe (e.g., PVC). For help, consult a Pressure Drop Calculator.
  • Fluid Viscosity (ν): Higher viscosity (thicker fluids) resists flow, leading to a lower Reynolds number and a tendency to remain in the laminar regime, where friction is higher for a given Re.
  • Flow Regime (Re): Whether the flow is laminar, transitional, or turbulent is the single most defining factor. The relationship between Re and friction factor changes completely between these states. A Reynolds Number Calculator can be a useful related tool.
  • Pipe Material Aging: Over time, corrosion and scaling can increase a pipe’s absolute roughness, leading to a higher friction factor and increased pressure drop for the same flow rate.

Frequently Asked Questions (FAQ)

1. What is the difference between Darcy and Fanning friction factors?

The Darcy friction factor (f), used in this calculator, is 4 times the value of the Fanning friction factor (f_F). Always ensure you are using the correct factor for your pressure drop equation. The Darcy-Weisbach equation uses the Darcy factor.

2. Why are the results for the ‘transitional’ flow regime less reliable?

The transitional flow regime (2300 ≤ Re ≤ 4000) is inherently unstable, with flow behavior fluctuating between laminar and turbulent characteristics. There is no precise formula for this range, so values are based on interpolation and should be considered an estimate.

3. What does a ‘dimensionless’ number mean?

A dimensionless number, like the Reynolds Number or friction factor, has no physical units. It is a pure number derived from a ratio of quantities where the units cancel out. This makes them universally applicable regardless of the unit system (SI, Imperial, etc.) being used. You may find our Hydraulic Diameter Calculator useful for non-circular ducts.

4. How do I find the absolute roughness (ε) for my pipe?

Absolute roughness values are determined empirically and are widely available in engineering handbooks and online resources. This calculator provides common values in the helper text, but for precise work, you should consult a table for your specific pipe material.

5. Can this calculator be used for non-circular pipes?

Yes, but you must first calculate the ‘Hydraulic Diameter’ (D_h) of the non-circular duct and use that value for the ‘Pipe Diameter’ input. The formula is D_h = 4 * (Cross-Sectional Area) / (Wetted Perimeter).

6. Why does the friction factor for laminar flow not depend on roughness?

In laminar flow, fluid moves in smooth layers (laminae). A thin, stagnant layer of fluid, known as the viscous sublayer, forms over the pipe’s rough surface, effectively hiding the roughness from the bulk of the flow. Therefore, friction is dominated by viscous forces between the fluid layers, not surface roughness.

7. What is the Swamee-Jain equation?

The Swamee-Jain equation is an explicit and accurate formula used to directly calculate the Darcy friction factor for turbulent flow, avoiding the iterative calculations required by the more complex Colebrook-White equation. It is widely used in engineering software and calculators like this one. More on this topic can be found in our article on Bernoulli’s Equation Solver.

8. Where does the name “Moody’s Chart” come from?

The chart is named after Lewis Ferry Moody, an American engineer who published his famous diagram in 1944. His chart elegantly combined the Darcy-Weisbach friction factor, Reynolds number, and relative roughness into a single, usable graph for engineers.

Related Tools and Internal Resources

For more advanced fluid dynamics calculations, explore our other specialized tools:

Disclaimer: This calculator is for educational purposes only. All calculations should be verified by a qualified professional before use in critical applications.


Leave a Reply

Your email address will not be published. Required fields are marked *