Pipe Diameter From Flow Calculator: Size Pipe from Flow & Velocity
Pipe sizing is one of the most fundamental tasks in plumbing, HVAC, and process engineering. Get it wrong and the consequences are immediate: excessive noise, erosion, pressure drop, inadequate flow, or — in the worst case — system failure. Get it right and the system runs quietly, efficiently, and reliably for decades. The relationship between flow rate, velocity, and pipe diameter is simple in principle — Q = A × v — but in practice it is complicated by material choice, water temperature, head loss, and the wide range of standard pipe sizes used across metric and imperial markets.
Our Pipe Diameter Calculator is a free online tool that takes the guesswork out of pipe sizing. It calculates the minimum internal bore required for a given flow rate and target velocity, recommends the nearest standard DN size, computes the actual velocity in that pipe, converts to the nearest imperial size, and estimates head loss using the Hazen-Williams formula. It also calculates the Reynolds number and indicates whether the flow is laminar, transitional, or turbulent.
In this guide, we will show you how to use the calculator, explain each input and output, walk through six real-world examples across plumbing, HVAC, and irrigation, and answer eight of the most frequently asked questions about pipe sizing.
Pipe Diameter From Flow
Construction CalculatorPipe diameter from flow rate and target velocity: minimum bore, recommended DN size, head loss.
What is the Pipe Diameter Calculator?
The Pipe Diameter Calculator is a free online tool that determines the required internal diameter of a pipe based on flow rate and target velocity. It supports six flow units (L/s, L/min, L/h, m³/h, US GPM, UK GPM), five velocity presets (suction, discharge, mains, gravity, HVAC) plus a custom override, and five pipe materials (copper, PEX, PVC, steel, other).
The output includes:
- Flow rate in m³/s, m³/h, and L/min
- Target velocity
- Minimum bore
- Recommended DN size
- Actual velocity at the recommended DN
- Velocity warning (high / low / in range)
- Imperial equivalent: exact bore and nearest standard size
- Hazen-Williams C factor for the selected material
- Head loss per metre
- Total head loss for the pipe length
- Pressure drop in kPa
- Reynolds number and flow regime
- Internal pipe volume in litres
The tool is part of a suite of plumbing and HVAC calculators available on our website. For related calculations, you can use our Flow Rate Converter, Pipe Volume Calculator (Litres), Water Tank Volume Calculator, and Water Demand / Flow Rate Calculator.
Why Pipe Diameter Matters
Pipe sizing is not just an academic exercise. It has direct consequences for system performance, energy consumption, noise, and longevity. Here is why accurate pipe diameter calculation is essential.
Velocity Controls Noise and Erosion
Water flowing through a pipe at high velocity generates noise, vibration, and erosion. In domestic plumbing, velocities above 2.5–3.0 m/s are audibly noisy. In industrial systems, velocities above 4–5 m/s can erode pipe walls, especially at bends and fittings. The target velocity is the primary design constraint, and it drives the pipe diameter directly.
Pressure Drop and Pump Energy
As pipe diameter decreases, velocity increases, and pressure drop rises with roughly the square of the velocity. A pipe that is one size too small can double the pressure drop, forcing the pump to work harder and consuming more energy. In HVAC chilled water systems, this can add thousands of dollars per year in pumping energy.
Low Velocity Causes Sediment and Air Problems
Velocity that is too low is also a problem. Below about 0.5 m/s in horizontal pipes, suspended solids can settle out, causing blockages. In hot water systems, low velocity allows air to collect at high points, causing circulation problems.
Material and Roughness
Different pipe materials have different internal roughness. Copper and plastic pipes are smooth; galvanised steel is rougher. The rougher the pipe, the higher the head loss for the same flow and diameter. The Hazen-Williams coefficient (C) captures this. The calculator uses material-specific C values.
Water Temperature
Water viscosity decreases with temperature. A hot water pipe at 60 °C has significantly lower viscosity than a cold water pipe at 10 °C. This changes the Reynolds number and, in extreme cases, the flow regime. For most building services applications the effect on sizing is small, but for critical calculations it matters.
Standard Sizes and Market Availability
Pipes are manufactured in a fixed set of standard sizes. In metric markets, DN sizes are used (DN15, DN20, DN25, etc.). In imperial markets, nominal inch sizes are used (½”, ¾”, 1″, etc.). After calculating the minimum bore, you must round up to the next available size. The calculator does this automatically for both metric and imperial.
For more information on pipe sizing, you can refer to Wikipedia’s article on pipe sizing or the Engineering Toolbox.
How to Use the Pipe Diameter Calculator
Using the calculator is straightforward. Here is a breakdown of each field.
1. Flow
- Flow unit: Select the unit of the flow rate: L/s, L/min, L/h, m³/h, US GPM, or UK GPM.
- Flow rate: Enter the numeric flow value. Decimals are supported.
2. Velocity
- Application: Select the application — each preset applies a typical target velocity:
- Pump suction: 0.8 m/s
- Pump discharge: 2.0 m/s
- Mains water: 1.5 m/s
- Gravity drain: 0.7 m/s
- HVAC water: 1.5 m/s
- Custom velocity: no preset; you must set the override.
- Target velocity override: Enter a custom velocity in m/s. Set to 0 to use the preset.
3. Reference
- Pipe material: Select copper, PEX / PERT, PVC / uPVC, steel (galvanised), or other. The material determines the Hazen-Williams C coefficient for head loss calculation:
- Copper: C = 135
- PEX: C = 145
- PVC: C = 145
- Steel (galvanised): C = 110
- Other: C = 130
4. Head Loss
- Pipe length: Enter the total length of pipe run in metres. Used for total head loss.
- Water temperature: Enter the water temperature in °C. Used for the kinematic viscosity in the Reynolds number calculation.
Once you enter all values, the calculator instantly displays the flow rate in three units, target velocity, minimum bore, recommended DN, actual velocity, velocity warning, imperial equivalent, Hazen-Williams C, head loss per metre, total head loss, pressure drop, Reynolds number, flow regime, and pipe internal volume.
Understanding the Calculations
To make the most of the calculator, it is important to understand each output and the underlying formulas.
Flow Rate Conversion
All flow units are converted to m³/s as the base:
| Unit | Conversion to m³/s |
|---|---|
| L/s | × 0.001 |
| L/min | × 0.001 / 60 |
| L/h | × 0.001 / 3600 |
| m³/h | × 1 / 3600 |
| US GPM | × 3.785411784 / 1000 / 60 |
| UK GPM | × 4.54609 / 1000 / 60 |
Minimum Bore
From the continuity equation Q = A × v:
- A = Q / v
- D = √(4A / π) = √(4Q / (π × v))
The result is the minimum internal diameter required to achieve the target velocity at the given flow rate.
Recommended DN
The minimum bore is rounded up to the next standard DN size. Standard sizes used:
10, 15, 20, 25, 32, 40, 50, 65, 80, 100, 125, 150, 200, 250, 300, 400, 500 mm.
Actual Velocity
At the recommended DN, the actual velocity is recalculated:
v_actual = Q / (π × (D_rec/2)²)
If the recommended DN is larger than the minimum, the actual velocity is lower than the target. This is normal and desirable — the pipe will be quieter and have lower pressure drop.
Imperial Equivalent
The minimum bore in mm is converted to inches (mm / 25.4), and the nearest standard imperial size at or above the exact value is recommended. Standard imperial sizes:
⅛”, ¼”, ⅜”, ½”, ⅝”, ¾”, 1″, 1¼”, 1½”, 2″, 2½”, 3″, 4″, 5″, 6″, 8″, 10″, 12″, 14″, 16″, 18″, 20″.
Hazen-Williams Head Loss
The Hazen-Williams formula is used for head loss:
h_f = 10.67 × Q^1.852 / (C^1.852 × D^4.87)
Where:
- h_f is head loss in metres per metre of pipe
- Q is flow in m³/s
- C is the Hazen-Williams coefficient (material-specific)
- D is the internal diameter in metres
Total head loss = h_f × pipe length.
Pressure Drop
Pressure drop is derived from head loss:
ΔP = ρ × g × h = 1000 × 9.81 × h (in Pa)
Divided by 1000 for kPa.
Reynolds Number
Re = v × D / ν
Where ν is the kinematic viscosity of water at the specified temperature. The calculator uses a standard interpolation table from 0 °C to 60 °C.
Flow regime:
- Re < 2300: laminar
- 2300 ≤ Re < 4000: transitional
- Re ≥ 4000: turbulent
Most building services water flows are turbulent, which is desirable for heat transfer and sediment transport.
Pipe Internal Volume
V = π × (D/2)² × L, in m³, then × 1000 for litres.
Understanding these components helps you interpret the results and adjust your design. For more information on pipe sizing and hydraulics, you can refer to Wikipedia’s article on Hazen-Williams equation or the Engineering Toolbox.
Velocity Presets Reference
| Application | Typical velocity |
|---|---|
| Pump suction | 0.8 m/s |
| Pump discharge | 2.0 m/s |
| Mains water | 1.5 m/s |
| Gravity drain | 0.7 m/s |
| HVAC chilled / hot water | 1.5 m/s |
| Domestic cold water | 1.5–2.0 m/s |
| Domestic hot water | 1.0–1.5 m/s |
| Fire sprinkler (branch) | 4.0–6.0 m/s |
The presets in the calculator cover the most common building services applications. For unusual cases, use the override.
Example Calculations
Let’s run through six examples across plumbing, HVAC, and irrigation.
Example 1: Domestic Mains Water at 0.5 L/s
Inputs:
- Flow unit: L/s
- Flow: 0.5
- Application: Mains water
- Material: Copper
- Pipe length: 20 m
- Water temperature: 15 °C
Calculations:
- Q = 0.5 L/s = 0.0005 m³/s
- v_target = 1.5 m/s
- A_min = 0.0005 / 1.5 = 3.333e-4 m²
- D_min = √(4 × 3.333e-4 / π) = √(4.244e-4) = 0.02060 m = 20.60 mm
- Recommended DN = 25 mm
- v_actual = 0.0005 / (π × 0.0125²) = 0.0005 / 4.909e-4 = 1.019 m/s
- Imperial: 20.60 mm = 0.811 in → nearest 1″ (or ¾” is 19.05 mm — insufficient, so 1″)
- C (copper) = 135
- h_per_m = 10.67 × 0.0005^1.852 / (135^1.852 × 0.025^4.87) ≈ 0.00968 m/m
- Total head loss (20 m) = 0.194 m
- Pressure drop = 0.194 × 9.81 = 1.90 kPa
- Re = 1.019 × 0.025 / 1.139e-6 ≈ 22,370 → Turbulent
- Pipe volume = π × 0.0125² × 20 × 1000 = 9.82 L
Example 2: HVAC Chilled Water at 5 L/s
Inputs:
- Flow unit: L/s
- Flow: 5
- Application: HVAC
- Material: Steel (galvanised)
- Pipe length: 50 m
- Water temperature: 7 °C
Calculations:
- Q = 0.005 m³/s
- v_target = 1.5 m/s
- A_min = 0.005 / 1.5 = 3.333e-3 m²
- D_min = √(4 × 3.333e-3 / π) = √(4.244e-3) = 0.06515 m = 65.15 mm
- Recommended DN = 80 mm
- v_actual = 0.005 / (π × 0.040²) = 0.005 / 5.027e-3 = 0.995 m/s
- C (steel) = 110
- h_per_m = 10.67 × 0.005^1.852 / (110^1.852 × 0.080^4.87) ≈ 0.00574 m/m
- Total head loss (50 m) = 0.287 m
- Pressure drop = 0.287 × 9.81 = 2.82 kPa
- Re ≈ 0.995 × 0.080 / 1.307e-6 ≈ 60,900 → Turbulent
- Pipe volume = π × 0.040² × 50 × 1000 = 251 L
Example 3: Pump Discharge at 20 m³/h
Inputs:
- Flow unit: m³/h
- Flow: 20
- Application: Pump discharge
- Material: PVC
- Pipe length: 100 m
- Water temperature: 20 °C
Calculations:
- Q = 20/3600 = 0.005556 m³/s
- v_target = 2.0 m/s
- A_min = 0.005556 / 2.0 = 2.778e-3 m²
- D_min = √(4 × 2.778e-3 / π) = √(3.537e-3) = 0.05947 m = 59.47 mm
- Recommended DN = 65 mm
- v_actual = 0.005556 / (π × 0.0325²) = 0.005556 / 3.318e-3 = 1.674 m/s
- C (PVC) = 145
- h_per_m ≈ 0.01763 m/m
- Total head loss (100 m) = 1.76 m
- Pressure drop = 1.76 × 9.81 = 17.3 kPa
- Re ≈ 1.674 × 0.065 / 1.004e-6 ≈ 108,400 → Turbulent
- Pipe volume = π × 0.0325² × 100 × 1000 = 331.8 L
Example 4: UK Residential Supply at 3 GPM (UK)
Inputs:
- Flow unit: UK GPM
- Flow: 3
- Application: Mains water
- Material: PEX
- Pipe length: 15 m
- Water temperature: 10 °C
Calculations:
- Q = 3 × 4.54609 / 1000 / 60 = 2.273e-4 m³/s
- v_target = 1.5 m/s
- A_min = 2.273e-4 / 1.5 = 1.515e-4 m²
- D_min = √(4 × 1.515e-4 / π) = √(1.930e-4) = 0.01389 m = 13.89 mm
- Recommended DN = 15 mm
- v_actual = 2.273e-4 / (π × 0.0075²) = 2.273e-4 / 1.767e-4 = 1.286 m/s
- C (PEX) = 145
- h_per_m ≈ 0.02303 m/m
- Total head loss (15 m) = 0.345 m
- Pressure drop = 3.39 kPa
- Re ≈ 1.286 × 0.015 / 1.307e-6 ≈ 14,760 → Turbulent
- Pipe volume = π × 0.0075² × 15 × 1000 = 2.65 L
Example 5: Pump Suction at 1 L/s
Inputs:
- Flow unit: L/s
- Flow: 1
- Application: Pump suction
- Material: Copper
- Pipe length: 5 m
- Water temperature: 20 °C
Calculations:
- Q = 0.001 m³/s
- v_target = 0.8 m/s
- A_min = 0.001 / 0.8 = 1.25e-3 m²
- D_min = √(4 × 1.25e-3 / π) = √(1.592e-3) = 0.03989 m = 39.89 mm
- Recommended DN = 40 mm
- v_actual = 0.001 / (π × 0.020²) = 0.001 / 1.257e-3 = 0.796 m/s
- C (copper) = 135
- h_per_m ≈ 0.00217 m/m
- Total head loss (5 m) = 0.0108 m
- Pressure drop = 0.106 kPa
- Re ≈ 0.796 × 0.040 / 1.004e-6 ≈ 31,700 → Turbulent
- Pipe volume = 6.28 L
Example 6: Gravity Drain at 2 L/s
Inputs:
- Flow unit: L/s
- Flow: 2
- Application: Gravity drain
- Material: PVC
- Pipe length: 30 m
- Water temperature: 15 °C
Calculations:
- Q = 0.002 m³/s
- v_target = 0.7 m/s
- A_min = 0.002 / 0.7 = 2.857e-3 m²
- D_min = √(4 × 2.857e-3 / π) = √(3.637e-3) = 0.06031 m = 60.31 mm
- Recommended DN = 65 mm
- v_actual = 0.002 / (π × 0.0325²) = 0.002 / 3.318e-3 = 0.603 m/s
- C (PVC) = 145
- h_per_m ≈ 0.00271 m/m
- Total head loss (30 m) = 0.0813 m
- Pressure drop = 0.80 kPa
- Re ≈ 0.603 × 0.065 / 1.139e-6 ≈ 34,400 → Turbulent
- Pipe volume = 99.5 L
These examples show how the calculator handles a wide range of flows, applications, materials, and pipe lengths.
Benefits of Using the Pipe Diameter Calculator
Tips for Accurate Pipe Sizing
- Confirm the target velocity for your application. Pump suction is usually 0.8 m/s; pump discharge 2.0 m/s; mains water 1.5 m/s; gravity drain 0.7 m/s. These are engineering conventions, not arbitrary values.
- Use the correct material C factor. Copper and plastic are smooth (C=135–145); galvanised steel is rougher (C=110). Using the wrong C factor skews the head loss significantly.
- Consider the actual internal diameter. Nominal DN sizes do not always equal the internal bore, especially for steel pipes. For critical calculations, use the actual internal diameter.
- Account for fittings. Elbows, tees, and valves add equivalent length to the pipe run. Add 10–30% to the pipe length for fittings.
- Check Reynolds number. Most water flows should be turbulent. Laminar flow is rare in building services but common in small-bore heating circuits.
- Use the velocity warning. Above 3 m/s is noisy; below 0.5 m/s risks sediment in horizontal pipes.
- Verify with the imperial equivalent. If you work in imperial units, use the “Nearest standard (inch)” output to pick a real pipe size.
- Check total head loss against pump capacity. Total head loss plus static lift must not exceed the pump’s duty point.
- Consider noise. For domestic plumbing, keep velocities below 2 m/s to avoid audible noise, especially in bedrooms and living rooms.
- Watch for water hammer. High-velocity flows in long pipe runs can cause water hammer when valves close. Use slow-closing valves or install arrestors.
- Plan for future capacity. If flow might increase, size for the future peak, not the current demand.
- Verify with a professional. For critical systems, have a hydraulic engineer verify the design.
For more information on pipe sizing and hydraulics, you can refer to Wikipedia’s article on pipe sizing or the Engineering Toolbox.
Common Mistakes to Avoid
- Using the wrong flow unit. Mixing L/s and L/min, or US GPM and UK GPM, is the most common source of error.
- Ignoring the material C factor. Galvanised steel has much higher head loss than copper for the same flow and diameter.
- Not rounding up to the next standard size. You cannot buy an “exactly minimum bore” pipe — you must round up.
- Forgetting fittings. Elbows and tees add equivalent length and head loss.
- Using the nominal bore instead of the internal bore. For steel pipes especially, the internal bore is smaller than the nominal DN.
- Overlooking viscosity at high temperature. Hot water has lower viscosity and higher Reynolds number.
- Ignoring velocity warnings. High velocity means noise and erosion; low velocity means sediment.
- Not verifying total head loss. The pump must be able to overcome total head loss plus static lift.
- Assuming laminar flow is normal. In building services, most flows are turbulent, and laminar flow may indicate a problem.
- Not consulting a professional. For critical systems, always have an engineer verify the design.
Frequently Asked Questions (FAQ)
Conclusion
The Pipe Diameter Calculator is an essential tool for plumbers, HVAC engineers, process engineers, and contractors. It calculates the minimum bore, recommended DN size, actual velocity, head loss, Reynolds number, and pipe volume from flow rate, target velocity, and material. By following the tips in this article and using the calculator, you can confidently size pipes for any application and avoid the noise, erosion, and energy problems that result from getting it wrong.
Whether you are sizing a domestic mains supply, a commercial chilled water system, or an irrigation main, accurate pipe sizing is the foundation of a well-designed system. Try the Pipe Diameter Calculator today and take the guesswork out of your hydraulic calculations.

4 Comments