Pipe Size Calculator

Pipe Size Calculator

Leading AI Skill PRO

Enter Calculation

Typical design velocity for water in pipes is 0.9-2.4 m/s (3-8 ft/s). Lower values mean a larger pipe and less friction loss.

Formula

D=4QπVwhere{Q=Flow Rate×kFlow Unit[m3/s]V=Target Velocity (m/s)\begin{gathered} D = \sqrt{\dfrac{4\,Q}{\pi\,V}} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} Q &= \text{Flow Rate} \times k_{\text{Flow Unit}} \;\left[\text{m}^3/\text{s}\right] \\ V &= \text{Target Velocity (m/s)} \end{aligned} \right. \end{gathered}
Show calculation steps (1)
  1. Flow Area and Velocity in the Nominal Pipe

    A=QVVnom=Qπ4(Dnom×0.0254)2where{Q=Flow Rate×kFlow Unit[m3/s]V=Target Velocity×kVelocity Unit[m/s]Dnom=next standard pipe size≥1000D25.4[in]\begin{gathered} A = \dfrac{Q}{V} \qquad\qquad V_{\text{nom}} = \dfrac{Q}{\dfrac{\pi}{4}\left(D_{\text{nom}} \times 0.0254\right)^{2}} \\[1.5em] \text{where}\quad \left\{ \begin{aligned} Q &= \text{Flow Rate} \times k_{\text{Flow Unit}} \;\left[\text{m}^3/\text{s}\right] \\ V &= \text{Target Velocity} \times k_{\text{Velocity Unit}} \;\left[\text{m}/\text{s}\right] \\ D_{\text{nom}} &= \text{next standard pipe size} \geq \tfrac{1000\,D}{25.4}\;\left[\text{in}\right] \end{aligned} \right. \end{gathered}

    A = Q / V is the required cross-sectional area; after rounding up to the next nominal size D_nom (inches), the actual velocity becomes V_nom = Q / ((pi/4) (D_nom x 0.0254)^2).

Usage stats

Advertisement

Results

Required Inside Diameter
79.79 mm
= 3.141 inches of clear bore
Suggested nominal pipe size 4 in (NPS)
Velocity in that nominal size 1.233 m/s
Required cross-sectional area 50 cm²
Flow rate in SI units 0.01 m³/s
The diameter above is the minimum clear bore that keeps the fluid at or below your target velocity. The nominal size is taken from the ANSI/NPS inch ladder and is a label, not an exact bore, so check the real inside diameter for your schedule and material before ordering.

Report an error on this page

What this pipe size calculator does

Sizing a pipe is a balance: a bore that is too small drives velocity and friction loss up, causing noise, erosion and wasted pump energy, while an oversized bore wastes material and can let solids settle. This tool takes the volumetric flow rate you need to move and the mean velocity you want to design for, then returns the smallest inside diameter that satisfies both, in millimetres and inches, together with the required cross-sectional area and the next standard nominal size.

Cutaway pipe diagram showing diameter D, cross-sectional area A, and flow velocity arrows V
Flow rate equals cross-sectional area times velocity, so the required diameter follows from Q and V.

How to use it

Enter the flow rate and pick its unit (L/s, L/min, m³/h, US GPM or cfs). Then enter your target velocity in m/s or ft/s. For clean water, common design practice is roughly 0.9-2.4 m/s (3-8 ft/s) on pressure lines and under 1.2 m/s on suction lines. Lower the velocity and the calculator returns a bigger pipe.

The formula explained

Continuity says flow equals area times velocity, \(Q = A \times v\), so the area you need is \(A = Q / v\). A circular pipe of inside diameter \(d\) has \(A = \pi d^{2}/4\), and solving for \(d\) gives:

$$d = \sqrt{\frac{4Q}{\pi v}}$$

where \(Q\) = volumetric flow in m³/s, \(v\) = mean velocity in m/s and \(d\) = inside diameter in metres.

Advertisement
Three pipe cross-sections of increasing size with decreasing velocity arrows
For a fixed flow rate, a larger diameter means lower fluid velocity.

Worked example

You must carry 10 L/s of water at 2 m/s. First convert: \(Q = 0.01\) m³/s. The area needed is

$$A = \frac{0.01}{2} = 0.005\,\text{m}^2 = 50\,\text{cm}^2$$

and the diameter is

$$d = \sqrt{\frac{4 \times 0.005}{\pi}} = 0.0798\,\text{m} = 79.8\,\text{mm} \approx 3.14\,\text{in}$$

No stock pipe has a 3.14 in bore, so you step up to a 4 in nominal line, where the same flow travels at only about 1.23 m/s.

Advertisement

Flow Rate and Velocity Unit Conversions

The diameter formula is dimensionally consistent only in SI base units: flow \(Q\) in m³/s and velocity \(V\) in m/s give \(D\) in metres. The calculator applies the factor \(k\) for whichever flow unit you select, then converts the answer to millimetres and inches. The factors are exact or exactly-derived values, not approximations of convenience.

Flow rate conversion to the base unit m³/s
Unit Calculator code Multiply by to get m³/s Equivalent in L/s
litres per second (L/s) lps 0.001 (exact) 1
litres per minute (L/min) lpm 1.6667 × 10⁻⁵ 0.016667
cubic metres per hour (m³/h) m3h 2.7778 × 10⁻⁴ 0.27778
US gallons per minute (US GPM) gpm 6.3090 × 10⁻⁵ 0.063090
cubic feet per second (cfs) cfs 0.028317 28.317

Cross-conversions for one litre per second

$$1\ \text{L/s} = 60\ \text{L/min} = 3.6\ \text{m}^3/\text{h} = 15.85\ \text{US GPM} = 0.03531\ \text{cfs} = 0.001\ \text{m}^3/\text{s}$$

Common flow equivalences
Given L/s L/min m³/h US GPM cfs
1 L/s 1 60 3.6 15.85 0.03531
1 L/min 0.01667 1 0.06 0.2642 0.000589
1 m³/h 0.2778 16.67 1 4.403 0.009810
1 US GPM 0.06309 3.785 0.2271 1 0.002228
1 cfs 28.317 1 699 101.9 448.8 1

Velocity

$$1\ \text{m/s} = 3.2808\ \text{ft/s} \qquad 1\ \text{ft/s} = 0.3048\ \text{m/s}\ \text{(exact)}$$

Velocity conversions across the usual design range
m/s ft/s Typical association
0.61 2.00 Self-cleansing minimum for sanitary sewers (US Ten-State Standards)
1.00 3.28 Conservative pump suction
1.22 4.00 Copper hot-recirculation erosion limit
1.50 4.92 Upper end of building water distribution
2.00 6.56 Typical pumped water main
3.00 9.84 Upper end of chilled water
9.00 29.5 Upper end of compressed-air mains
30.0 98.4 Mid-range saturated steam

Diameter and area units in the output

  • \(1\ \text{in} = 25.4\ \text{mm}\) (exact), so \(D\,[\text{in}] = D\,[\text{mm}] / 25.4\)
  • \(1\ \text{m} = 1\,000\ \text{mm} = 39.370\ \text{in}\)
  • \(1\ \text{m}^2 = 10\,000\ \text{cm}^2 = 1\,000\,000\ \text{mm}^2 = 1\,550\ \text{in}^2\)
  • \(1\ \text{in}^2 = 645.16\ \text{mm}^2\) (exact)
  • Area from diameter: \(A = \pi D^2 / 4\); for \(D\) in mm the area is in mm², for \(D\) in m it is in m²

Worked unit path

A duty of 120 US GPM at 5 ft/s converts first, then substitutes:

$$Q = 120 \times 6.3090\times10^{-5} = 7.571\times10^{-3}\ \text{m}^3/\text{s} \qquad V = 5 \times 0.3048 = 1.524\ \text{m/s}$$$$D = \sqrt{\frac{4 \times 7.571\times10^{-3}}{\pi \times 1.524}} = \sqrt{6.3251\times10^{-3}} = 0.07953\ \text{m} = 79.5\ \text{mm} = 3.13\ \text{in}$$

Two traps worth naming

  1. US gallons are not Imperial gallons. 1 Imperial GPM = 1.201 US GPM = 4.546 L/min, while 1 US GPM = 3.785 L/min. The gpm option in this calculator is US gallons per minute, the convention in US and Canadian practice; data taken from older UK or Commonwealth sources in Imperial GPM must be multiplied by 1.201 before entry, or the pipe will be undersized by about 10 % in diameter.
  2. Gas flows need a stated reference condition. Volumetric units for air, steam or natural gas (Nm³/h, SCFM, ACFM) are only meaningful at a given pressure and temperature. Convert to actual volumetric flow at the operating condition in the pipe before sizing, since velocity depends on actual, not standard, volume.

FAQ

Is nominal size the same as inside diameter? No. NPS and DN labels are nominal; the true bore depends on wall schedule. Always confirm the published inside diameter for your schedule, then re-check velocity with \(v = 4Q/(\pi d^{2})\).

Does this account for pressure drop? Not directly. Velocity-based sizing is the standard first pass; follow it with a friction-loss check (Darcy-Weisbach or Hazen-Williams) over the real pipe length and fittings.

What about gases or viscous fluids? The geometry is identical, but target velocities differ widely: compressed air and steam lines run far faster, thick slurries far slower. Use the velocity limit your code or supplier recommends for that fluid.

Last updated:

Most popular in Physics and Engineering

View all Physics and Engineering calculators