TR | EN
CivilCalc
Fast • Mobile • Engineering Calculations
CivilCalc • Infrastructure / Pipe & Hydraulics

Pipe Diameter Calculator

Select a suitable pipe diameter from target flow, slope, roughness and allowable filling ratio for a fast hydraulic check.

Diameter sizingFlow rateSlopeManning n
← All Calculators

Pipe Sizing

Selects the first suitable standard pipe diameter based on design flow, slope and pipe material.

Calculation method and use

Estimates the internal pipe diameter required to carry a target flow at a selected mean velocity using the continuity equation.

Q = A × V → D = √(4Q / πV)

Example and practical interpretation

At 500 GPM and a target velocity of 5 ft/s, the theoretical internal diameter is about 6.5 in. Reducing target velocity increases the required diameter.

Points to check

  • Convert flow rate to the correct units.
  • Choose a velocity range suitable for the system.
  • Compare calculated internal diameter with actual standard-pipe internal diameters.

Frequently asked questions

How is diameter found from flow rate?

Divide flow by target velocity to obtain area, then convert circular area to diameter.

Is nominal diameter the same as internal diameter?

Not always; wall thickness can make the actual bore smaller than the nominal size.

Why choose a larger pipe?

At the same flow, a larger bore lowers velocity and usually reduces friction loss, but increases capital cost.

Pipe Diameter from Flow Rate and Target Velocity

For a full-flowing or pressurized pipe, an initial diameter estimate follows directly from continuity. CivilCalc calculates the required inside diameter; the selected commercial pipe must then be checked for actual ID, pressure class and hydraulic losses.

Q = A × V   →   D = √(4Q / πV)

Engineering reference updated: September 2026

How Q, velocity and diameter interact

At the same flow rate, a higher target velocity produces a smaller theoretical diameter, while a lower velocity requires a larger flow area. A smaller pipe is not automatically a better design: friction loss and energy demand generally rise as velocity increases.

Use actual inside diameter

The D in the hydraulic equation is the actual inside diameter, not merely the nominal pipe designation. Wall thickness and pressure class can change the ID of PE, PVC and steel products with the same nominal size. Recheck the calculation with manufacturer dimensions.

Required theoretical ID at 20 L/s (317 gpm)

Target velocityTheoretical IDInterpretation
0.5 m/s (1.64 ft/s)≈ 226 mm (8.9 in)Lower velocity, larger area
1.0 m/s (3.28 ft/s)≈ 160 mm (6.3 in)Preliminary sizing comparison
1.5 m/s (4.92 ft/s)≈ 130 mm (5.1 in)Smaller area; verify losses
2.0 m/s (6.56 ft/s)≈ 113 mm (4.4 in)Check high-velocity effects

These values are continuity-equation comparisons for Q=20 L/s only. Project-specific velocity criteria govern the final selection.

Worked example

For 35 L/s (about 555 gpm) at a target velocity of 1.2 m/s (3.94 ft/s):

D = √[4×0.035 /(π×1.2)] ≈ 193 mm (7.6 in)

This is a theoretical ID, not a commercial pipe callout. Select an available pipe, then recalculate actual velocity and head loss using its real ID.

Velocity after selecting a pipe

Once an actual inside diameter D is known, calculate the resulting average velocity from:

V = 4Q / (πD²)

A practical workflow is: theoretical ID → commercial pipe → actual velocity → head-loss and pressure checks.

Six engineering checks before finalizing pipe size

  1. Design flow: Use the applicable design or peak condition, not an unrelated average flow.
  2. Actual ID: Do not confuse nominal size with hydraulic inside diameter.
  3. Velocity: Verify project-specific minimum and maximum criteria.
  4. Head loss: Check the selected size with Darcy-Weisbach or the specified method.
  5. Pressure class: Evaluate static/dynamic pressure and surge separately.
  6. Operation: Consider future flow, pump operating point, fittings and maintenance.

Frequently asked questions

Is nominal pipe size the same as inside diameter?

Not necessarily. Wall thickness and pressure class can materially change the actual inside diameter.

Why does a higher target velocity reduce required diameter?

Because Q=A×V. For the same flow, increasing velocity reduces the required flow area, but it may increase hydraulic losses and operating concerns.

Can I select an 8-inch pipe when the result is 7.6 inches?

It may be a candidate, but the actual product ID, resulting velocity, head loss, pressure class and design criteria must be checked before final selection.

Can this size a gravity sewer?

The continuity relationship applies to full-flow geometry. Part-full gravity sewer design also requires Manning, depth-of-flow and self-cleansing checks.