diameter of a pipe calculator

Pipe Internal Diameter Calculator

Estimate the required internal pipe diameter from flow rate and target fluid velocity.

Set to 0 to skip rounding.

What this calculator does

This diameter of a pipe calculator helps you size a pipe quickly when you know two things: the amount of fluid you need to move (flow rate) and how fast you want it to move (velocity). The tool returns the estimated internal diameter required to carry that flow.

It is useful for early-stage sizing in plumbing, irrigation, HVAC water lines, process systems, and general engineering estimates. It is not a replacement for full hydraulic design, but it is a strong first step.

Formula used

The calculation comes from continuity:

Q = A × v

Where:

  • Q = volumetric flow rate (m³/s)
  • A = pipe cross-sectional area (m²)
  • v = fluid velocity (m/s)

For a circular pipe, area is:

A = πd²/4d = √(4Q / (πv))

The result is the required inside diameter d. The calculator then converts it to millimeters and inches, and optionally rounds up to a practical size increment.

How to use it

Step-by-step

  • Enter your flow rate value.
  • Select the correct flow unit (L/s, m³/h, gpm, etc.).
  • Enter your target velocity and unit.
  • Set an optional rounding increment in millimeters.
  • Click Calculate Diameter.

If you are unsure about velocity, start with common design ranges below and adjust based on pressure drop, noise, erosion, and pumping energy.

Typical design velocity ranges (rule-of-thumb)

  • Domestic cold/hot water: ~0.6 to 2.0 m/s
  • Building risers/mains: ~1.0 to 3.0 m/s
  • Irrigation: ~0.9 to 1.8 m/s
  • Process liquids (clean): often ~1.0 to 2.5 m/s
  • Suction lines (pumps): usually lower to reduce cavitation risk

These are broad guidelines only. Final values should be checked against your standard, code, material limits, and system pressure-loss requirements.

Worked example

Suppose you need to carry 12 L/s at a target velocity of 1.5 m/s.

  • Convert flow: 12 L/s = 0.012 m³/s
  • Apply formula: d = √(4 × 0.012 / (π × 1.5))
  • Result: d ≈ 0.1009 m = 100.9 mm

With rounding set to 5 mm, recommended minimum inside diameter becomes 105 mm. You would then select an available nominal pipe size that provides at least that internal diameter.

Why internal diameter matters

Many people select pipe by nominal size only, but hydraulic performance depends on the actual inside diameter. Pipe schedule, wall thickness, and material type can significantly change the internal diameter even at the same nominal size.

Smaller internal diameter increases velocity and pressure drop. This can raise pumping cost, noise, and wear over time. Proper sizing helps efficiency and longevity.

Common mistakes to avoid

  • Mixing units (for example, using L/min as if it were L/s).
  • Choosing velocity too high to “save pipe cost” without checking pressure loss.
  • Ignoring fluid properties when viscosity or solids are significant.
  • Confusing nominal pipe size with true inside diameter.

Final note

Use this calculator as a fast estimator for internal diameter. For construction and procurement, verify against actual pipe data sheets, applicable codes, and a full head-loss calculation (Darcy-Weisbach or Hazen-Williams where appropriate).

🔗 Related Calculators