PIPING / Pipe Internal Volume Calculator

Pipe Internal Volume Calculator

Find the full internal capacity of a straight pipe using its outside diameter, wall thickness and length.

Inputs

Updates as you type

Results

Internal volume

0.005m³
Results
Internal volume5.027 L
Internal volume1.328 US gal
Inside diameter80 mm
Internal surface area5,026.548 mm²

Overview

Find the full internal capacity of a straight pipe using its outside diameter, wall thickness and length. Use it to estimate the water needed for a hydrotest or flushing, or the volume drained when a line is emptied.

Formula

ID = OD − 2t
Ainternal = πID²/4
V = Ainternal × L

Example

OD 100 mm, wall 10 mm and length 1 m give ID 80 mm and approximately 0.005027 m³, or 5.027 L, of internal volume. 100 m of NPS 4 Sch 40 (114.3 mm OD, 6.02 mm wall) has a 102.26 mm bore and holds about 0.821 m³ (821.3 L), about 821 kg of water.

How to use

  1. Enter actual outside diameter and wall thickness with their respective units.
  2. Enter straight pipe length and its unit; the calculation assumes a full bore.
  3. Read internal volume in m³, L and US gal, and check the calculated inside diameter.

Engineering notes

  • Use actual pipe dimensions. Linings and manufacturing tolerances can change the available bore.
  • The pipe is assumed to be full. Partial filling and additional fitting volumes are not included. Gallons are US liquid gallons.
  • For hydrotest quantities, add the volume of valves, fittings and equipment nozzles, plus a margin for venting and draining, to the straight pipe.
  • Multiplying the volume by the fluid density gives the mass of the contents: about 1,000 kg/m³ for water and about 840 kg/m³ for diesel, varying with fluid and temperature.

Frequently asked questions FAQ

Does material density affect internal capacity?

No. Capacity depends on bore and length. To calculate the contained fluid mass, multiply internal volume by the fluid density.

Is there a quick way to get volume per meter?

With the bore in mm, L/m ≈ 0.000785 × ID². A 100 mm bore holds about 7.85 L/m and a 200 mm bore about 31.4 L/m: doubling the diameter quadruples the volume.

Are elbows and tees included?

No. Approximate a fitting-heavy run by adding the fittings' centerline lengths to the straight length, or add the internal volumes from the manufacturer's data.

Related guides

KEEP WORKING