Pipe Internal Diameter Calculator

Size pipes accurately using flow and target velocity. Switch units, inspect behavior, and compare scenarios. Get clear engineering outputs for faster piping design choices.

Calculator Inputs

Use any label for your design case.
Choose how the flow is known.
kg/m³
Applied directly to the calculated diameter.

Example Data Table

Case Flow Input Target Velocity Density Viscosity Approx. Diameter
Water transfer 20 m³/h 1.5 m/s 998 kg/m³ 1 cP 68.7 mm
Compressed air line 500 cfm 20 m/s 1.2 kg/m³ 0.018 cP 122.6 mm
Fuel oil service 12 L/s 2.0 m/s 870 kg/m³ 20 cP 87.4 mm
Slurry feed 80 m³/h 3.0 m/s 1200 kg/m³ 8 cP 97.1 mm

These examples are illustrative. Final projects should still confirm velocity limits, erosion risk, pump head, and code requirements.

Formula Used

1) Flow area from target velocity
A = Q / v

2) Internal diameter from area
D = √(4Q / πv)

3) Volumetric flow from mass flow
Q = ṁ / ρ

4) Reynolds number
Re = ρvD / μ

5) Darcy pressure drop
ΔP = f(L / D)(ρv² / 2)

Where Q is volumetric flow, v is velocity, D is internal diameter, ρ is density, μ is dynamic viscosity, L is length, and f is Darcy friction factor.

How to Use This Calculator

  1. Choose whether your known input is volumetric or mass flow.
  2. Enter the flow value and select matching units.
  3. Fill in fluid density, viscosity, and target velocity.
  4. Select a roughness preset or enter custom roughness.
  5. Enter pipe length to estimate pressure drop.
  6. Add an oversize allowance if you want design margin.
  7. Press the calculate button to see the result above the form.
  8. Download the result as CSV or PDF when needed.

Frequently Asked Questions

1) What does this calculator size?

It estimates the required internal pipe diameter from flow and target velocity. It also reports Reynolds number, friction factor, pressure drop, and a reference nominal size.

2) When should I use mass flow mode?

Use mass flow mode when your process data is in kg/s, kg/h, or pounds per time. The tool converts mass flow to volumetric flow using density.

3) Why is density required?

Density is needed to convert mass flow into volumetric flow and to calculate Reynolds number, head loss, and pressure drop. Accurate density improves the hydraulic checks.

4) Why does viscosity matter?

Viscosity affects Reynolds number and friction behavior. A higher viscosity can shift flow toward laminar conditions and change the predicted pressure drop.

5) Is the nominal size exact?

No. It is only a quick reference based on internal diameter. Final pipe selection depends on schedule, lining, wall thickness, corrosion allowance, and standards.

6) What is oversize allowance?

Oversize allowance increases the calculated diameter by a chosen percentage. It is useful when you want extra margin for fouling, future capacity, or lower velocity.

7) Can I use this for gases?

Yes, for quick preliminary sizing. However, highly compressible gas systems may need more detailed methods that include pressure changes, temperature, and compressibility effects.

8) Which velocity should I choose?

Choose a target velocity based on fluid type, erosion risk, noise limits, pressure loss limits, and project standards. Lower velocities usually require larger pipes.

Related Calculators

pipe pressure calculatorpipeline sizing calculatorpipe expansion calculatorpipe bending stresspipe flow resistancepipeline thermal expansionpipe head losspipe burst pressure

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.