Swamee-Jain Friction Factor Calculator

Swamee-Jain Friction Factor Calculator

Popular AI Skill PRO

Enter Calculation

Formula

f=0.25[log10(Roughness ε/Diameter D3.7+5.74Re0.9)]2f = \dfrac{0.25}{\left[\log_{10}\!\left(\dfrac{{{\text{Roughness }\varepsilon}}\,/\,{{\text{Diameter }D}}}{3.7} + \dfrac{5.74}{\text{Re}^{0.9}}\right)\right]^{2}}
Usage stats

Advertisement

Results

Darcy Friction Factor
0.02394
dimensionless (Darcy-Weisbach f)
Relative roughness ε/D 0.0015
Reynolds number 100,000

Report an error on this page

What is the Swamee-Jain Friction Factor Calculator?

The Swamee-Jain equation is an explicit formula that estimates the Darcy friction factor (f) for fully turbulent flow in a pipe. It was developed as a direct approximation of the implicit Colebrook-White equation, avoiding the need for iterative solving. Engineers use the friction factor to compute head loss and pressure drop in pipelines via the Darcy-Weisbach equation.

Cross-section of a pipe showing internal diameter and rough inner wall
Key inputs: pipe diameter D and inner-wall roughness \(\varepsilon\) that govern the friction factor.

How to use it

Enter three values: the absolute pipe roughness \(\varepsilon\) (in metres), the internal pipe diameter \(D\) (in metres), and the Reynolds number \(\text{Re}\) of the flow. The calculator computes the relative roughness \(\varepsilon/D\) and returns the dimensionless Darcy friction factor. The equation is valid for \(5000 \le \text{Re} \le 10^8\) and \(10^{-6} \le \varepsilon/D \le 10^{-2}\).

The formula explained

The friction factor is given by:

$$f = \dfrac{0.25}{\left[\log_{10}\!\left(\dfrac{\text{Roughness }\varepsilon\,/\,\text{Diameter }D}{3.7} + \dfrac{5.74}{\text{Re}^{0.9}}\right)\right]^{2}}$$

The two terms inside the logarithm capture the relative-roughness (pipe wall) effect and the viscous (Reynolds number) effect. As the flow becomes fully rough, the second term vanishes and \(f\) approaches a constant value set by \(\varepsilon/D\).

Advertisement
Moody-style chart of friction factor versus Reynolds number with relative roughness curves
The Swamee-Jain equation approximates the turbulent region of the Moody chart.

Worked example

Take \(\varepsilon = 0.00015\ \text{m}\), \(D = 0.1\ \text{m}\), \(\text{Re} = 100{,}000\). Then \(\varepsilon/D = 0.0015\), so \((\varepsilon/D)/3.7 = 0.000405405\). \(\text{Re}^{0.9} = 100000^{0.9} \approx 31622.78\), so \(5.74/\text{Re}^{0.9} \approx 0.00018152\). The sum is \(0.00058693\); \(\log_{10}\) of that \(\approx -3.23139\); squared \(\approx 10.4419\). Thus $$f = \dfrac{0.25}{10.4419} \approx 0.02394.$$

Advertisement

Typical Absolute Roughness of Pipe Materials

The calculator needs the absolute roughness \(\varepsilon\) of the inner pipe wall. The table lists commonly quoted textbook values for new or clean pipe. They are approximate, and real values vary with age, corrosion, scaling, manufacturing method and condition.

Pipe material Roughness ε (mm) Roughness ε (m)
Drawn tubing, PVC, plastic ≈ 0.0015 1.5 × 10-6
Commercial steel, wrought iron ≈ 0.045 4.5 × 10-5
Asphalted cast iron ≈ 0.12 1.2 × 10-4
Galvanized iron ≈ 0.15 1.5 × 10-4
Cast iron ≈ 0.26 2.6 × 10-4
Concrete ≈ 0.3 – 3 3 × 10-4 – 3 × 10-3
Riveted steel ≈ 0.9 – 9 9 × 10-4 – 9 × 10-3

Units matter: enter both the roughness \(\varepsilon\) and the diameter \(D\) in metres (or any identical length unit, since only the ratio \(\varepsilon/D\) is used). For example, a 100 mm commercial steel pipe is \(\varepsilon = 0.000045\) and \(D = 0.1\). The Reynolds number is dimensionless.

FAQ

Is this the Darcy or Fanning friction factor? It returns the Darcy (Darcy-Weisbach) friction factor. Divide by 4 to get the Fanning factor.

Does it work for laminar flow? No. For \(\text{Re}\) below about 2300 use \(f = 64/\text{Re}\) instead.

How accurate is it? Within roughly 1-2% of the Colebrook equation across its valid range, which is excellent for engineering design.

Last updated:

Most popular in Physics and Engineering

View all Physics and Engineering calculators