Pipe Diameter Calculator

Enter a flow rate and the velocity you want to hold — say 1.5 m/s for a pump suction or 2.5 m/s on discharge — and get the minimum internal diameter from d = √(4Q/πV). The result rounds up to the next standard size, because pipes are bought in catalogues, not in decimals.

Sizing a pipe is choosing a velocity

There is no such thing as the correct diameter for a flow rate — only the diameter that follows from a chosen velocity. The arithmetic is trivial once that choice is made, which is why the interesting engineering all sits in the velocity field. Go fast and pipes are cheap, compact and easy to route, but friction losses climb with roughly the square of velocity, the pump grows, and the running cost accumulates every hour for decades. Go slow and the reverse applies.

The second reality is that pipe is not sold on a continuum. A calculation returning 84 mm has no product behind it; the choice is the next standard bore, and that jump matters. Land in a 102 mm pipe and the actual velocity falls to about 1 m/s — comfortably lower than the target, with lower losses to match. Checking the resulting real velocity, rather than admiring the theoretical diameter, is what turns this into a design decision instead of an equation.

How to use the pipe diameter calculator

  1. Enter the flow rate. In m³/h, litres per second or US gallons per minute — whichever your pump curve or specification uses; the tool converts internally.
  2. Choose a design velocity. This is the real design decision. A discharge line at 2 m/s and the same line at 1 m/s differ by 40% in required bore and enormously in cost and friction.
  3. Read the theoretical bore. The exact internal diameter that produces your chosen velocity — a target, not a purchasable item, since pipe comes only in standard sizes.
  4. Take the suggested standard size. The tool picks the next standard bore at or above the requirement, because rounding down raises velocity and friction rather than lowering them.
  5. Check the resulting actual velocity. Standard sizes jump in steps, so the real velocity in the selected pipe often lands well below target — confirm it still sits in an acceptable range.
  6. Verify friction separately. Diameter sizing sets velocity; it does not tell you the pressure loss over a run. Follow up with the pressure drop calculator for the full picture.

Key formulas

  • Continuity: Q = A × v, with A = π d² ÷ 4
  • Required bore: d = √(4Q ÷ π v), Q in m³/s → d in metres
  • Velocity in a chosen pipe: v = Q ÷ (π d² ÷ 4)
  • Unit note: divide m³/h by 3,600 before applying the formula

Worked example

Sizing for 30 m³/h at a design velocity of 1.5 m/s: Q = 30 ÷ 3,600 = 0.008333 m³/s, so d = √(4 × 0.008333 ÷ (π × 1.5)) = 0.08410 m = 84.1 mm. No pipe exists at that bore, so the selection moves up to DN100 with a 102.3 mm bore — in which the actual velocity becomes 1.01 m/s, safely inside the acceptable band and with lower friction than the original target implied.

Standard bores, schedule 40 steel

Nominal pipe sizes and internal bores
Nominal sizeBore (mm) Bore (in)
DN25 (1")26.61.05
DN50 (2")52.52.07
DN80 (3")77.93.07
DN100 (4")102.34.03
DN150 (6")154.16.07
DN200 (8")202.77.98

Selected sizes from ASME B36.10M schedule 40. The calculator checks the full series from DN15 to DN400.

Things to keep in mind

  • Size suction lines generously. One nominal size above the discharge is standard practice and protects the pump from cavitation.
  • Diameter is a lifetime decision. Pipe is buried, boxed in and lived with; the pump behind it gets replaced several times over.
  • Allow for future demand. Adding capacity later means re-piping — a modest allowance now is far cheaper than a second installation.
  • Fittings add hidden length. Every bend, valve and tee behaves like extra metres of pipe; sizing on bore alone under-reads total loss.
  • Verify with a pressure drop check. Velocity within range does not guarantee acceptable head loss over a long run.

Frequently asked questions

How do I calculate the pipe size needed for a given flow?

Rearrange the continuity equation Q = A × v into d = √(4Q ÷ πv). Flow must be in cubic metres per second for a result in metres, which is the step most hand calculations get wrong — a flow quoted in m³/h needs dividing by 3,600 first. The answer is the exact bore for your target velocity; real pipe then comes from the next standard size up.

Why round pipe size up rather than down?

Because velocity moves inversely with the square of bore. Dropping to the next size smaller does not shave a little velocity off — it raises velocity sharply, and friction loss rises roughly with velocity squared on top of that. Rounding up costs slightly more in material and delivers lower running cost, quieter operation and margin for future demand. Rounding down almost always turns into a pumping bill.

What is a good design velocity for water pipes?

Pump discharge and general distribution work typically targets 1.5–3 m/s, while suction lines are held to roughly 0.6–1.5 m/s to preserve NPSH. Long transmission mains sit at the lower end because friction accumulates over distance. Above about 3 m/s, expect noise, accelerated erosion at bends, and water-hammer forces that make valve closure a genuine engineering concern.

Is nominal pipe size the same as internal diameter?

No, and the gap is significant. Nominal sizes such as DN100 or "4 inch" are naming conventions tied to fitting compatibility, not measurements. Schedule 40 steel at DN100 has a bore near 102 mm; schedule 80 in the same nominal size is noticeably smaller, and plastics differ again. This calculator returns and compares true internal bores, which is what the fluid actually experiences.

Should suction and discharge pipes be the same size?

Usually not — suction lines are conventionally one size larger than the discharge. The reason is asymmetry of consequences: excess friction on the discharge side simply costs energy, whereas the same friction on the suction side reduces NPSH available and can push the pump into cavitation, which damages the impeller. Cheap oversizing on the suction, disciplined sizing on the discharge, is the standard compromise.

Does this calculation work for air, gas or steam?

The geometry does — area times velocity is universal. What changes is the appropriate design velocity, which is far higher for compressible fluids: compressed air lines run 6–9 m/s, steam mains much faster still. Compressible flow also changes density along the pipe as pressure drops, so for gas and steam this result is a starting point that a proper compressible-flow method should refine.

Last updated: 24 July 2026