Enter design inputs
Pick a sizing mode, set units, then calculate diameter and hydraulic checks.
Large: 3 columns • Small: 2 • Mobile: 1
Example data table
Sample scenarios computed using this calculator’s current formulas and assumptions.
| Scenario | Flow (m³/h) | Diameter (mm) | Velocity (m/s) | ΔP per 100 m (kPa) | Suggested size |
|---|---|---|---|---|---|
| Cooling water loop | 40.00 | 96.7 | 1.512 | 43.56 | NPS 4 (ID≈4.026 in) |
| Light oil transfer | 43.20 | 142.4 | 0.753 | 22.66 | NPS 6 (ID≈6.065 in) |
| Compressed air header | 1,800.00 | 266.0 | 9.000 | 0.48 | NPS 12 (ID≈11.938 in) |
These examples are indicative. Real projects should include detailed fittings, property tables, compressibility for gases, and specification-driven IDs.
Formula used
- Continuity: Q = A·V, with A = πD²/4 → D = √(4Q / (πV))
- Reynolds number: Re = ρVD / μ
- Friction factor: laminar f = 64/Re; otherwise Swamee–Jain approximation
- Darcy–Weisbach head loss: hf = f·(L/D)·(V²/(2g))
- Minor losses: hm = K·(V²/(2g))
- Static head: hs = Δz
- Pressure drop: ΔP = ρg·(hf + hm + hs)
How to use this calculator
- Choose a sizing mode: velocity, allowable pressure drop, or both constraints.
- Enter flow rate and pick a fluid profile (or set a specific target velocity).
- Enter pipeline length, roughness, density, viscosity, fittings loss K, and elevation change.
- Press Calculate to see diameter, velocity, Reynolds number, and pressure drop above the form.
- Use Download CSV for records, or Download PDF for a shareable report.