BestCalcHub
BestCalcHub
Online calculators

Pipe Diameter Calculator

Pipe Sizing from Flow Rate and Velocity

Last Updated: July 18, 2026by Muneeb

Calculate required pipe internal diameter from flow rate and velocity. Free pipe sizing calculator for water, HVAC, process, and industrial piping systems.

Flow Inputs

Results

Enter valid inputs to see results

What is a Pipe Diameter Calculator?

In fluid dynamics and hydraulic engineering, selecting the correct internal pipe diameter is the most critical decision for ensuring system efficiency and preventing catastrophic failure. An undersized pipe causes excessive friction, skyrocketing pressure drops, and severe pump strain, while an oversized pipe results in poor fluid velocity, sediment buildup, and unnecessary material costs.

A pipe diameter calculator is the essential engineering tool for rapidly determining the required internal sizing for any fluid transport system. By inputting your known flow rate (in GPM, LPM, or m³/hr) alongside your target design velocity, this tool instantly calculates the exact minimum internal diameter in both millimetres and inches. Whether you are designing municipal water supply networks, industrial process pipelines, or commercial HVAC chilled water systems, this calculator ensures your pipe sizing meets strict engineering tolerances and efficiency standards.

Guide Content

How to Use the Pipe Diameter Calculator - Pipe Sizing from Flow Rate

1. Enter the design flow rate

Input the required flow rate in GPM, LPM, or m³/hr. Use the maximum expected flow rate in the system to ensure the pipe is not undersized during peak demand.

2. Set the target fluid velocity

Choose a design velocity appropriate to the application. Lower velocity means a larger pipe but lower pressure drop. Higher velocity reduces pipe cost but increases friction losses and pump energy.

3. Read the minimum internal diameter

The calculator returns the minimum internal diameter in mm and inches. This is the smallest bore that achieves the target velocity at the stated flow rate.

4. Select the nearest nominal pipe size

Look up the calculated internal diameter in a pipe schedule table and select the nearest nominal size that gives an internal bore equal to or larger than the calculated value.

Guide Content

Key Formulas

Pipe diameter formula

D = √(4 × Q ÷ (π × v))

Derived from Q = A × v. D is internal diameter in metres, Q is flow rate in m³/s, and v is design velocity in m/s. Always round up to the next standard pipe size.

Cross-sectional area formula

A = π × (D/2)² = π × D² ÷ 4

Calculates the internal cross-sectional area of the pipe from internal diameter. Area in m² multiplied by velocity in m/s gives flow rate in m³/s.

Velocity check formula

v = Q ÷ A = Q ÷ (π × (D/2)²)

After selecting a standard pipe size, use this to verify actual fluid velocity. Actual velocity may differ slightly from target because real pipe sizes are discrete, not continuous.

Guide Content

Key Factors

01
Consideration

Pipe schedule and wall thickness

The same nominal pipe size in different schedules has different internal bores. Sch 40 has thinner walls and larger bore than Sch 80 at the same nominal size. Always check the internal diameter in published pipe schedule tables.

02
Consideration

Pressure drop consequences

A smaller pipe at higher velocity increases frictional pressure drop significantly, raising pump head requirements and operating energy cost. Size pipes to balance capital and operating costs.

03
Consideration

Fluid properties

This calculator assumes clean water or similar low-viscosity liquids. Viscous fluids, slurries, or fluids with suspended solids require different velocity criteria and may need specialist pipe sizing methods.

04
Consideration

Future capacity

Where possible, size pipes for future flow increases. Moving up one pipe size significantly reduces velocity and pressure drop at higher future flow rates, often at low additional cost during initial installation.

Guide Content

Pipe Velocity Design Guide

Pump suction line

0.5–1.5 m/s

Low velocity on suction minimises pressure losses and prevents cavitation. Suction pipes are often one size larger than discharge pipes for the same flow.

Water distribution / general discharge

1.5–3.0 m/s

