Pipe Volume Calculator – Litres, Cubic Metres and Gallons

Round Pipe · Square Tube · Rectangular Tube

Pipe Volume Calculator

Enter the actual pipe or tube dimensions and calculate the internal liquid capacity in litres, cubic metres, and US gallons. For final site quantities, use measured OD and wall thickness rather than relying only on Nominal Bore or a supplier shorthand.

mm
mm
mm
mm
mm
m
pcs
Round pipe cross-section with the internal fluid area highlighted OD ID t OD = — · t = — ID = — Rectangular tube cross-section with the internal fluid area highlighted W H t W = — · H = — · t = — Inside = — × —

The highlighted hollow area is the theoretical fluid space. Diagram labels update as you type.

Total Internal Capacity
L
Capacity per Piece
Total Cubic Metres
Total US Gallons

Fix the highlighted field above to see the internal capacity.

Practical Reference

What Pipe Capacity Really Depends On

Pipe capacity is controlled by the clear internal space, not by the market name printed on the quotation. For early planning, a standard schedule table may be enough. For dosing, flushing, chemical hold-up, hydrotesting, or tank balance calculations, use the actual outside size and actual wall thickness wherever possible.

Round Pipe Internal Volume

A round pipe is entered using outer diameter and wall thickness. The calculator subtracts the wall on both sides to obtain internal diameter, then uses the circular area and pipe length to find capacity. This is the right approach for MS, GI, stainless, HDPE, and similar round pipes when the dimensions represent the finished pipe. Nominal Bore alone is not enough because it does not directly tell you the clear internal diameter.

Square and Rectangular Tube Capacity

For a hollow square or rectangular section, the usable internal width is outer width minus two wall thicknesses. Internal height is calculated in the same way. The result is the theoretical void inside a straight tube. Rolled corners, internal weld beads, liners, scale, and fabrication details can reduce the real space slightly.

Nominal Bore Is a Name, Not a Measurement

In the Indian market, a pipe may be ordered as 25 NB, 50 NB, or 100 NB. That number is a standard size designation. It is not a promise that the internal opening measures exactly 25, 50, or 100 mm. The same NB can have different internal diameters when schedule, class, material, lining, or manufacturing standard changes.

Geometric Capacity Versus Usable Capacity

The calculator gives the full geometric volume of a straight and completely filled pipe or tube. A working system may hold less because of air pockets, slope, incomplete filling, deposits, valves, reducers, or an operating level below full bore. For a complete vessel or storage estimate, use the Tank Volume Calculator and add connecting pipework separately.

Calculation Method

Pipe Volume Formulas

Both shapes follow the same basic process. First find the clear internal dimensions. Next calculate the internal cross-sectional area. Then multiply by length. The calculator converts everything to metres internally, so metric and imperial entries produce the same physical result.

  1. Calculate the clear internal dimension after subtracting the wall on both sides. ID = OD – 2t
  2. Calculate the internal cross-sectional area for the selected shape. A = f(internal dimensions)
  3. Multiply internal area by length, then convert cubic metres to litres or gallons. V = A × L
  • Round Pipe r = (OD – 2t) ÷ 2; V = π × r² × L
  • Rectangular Tube V = (W – 2t) × (H – 2t) × L
  • Litres L = m³ × 1000
  • US Gallons gal = L ÷ 3.785411784
  • OD Outer diameter of round pipe
  • ID Internal diameter of round pipe
  • W Outer width of rectangular tube
  • H Outer height of rectangular tube
  • t Wall thickness
  • L Pipe or tube length
  • A Internal cross-sectional area
  • V Internal volume

Worked Example: 114.3 mm OD Pipe

  • Outer diameterOD = 114.3 mm
  • Wall thicknesst = 6.02 mm
  • LengthL = 6 m
  • Internal diameterID = 114.3 – (2 × 6.02) = 102.26 mm
  • Internal radiusr = 51.13 mm = 0.05113 m
  • VolumeV = π × 0.05113² × 6
Internal capacity ≈ 49.28 litres

This is theoretical straight-pipe capacity. Large valves, fittings, vessels, and branches need separate allowance. When you also need the purchase weight of the same pipe, use the Steel Weight Calculator.

Common Questions

Pipe Volume Calculator FAQs

These are the points that usually create confusion between drawings, supplier tables, and actual site measurements.

How do I calculate how many litres a round pipe can hold?

First calculate internal diameter as outer diameter minus two times wall thickness. Divide internal diameter by two to get the internal radius. Internal volume is pi multiplied by the radius squared and then by pipe length. Convert cubic metres to litres by multiplying by 1000.

Can I enter Nominal Bore directly as the pipe diameter?

No. Nominal Bore is a size designation, not a guaranteed measured internal diameter. Use the actual outer diameter and wall thickness from the applicable pipe standard, supplier data sheet, or physical measurement.

