Flow, target velocity and preliminary diameter

Pipe Diameter Calculator

Estimate the inside pipe diameter needed to carry an entered flow at a selected target velocity, with area, rounded reference size and pipe cost.

Imperial and metric Rounded purchase quantities Cost estimate

Default project preview

1.28 in

Required flow area

1.28 in²

Velocity at rounded ID

3.63 ft/s

Design flow

20 gal/min

Pipe length

100 ft

Calculator

Build the material order

Your order will appear here

Enter the project details and calculate a rounded material estimate.

Input and output guide

What each value means

The labels and units below are part of this calculator’s visible methodology. Replace every default with measurements or product data from the actual project.

Design flow

Enter this project assumption in gal/min. The current imperial default is 20 gal/min.

Target velocity

Enter this project assumption in ft/s. The current imperial default is 5 ft/s.

Diameter rounding increment

Enter this project assumption in in. The current imperial default is 0.25 in.

Pipe length

Enter this project assumption in ft. The current imperial default is 100 ft.

Price per pipe length

Enter this project assumption in per ft. The current imperial default is 3.5 per ft. Minimum: 0.

How to read the outputs

Required flow area

flow ÷ velocity. Default preview: 1.28 in².

Velocity at rounded ID

using rounded reference. Default preview: 3.63 ft/s.

Design flow

entered flow. Default preview: 20 gal/min.

Pipe length

cost reference. Default preview: 100 ft.

Length cost

entered unit rate. Default preview: $350.00.

Metric diameter

calculated inside diameter. Default preview: 32.5 mm.

Methodology

Transparent calculation

BuildMeter converts every input to a consistent internal unit, applies the selected allowance, and rounds products up to whole purchasable units.

Flow area = volumetric flow ÷ target velocity. Inside diameter = √(4 × area ÷ π). The reference diameter is rounded up by the entered increment.

Reviewed project guidance

How to use this estimate in a real project

Last reviewed: July 29, 2026

This calculator derives an ideal internal pipe diameter from entered flow and target velocity. It is useful for screening standard sizes but does not check friction loss, pressure, surge, solids or code requirements.

Calculation steps

  1. 1Convert flow to cubic volume per second.
  2. 2Divide by target velocity to obtain required area.
  3. 3Convert area to circular diameter.
  4. 4Select a standard pipe using actual inside diameter and verify pressure loss.

Worked numerical example

A flow of 20 gpm at a target velocity of 5 ft/s requires an internal flow area of about 0.0089 ft², corresponding to an ideal diameter near 1.28 in before choosing a real pipe size.

Purchasing and rounding

Nominal pipe size does not equal inside diameter. Schedule, SDR and material determine the real bore used for final checks.

Interpret the result

Lower target velocity requires a larger pipe. Choosing the next nominal size can improve pressure loss but may affect cost and system response.

Page-specific assumptions

  • Full circular pipe.
  • Steady single-phase flow.
  • Target velocity is user-selected and appropriate.
  • No minimum self-cleaning requirement is implied.

Common mistakes

  • Using outside diameter.
  • Treating velocity guidance as universal.
  • Skipping friction calculations.
  • Rounding down to a smaller nominal size.

Primary and technical references

BuildMeter provides planning estimates, not engineering, architectural, electrical, mechanical, plumbing, permit or code approval. Review the methodology and verify final decisions with product documentation and qualified professionals.

Related tools

Continue planning the project

BuildMeter Guides

Understand the measurements and assumptions

Use these visible reference guides before changing project inputs or planning allowances.

FAQ

Pipe Diameter Calculator questions

Is nominal pipe size the same as inside diameter?+

No. Inside diameter varies with material, schedule, pressure class and wall thickness.

Should pressure loss also be checked?+

Yes. A diameter that meets velocity may still create too much friction loss over the full system.

Why round the diameter up?+

Rounding up gives a planning reference, but the available product size and actual inside diameter must be verified.

Built and reviewed by Liron Elimeleh

Liron Elimeleh, software engineer and founder of BuildMeter, develops the calculation logic, unit conversions, validation and visible assumptions. ELStudios maintains the source and public correction history.

Individual editorial review completed: July 29, 2026

About the author