← All calculators
Beedy Academy · Calculators

Fluid mechanics calculators

16 field calculations for pipes, pumps, tanks and flow measurement. Each calculator shows its formula and offers practice problems.

Pipes and pressure drop

Pipe velocity

Formulav = Q ÷ (π D² ÷ 4)  ·  hv = v² ÷ 2g  ·  Dreq = √(4Q ÷ π vt)
m³/h
mm
m/s
Velocity (v)—m/s
Velocity head (hv)—m
Diameter needed for vt—mm

Water, usual guides: pump suction 0.6 to 1.5 m/s, discharge 1.5 to 3 m/s. Use the real inside diameter (from wall thickness or schedule).

Reynolds number (flow regime)

FormulaRe = ρ × v × D ÷ μ
m³/h
mm
kg/m³
mPa·s
Velocity (v)—m/s
Reynolds number (Re)—

Laminar below 2300, turbulent above about 4000, transition in between. Water at 20 °C: μ ≈ 1.0 mPa·s; oils: 10 to 1000 mPa·s.

Pipe pressure drop (Darcy-Weisbach)

Formulaf = 64 ÷ Re (Re < 2300)  ·  f = 0.25 ÷ [log₁₀(ε ÷ 3.7D + 5.74 ÷ Re0.9)]²  ·  hf = f × L ÷ D × v² ÷ 2g  ·  Δp = ρ g hf
m³/h
mm
m
kg/m³
mPa·s
Reynolds number (Re)—
Friction factor (f)—
Head loss (hf)—m
Pressure drop (Δp)—kPa

Darcy friction factor by Swamee-Jain (within ±1 % of Colebrook for Re 5000 to 10⁸); in the transition zone (2300 to 4000) the result is approximate. New pipe: roughness grows with age.

Minor losses (total K)

Formulahm = ΣK × v² ÷ 2g  ·  Δp = ΣK × ρ v² ÷ 2
m³/h
mm
kg/m³
Velocity (v)—m/s
Minor head loss (hm)—m
Pressure drop (Δp)—kPa

Usual K values: standard 90° elbow 0.3 to 0.9; open gate valve 0.1 to 0.2; swing check valve 2; exit into a tank 1; sharp-edged entrance 0.5.

Pressure and liquid head

Formulah = p ÷ (ρ g)  ·  p = ρ g H
kPa
m
kg/m³
Head equal to p—m
Pressure equal to H—kPa
p in psi—psi

For water, 1 bar ≈ 10.2 m. A denser liquid gives less head for the same pressure: a pump delivers the same head, not the same pressure.

Pumps

Hydraulic and shaft power

FormulaPh = ρ g Q H  ·  Parbre = Ph ÷ ηp  ·  Pél = Parbre ÷ ηm
m³/h
m
kg/m³
%
%
Hydraulic power (Ph)—kW
Shaft power—kW
Electrical input power—kW

Pick a motor at least 10 to 15 % above the shaft power at the most demanding point of the curve. Centrifugal pump efficiency: 50 to 85 %.

Affinity laws (speed or impeller diameter)

FormulaQ₂ = Q₁ × (N₂ ÷ N₁)  ·  H₂ = H₁ × (N₂ ÷ N₁)²  ·  P₂ = P₁ × (N₂ ÷ N₁)³
m³/h
m
kW
rpm or mm
rpm or mm
New flow (Q₂)—m³/h
New head (H₂)—m
New power (P₂)—kW

Exact for a speed change at constant efficiency; for an impeller trim, valid only for small cuts (under 10 to 15 %). The real duty point also depends on the system curve.

NPSH available and margin

FormulaNPSHa = (ps − pv) ÷ (ρ g) + z − hfs
kPa abs
m
m
kPa abs
kg/m³
m
NPSH available (NPSHa)—m
Margin (NPSHa − NPSHr)—m
Ratio NPSHa ÷ NPSHr—

z is negative when the pump lifts from below (suction lift). Aim for NPSHa ≥ 1.3 × NPSHr (or at least 1 m margin); water at 20 °C: pv = 2.34 kPa, at 60 °C: 19.9 kPa.

Pump and system operating point

FormulaHp = H₀ − a Q²  ·  Hs = Hst + k Q²  ·  Q* = √((H₀ − Hst) ÷ (a + k))
m
m³/h
m
m
m
Flow at operating point—m³/h
Head at operating point—m

Approximation: parabolic pump curve through H₀ and the rated point, system losses in Q². For accurate work, overlay the real manufacturer's curve.

Pump flow by tank level test

FormulaQ = π D² ÷ 4 × Δh ÷ t + Qe
m
m
min
m³/h
Pump flow—m³/h
Pump flow—L/s

Vertical tank with constant cross-section. Close the inlet if you can (Qi = 0) and time at least 2 to 5 minutes to cut reading error.

Tanks

Vertical tank: level and volume

FormulaV = π D² ÷ 4 × h  ·  h = V ÷ (π D² ÷ 4)
m
m
m
m³
Volume at level h—m³
Total capacity—m³
Percent full—%
Level for volume V—m
Volume per centimetre—L/cm

Flat bottom. For a cone or dished bottom, add the bottom volume separately. Level measured from the inside bottom.

Horizontal tank: partial volume

FormulaV = L × [R² acos((R − h) ÷ R) − (R − h) √(2Rh − h²)]
m
m
m
Volume at level h—m³
Total capacity—m³
Percent full—%

Flat ends (R = D ÷ 2). With dished heads the real volume is somewhat larger: use the tank's gauging table if there is one.

Tank drain time through an orifice

Formulat = (At ÷ (Cd Ao)) × √(2 ÷ g) × (√h₁ − √h₂)
m
mm
m
m
Time—min
Initial outflow—m³/h

Torricelli: vertical tank open to air, free outlet at the bottom, no downstream pipe. An outlet pipe adds losses and lengthens the time.

Fill or empty time

FormulaΔV = π D² ÷ 4 × (h₂ − h₁)  ·  t = ΔV ÷ (Qe − Qs)
m
m
m
m³/h
m³/h
Volume change (ΔV)—m³
Time—h
Time—min

Vertical tank. To empty, set h₂ below h₁ and an outflow larger than the inflow. No answer if the level does not move the right way.

Flow measurement

Orifice plate flow

Formulaβ = d ÷ D  ·  Q = C ÷ √(1 − β⁴) × π d² ÷ 4 × √(2 Δp ÷ ρ)
mm
mm
kPa
kg/m³
Diameter ratio (β)—
Flow rate (Q)—m³/h
Mass flow—t/h

Liquids only (ε = 1). Simplified from ISO 5167: C ≈ 0.60 to 0.61 for a sharp-edged orifice, β 0.2 to 0.75 and high Re; for custody transfer, use the full (Reader-Harris/Gallagher) equation.

DP flowmeter: square-root extraction

FormulaQ = Qmax × √(Δp ÷ Δpmax)
m³/h
kPa
kPa
Flow rate (Q)—m³/h
Flow as % of range—%
DP as % of range—%

At 25 % of DP you already have 50 % of flow. Below about 10 % of flow the reading becomes unreliable: most transmitters have a low-flow cutoff.

Learning and checking tools. The ranges shown are general guidance: always follow your plant's procedures, permits and set points. Nothing is sent anywhere: the calculations run in your browser.