What is the difference between outer diameter and internal diameter?

Outer diameter is measured across the outside of the pipe. Internal diameter is the clear opening available for liquid. For a uniform round pipe, internal diameter equals outer diameter minus twice the wall thickness.

Why can two pipes with the same Nominal Bore have different capacities?

Different schedules or pressure classes can use different wall thicknesses while keeping the same nominal size and often the same outer diameter. A thicker wall produces a smaller internal diameter and therefore lower liquid capacity.

Does this calculator use US gallons or Imperial gallons?

The calculator reports US liquid gallons. One US gallon equals 3.785411784 litres. For Indian engineering work, litres and cubic metres are normally the clearer basis for drawings, bills of quantity, and site checks.

Does an internal weld seam reduce pipe capacity or flow?

A normal weld seam usually changes total geometric capacity only slightly, but a heavy or irregular internal bead can reduce the clear flow area, collect solids, and increase pressure loss. This calculator uses a smooth and uniform internal profile and does not model seam intrusion.

Does the result include elbows, valves, reducers, and fittings?

No. The result covers the straight pipe or tube length entered. Add the internal volume of large fittings, valves, strainers, vessels, and dead legs separately when system hold-up volume matters.

How is rectangular tube capacity calculated?

Internal width is outer width minus twice the wall thickness, and internal height is outer height minus twice the wall thickness. Multiply internal width by internal height and then by length. The calculation assumes square internal corners, so rolled corner radii can create a small difference.

Buying and Checking Checklist

How to Avoid Pipe Capacity & Flow Issues in India

Most errors start before installation. A buyer uses the NB size as if it were the internal diameter, a fabricator assumes a schedule without checking the purchase order, or the site team measures only the outside. The pipe may still fit physically, but the actual hold-up volume, flushing quantity, pump performance, or tank balance can be wrong.

1. Separate Nominal Bore from actual Internal Diameter

NB is a naming system. ID is the clear opening that controls capacity and strongly affects flow. Never type 100 mm into a volume calculation only because the quotation says 100 NB. Confirm the standard, OD, schedule or class, wall thickness, and any internal lining.

For critical work, record the calculation basis on the drawing or calculation sheet. A simple note such as “capacity based on 114.3 mm OD and 6.02 mm wall” is far safer than writing only “100 NB pipe”.

2. Measure OD and wall thickness on received material

Use a vernier caliper for OD and a suitable wall-thickness method for the pipe condition. Take readings at several locations. Coating, galvanising, scale, ovality, corrosion, and burrs can distort a single reading.

A small reduction in ID can create a noticeable volume difference because round-pipe area changes with diameter squared. This matters on long transfer lines, dosing systems, hydrotest water estimates, and plant shutdown planning.

3. Do not assume the pipe schedule

Schedule 10, 20, 40, 80, and other designations do not represent one universal thickness for every nominal size. The actual wall value must be read from the correct standard table for that size and material. Mixing ASME, IS, DIN, or supplier-specific tables can produce the wrong answer.

Assumed schedules can also distort tank calculations. A tank may be sized correctly, but the connected pipe network can hold much more or less liquid than expected. Add the verified pipeline hold-up to the vessel result from the Tank Volume Calculator.

4. Inspect the internal weld seam

ERW and fabricated pipes can have an internal weld bead. A controlled seam may have little effect on total capacity, but a heavy bead reduces clear area locally and can disturb flow. It can also trap slurry, fibres, food particles, scale, or chemical residue.

For hygienic, slurry, pneumatic, or low-pressure gravity systems, inspect the seam condition rather than treating every pipe as a perfectly smooth bore. Capacity and flow rate are related, but they are not the same calculation.

5. Include fittings, branches, and dead legs when hold-up matters

A straight-pipe result does not include elbows, tees, reducers, valves, strainers, flexible hoses, jackets, or instrument chambers. On a short line these may form a meaningful share of total liquid volume. On CIP, chemical dosing, batch transfer, and recovery systems, leaving them out can affect recipe quantities and drain-down time.

Prepare a simple line-by-line volume sheet. Calculate each diameter and length separately, then add fittings and equipment volumes from approved drawings or vendor data.

6. Match documents to the actual lot

Check the purchase order, supplier data sheet, marking, test certificate, and received dimensions against each other. For lined pipe, confirm whether the stated wall value includes or excludes the liner. For used pipe, check deposits and corrosion before treating the original schedule as the current clear bore.

When the line is safety-critical or the volume affects process control, have the engineer approve the basis. A quick verbal estimate at the stockyard should not become the final design value.

Simple site routine

Confirm the pipe standard, read the actual OD and wall thickness, calculate ID, inspect the internal seam or lining, verify the installed length, and keep fittings separate. Then compare the calculated hold-up against a controlled filling or drain test when commissioning permits it.