Practical range for most water supply, cooling water, and process distribution piping balancing pipe cost and pressure drop.

HVAC chilled or hot water

1.0–2.5 m/s

Building services guidance typically limits velocity to 2.5 m/s to control noise and erosion in copper and carbon steel pipes.

Boiler feed water line

1.5–2.5 m/s

Feed water lines to boilers use moderate velocity to manage friction losses while keeping pipe size economical over long runs.

Guide Content

Typical Project Ranges

Domestic water or small irrigation

15–50 mm (½–2 inch)

Small bore pipes for domestic supply, garden irrigation, and light commercial applications at low to moderate flow rates.

Commercial building services

50–150 mm (2–6 inch)

Mid-range pipe sizes for HVAC chilled water, hot water systems, and commercial process loops at medium flow rates.

Industrial process or main distribution

150–600 mm (6–24 inch)

Large bore pipework for industrial cooling water mains, boiler feed systems, and high-flow process applications.

Guide Content

Related Planning Tools

Guide Content

Frequently Asked Questions

How do I calculate pipe diameter from flow rate?
Rearrange the flow rate formula Q = A × v to get D = √(4Q ÷ πv), where Q is flow rate in m³/s and v is design velocity in m/s. Enter your flow rate and target velocity into this calculator and it returns the minimum internal diameter required.
What is the formula for pipe diameter?
The pipe diameter formula derived from Q = A × v is D = √(4Q ÷ π × v). This gives the internal diameter in metres when Q is in m³/s and v is in m/s. The calculator handles all unit conversions from GPM, LPM, or m³/hr.
What is the correct pipe size for 100 GPM?
At 100 GPM and a design velocity of 2 m/s, the required internal diameter is approximately 73 mm (about 3 inches NPS). At 1.5 m/s the required diameter increases to around 85 mm. Always round up to the next available nominal pipe size.
What pipe velocity should I design for?
General guidance is 1 to 2 m/s for suction lines and 2 to 3 m/s for discharge and distribution lines. Water supply systems often use 1 to 1.5 m/s. Higher velocities reduce pipe size but increase pressure drop and noise.
What is the difference between internal diameter and nominal pipe size?
Nominal pipe size (NPS or DN) is a reference number that does not equal the actual internal diameter. Wall thickness varies by pipe schedule (Sch 40, Sch 80, etc.), so a 4 inch NPS pipe may have an internal diameter of 102 mm on Sch 40 but only 97 mm on Sch 80.
Should I use internal or external diameter for pipe sizing?
Always use internal diameter for flow calculations because the external diameter includes wall thickness. The calculator returns the minimum required internal diameter — select the nearest larger nominal size from pipe tables for your chosen schedule.
How does flow rate affect pipe size?
Required pipe diameter increases with the square root of flow rate at constant velocity. Doubling the flow rate increases the required diameter by about 1.41 times, not double. This is why large flow rates need disproportionately larger pipes.
Can I use this calculator for gas pipelines?
This calculator is designed for incompressible liquids. Gas pipe sizing requires compressibility corrections, pressure ratio calculations, and often uses different equations such as the Weymouth or Panhandle formula. Use a dedicated gas pipeline calculator for gas systems.
What happens if I choose a pipe that is too small?
An undersized pipe produces excessive fluid velocity, which increases pressure drop, pump energy consumption, pipe erosion, and noise. In suction lines, high velocity can cause cavitation and pump damage.
Can I use this for chilled water pipe sizing in HVAC?
Yes. Enter the chilled water flow rate in LPM or GPM and a design velocity of 1 to 2 m/s for chilled water circuits. The calculator returns the minimum internal diameter to select the appropriate copper or steel pipe size from standard tables.

Disclaimer

This calculator provides minimum internal pipe diameter estimates based on ideal flow conditions. Actual pipe selection depends on available nominal sizes, pipe schedule, fluid properties, pressure rating, and system pressure drop requirements. Confirm sizing with a qualified piping or mechanical engineer for critical applications.