MachineCalcs

Pipe Volume Calculator

Calculate contained pipe volume, total line capacity, fluid mass and fill or drain time from actual pipe ID, run length, run count, fill fraction, flow and density.

Calculator

Actual inside diameter, not nominal pipe size.

mm

Length of one identical pipe run.

m

Number of identical pipe runs included in the total capacity.

runs

Bulk fill percentage of the contained volume. Use 100% for a full closed line.

%

Flow used to estimate fill or drain time. Set to zero if time is not needed.

L/min

Fluid density used to convert contained volume into mass. Water is about 998 kg/m^3 near room temperature.

kg/m³

Results

Default result
Edit inputs
Contained liquid(V_f)
14.73L
Pass

100% of total capacity.

Also computed

Total pipe capacity(V_total)14.73L

1 identical run.

Capacity per run(V_run)14.73L

Fluid mass(m)14.7kg

Density 998.0 kg/m^3.

Fill / drain time(t)Pass0.2945min

At 50.00 L/min.

Pipe flow area(A)490.9mm²

Method notes 3 notes
  • Pipe capacity uses V = (pi*D^2/4)*L. Use actual inside diameter, not nominal pipe size.
  • Fill fraction is a simple bulk fraction of contained line volume. It is not open-channel partial-depth geometry.
  • Final field work still needs trapped air, pitch, low points, fittings, valves, equipment volume, flushing allowance, fluid expansion and measured installed lengths.

Pipe volume is inside area times length: V = (pi*D^2/4)*L. This calculator uses actual pipe ID, length and run count to return line capacity, contained liquid volume, fluid mass from density and fill or drain time from flow. Use actual ID from pipe schedule or manufacturer data; nominal pipe size alone is not enough.

Continue workflow

All Hydraulics

How to use this calculator

  1. Enter actual pipe ID. Use inside diameter from a pipe schedule, tube drawing or manufacturer table.
  2. Enter length and runs. Use the installed length for one run and the number of identical runs in the takeoff.
  3. Set fill and density. Use 100% for a full closed line, or a bulk fill fraction and fluid density for mass.
  4. Add flow if needed. Enter fill or drain flow to estimate the time required.

How it works

Pipe volume starts with the circular inside area: A = pi x D^2 / 4 Multiply area by length and run count: V_total = A x L x N Contained fluid volume applies the fill fraction: V_f = V_total x F / 100

Fluid mass is density times volume, and fill or drain time is contained volume divided by the entered flow rate. If the pipe size is nominal, use the steel pipe schedule chart or manufacturer data to get actual ID first.

Worked example

Verified against the live calculator

A 25 mm ID pipe with one 30 m run holds about 14.7 L when full. With water at 998 kg/m3, the contained mass is about 14.7 kg. At 50 L/min, filling or draining that volume takes about 0.29 min.

Frequently asked questions

How do you calculate pipe volume?

Use pipe inside area times length: V = pi x D^2 / 4 x L. This calculator uses actual inside diameter, multiplies by run count, and reports liquid volume in litres or gallons.

Is nominal pipe size enough?

No. Nominal pipe size is not the actual inside diameter. Schedule, material and wall thickness change the fluid volume, so use actual ID from the pipe schedule or manufacturer data.

Can this estimate fill or drain time?

Yes. Enter a fill or drain flow rate and the calculator divides contained liquid volume by that flow to estimate time.

Does the fill fraction model partially full drain pipe geometry?

No. Fill fraction is a simple bulk fraction of line capacity. Open-channel or partially full gravity drains need water depth, slope, roughness and a different hydraulic model.

Method & assumptions

  • Uses actual pipe inside diameter and straight-line length only.
  • Run count assumes identical runs with the same inside diameter and length.
  • Fill fraction is a bulk contained-volume fraction, not open-channel depth geometry.
  • Does not include trapped air, fittings, valves, equipment volume, expansion tanks, heat expansion, pipe pitch, flushing allowance or measured field variation.
  • Use pipe size by flow velocity, pipe pressure drop and pipe slope for adjacent design checks.
Embed this calculator on your site free

Paste this where you want the calculator to appear. It stays in sync — same formulas, metric & imperial, light/dark — and a small credit link helps people find more tools.

Open widget

Live preview