Tube Volume Calculator

Gas Pipe Volume Calculator Metric

A U-tube gauge on the gas line

More results

How Gas Pipe Volume Calculator Metric works?

The gas pipe volume calculator metric works in 3 steps: you enter 4 values (inner diameter, pipe length, gauge pressure and gas temperature), the tool applies V = π/4 × d² × L, and it shows the pipe volume, gas at standard conditions and litres per metre with a live drawing.

You enterInner diameterPipe lengthGauge pressureGas temperatureformulaYou getPipe volumeGas at standard conditionsLitres per metre

Gas installations in metric countries are sized in millimetres and metres, and tested in millibar. This calculator keeps every input and answer metric.

The U-tube in the drawing reads the gauge pressure as a water column: 1 mbar pushes water up about 10.2 mm.

3 steps to use the gas pipe volume calculator metric

  1. Enter the bore in millimetres and the length in metres.

  2. Enter the gauge pressure in bar (21 mbar = 0.021 bar) and the gas temperature in °C.

  3. Read the pipe volume in litres and the gas in standard m³.

The gas pipe volume calculator metric returns 7 results: pipe volume, gas at standard conditions, litres per metre, pipe volume in m³, standard litres, times atmospheric and absolute pressure. Every result switches between metric and imperial units.

Gas Pipe Volume Calculator Metric formula

The gas pipe volume calculator metric formula is V = π/4 × d² × L, V_std = V × (p_g + p_atm)/p_atm × T_std/T.

V at p_g, T V_std1.01325 bar, 15 °C
SymbolMeaningUnits
dinner diameter (ID)mm, in
Llengthm, ft
p_ggauge pressurebar, psi
p_atmatmospheric pressure, 1.01325 bar (14.696 psi)bar, psi
Tgas temperatureK, °C, °F
T_stdstandard temperature, 288.15 K (15 °C, 59 °F)K

The formula comes from 3 steps

  1. The pipe volume is V = π/4 × d² × L, the same at any pressure.
  2. Absolute pressure is p_g + p_atm, with p_atm = 1.01325 bar (14.696 psi).
  3. Boyle's law and Charles's law convert the gas to standard conditions: V_std = V × (p_g + p_atm)/p_atm × T_std/T.

The formula with your numbers

V = π/4 × d² × L, V_std = V × (p_g + p_atm)/p_atm × T_std/T

Worked example

20 m of DN25 steel (27.3 mm bore) holds π/4 × 0.0273² × 20 = 11.7 litres. At 21 mbar and 15 °C that's 11.9 standard litres, or 0.0119 m³.

Gas Pipe Volume Calculator Metric Chart

A gas pipe holds π/4 × d² × L, and at 21 mbar the gas inside is 2.1% more than the pipe volume. The chart lists 9 metric steel sizes.

DN150.2036 L/mDN200.3698 L/mDN250.5853 L/mDN321.018 L/mDN401.379 L/mDN502.215 L/mDN653.728 L/mDN805.14 L/mDN1008.709 L/m
SizeBoreLitres per metreLitres per 10 mStandard L per 10 m at 21 mbar
DN15 (21.3 × 2.6 mm)16.1 mm0.2042.042.08
DN20 (26.9 × 2.6 mm)21.7 mm0.373.73.78
DN25 (33.7 × 3.2 mm)27.3 mm0.5855.855.97
DN32 (42.4 × 3.2 mm)36 mm1.0210.210.4
DN40 (48.3 × 3.2 mm)41.9 mm1.3813.814.1
DN50 (60.3 × 3.6 mm)53.1 mm2.2122.122.6
DN65 (76.1 × 3.6 mm)68.9 mm3.7337.338.1
DN80 (88.9 × 4 mm)80.9 mm5.1451.452.5
DN100 (114.3 × 4.5 mm)105.3 mm8.7187.188.9

Gas Pipe Volume Calculator Metric FAQ

How do I calculate gas pipe volume in litres?

To calculate gas pipe volume in litres, use 0.000785 × d² × L with the bore in mm and length in m. 20 m of DN25 (27.3 mm bore) holds 11.7 litres.

How do I convert mbar to bar?

1 bar is 1,000 mbar, so 21 mbar is 0.021 bar and 2 bar is 2,000 mbar.

How much gas is in a pipe at 21 mbar?

At 21 mbar and 15 °C a pipe holds 1.021 times its own volume of standard gas, so 11.7 litres of pipe holds 11.9 standard litres.