Line Size Calculator

Engineering calculator reviewed for preliminary design use · Last updated: March 2026

Calculate required pipe diameter from target flow velocity (liquid: 1–3 m/s, gas: 10–30 m/s guideline) and flow rate. Round to standard pipe sizes and verify actual velocity. Use for preliminary pipe sizing in early-stage process design.

What this calculator is used for

Selecting the correct pipe diameter is critical for ensuring safe, efficient, and economical operation of piping systems. Pipe size directly influences velocity, pressure loss, and long-term maintenance costs.

Typical engineering use cases

  • Initial pipe sizing during conceptual and FEED stages
  • Checking compliance with velocity guidelines
  • Evaluating diameter impact on pressure drop and pump duty

Governing equation and methodology

Pipe diameter is calculated by rearranging the continuity equation using a target velocity:

D = √(4Q / (πv))

Engineering assumptions and limitations

  • Single-phase, steady-state flow
  • Uniform velocity profile

Practical design notes

Pipe sizing should always be reviewed together with pressure loss, pump head, and material selection. Conservative velocity limits are recommended for erosive or corrosive services.

Worked Example

Given:

  • Liquid flow Q = 100 m³/h (0.0278 m³/s)
  • Target velocity v = 2.0 m/s (within the 1–3 m/s liquid band)

Method: Required area A = Q/v = 0.0278/2.0 = 0.0139 m². Diameter D = √(4A/π) = √(0.0177) ≈ 0.133 m = 133 mm.

Result: Calculated D ≈ 133 mm → round up to DN150; actual velocity then drops to ≈ 1.5 m/s.

Interpretation: You never install the exact computed bore — round UP to the next commercial size so velocity stays below the limit. The penalty of rounding down (here to DN125, v ≈ 2.3 m/s) is higher pressure drop and erosion risk, so the conservative move is always the larger pipe.

Common Mistakes & Misuse

  • Sizing on a target velocity alone and skipping the pressure-drop budget — a velocity-acceptable line can still exceed the allowable ΔP over a long run.
  • Ignoring the erosional velocity limit (API RP 14E C-factor) for two-phase or high-velocity gas, where the velocity guideline no longer governs.
  • Computing area from the nominal pipe size instead of the actual schedule bore, so the rounded size runs faster than intended.
  • Applying single-phase liquid velocity rules to flashing or two-phase service, which needs a momentum (ρv²) criterion instead.
  • Treating the preliminary size as final without re-checking velocity after rounding up to the next commercial diameter.

Frequently Asked Questions

How do I choose the right pipe diameter?

Select a pipe diameter that keeps flow velocity within recommended limits for your fluid: 1–3 m/s for liquids, 10–30 m/s for gases. Then verify the pressure drop is acceptable for your system.

Is velocity the only criterion for pipe sizing?

No. Erosion velocity limits, noise limits, pressure drop budget, and two-phase flow considerations may also govern. This tool provides a preliminary size that should be verified with detailed calculations.

Related Calculators

Use note
  • Updated: March 2026
  • Intended for preliminary engineering use

For preliminary estimation and educational use only. Results may depend strongly on assumptions, input data, fluid or material properties, and the range of validity of the underlying equation. Verify critical calculations independently and follow the applicable code, specification, and formal engineering review process before using any result for design, procurement, fabrication, operation, or safety decisions.