Pipe Volume Calculator
This pipe volume calculator finds the full internal capacity of a straight circular pipe from internal diameter and length. It converts the same volume to cubic metres, litres, US gallons and cubic feet, without estimating flow, pressure or usable drainage capacity.
By Dr. Hassan Khames EliwaLast updated
Result
- Litres
- 78.5398 L
- US gallons
- 20.7480 US gal
- Cubic feet
- 2.773607 ft³
How it works
Use the bore rather than the outside size
Internal diameter is the clear circular diameter available to contain fluid. Outside diameter includes the pipe wall and will overstate capacity. A nominal pipe designation is not necessarily an actual bore measurement either; wall schedules, pressure classes and lining can change the inside dimension while the nominal description stays the same.
Obtain a documented internal diameter for the supplied product where possible. For existing pipe, consider scale, deposits and internal lining before assuming the new-product bore is still representative. If the clear opening is badly irregular, an equivalent circular estimate may conceal meaningful uncertainty. This calculator does not reconstruct a deformed or partly blocked section.
Follow the mixed dimension units carefully
Metric mode takes diameter in millimetres and length in metres. Imperial mode takes diameter in inches and length in feet. These are deliberately different scales within each mode because they match common pipe descriptions. The calculation converts both dimensions to metres before finding the circular area and multiplying by length.
Volume equals π multiplied by the squared internal radius multiplied by length. Radius is half the internal diameter. Squaring diameter instead of radius makes a substantial error, while failing to convert the diameter before squaring compounds a unit error. The conversion happens internally before either operation.
The output always includes all supported volume units so estimates can be compared without re-entering the pipe. Cubic metres are the internal basis; litres, US liquid gallons and cubic feet are converted from that same value. Gallons are explicitly US gallons, not imperial gallons. NIST is the reference for the underlying unit relationships.
Keep the model limited to full straight pipe
The result is the geometric capacity of the entered straight length when completely full. A gravity drain running partly full contains less liquid and needs a partial-section model. Bends, valves, reducers, couplings and equipment cavities are excluded unless their actual internal volumes are separately added. External fittings dimensions do not establish their fluid capacity.
For a network with different bores, calculate each constant-diameter segment separately and sum the volumes. Keep a schedule of segment lengths so shared sections are not counted twice. A single average diameter is generally a poor shortcut because volume varies with diameter squared, not in direct proportion to it.
Use capacity appropriately in a work plan
Capacity can inform an initial inventory or displacement estimate, but it does not specify flushing velocity, pump duty, pressure-test procedures, chemical concentration or safe isolation. Air pockets, high points and connected vessels can change an operational task substantially. Follow the applicable equipment instructions and project procedures rather than treating a volume calculation as an operating method.
Both dimensions must be positive and finite. A zero-length section is better omitted from a segment schedule than entered as a pipe with capacity. Upper and lower input bounds protect numerical behavior; they are not evidence that a pipe of the entered size or length can withstand a particular duty.
Worked example
Scenario: metric water line
An internal diameter of 100 mm and a straight length of 10 m produce a capacity of 0.078540 m³. The same result is 78.5398 L, 20.7480 US gal and 2.773607 ft³. No fittings or reserve volume are included in those figures.
Scenario: imperial straight spool
A 4 in internal diameter over 30 ft gives 0.074133 m³. Its capacity is 74.1333 L, 19.5840 US gal and 2.617994 ft³. The input diameter is the measured or documented bore, not an assumed outside or nominal pipe dimension.
Expert tips
Common mistakes
- Outside diameter includes the pipe wall, so using it overstates the liquid capacity. Check the clear bore of the supplied pipe.
- US and imperial gallons describe different volumes. State the gallon convention when sharing quantities with a supplier or commissioning team.
- Full-pipe capacity is a volume, not a flow rate. Time, hydraulic conditions and equipment behavior are absent from this model.
Frequently asked questions
Which diameter should be entered?
Use the internal clear diameter, including the effect of any permanent lining.
Can nominal pipe size be used?
Only if reliable product information confirms the actual internal diameter associated with that description.
Does the tool include fittings?
No. Add documented internal fitting volumes separately if they matter to the task.
Are gallons imperial?
No. The result is explicitly US liquid gallons.
Can it calculate partly full drains?
No. It assumes the entire circular bore is full along the entered length.
Can it size a pump?
No. Capacity alone does not determine flow, head, friction loss or pump duty.
Related calculators
Related guides
Construction & ProjectRoof pitch, rafters and slope: one triangle, three tradesOne labeled triangle connects roof pitch, percent grade, and rafter slope length, but a geometric answer is not a structural design or cutting list.15 November 2026 · 8 min read
Construction & ProjectHow to order concrete without running short or overpayingA field-focused guide to concrete quantities, thickness checks, sensible allowances and the delivery details that prevent expensive surprises.14 November 2026 · 7 min readSources and standards
About the author
Dr. Hassan Khames Eliwa holds a PhD in Construction & Built Environment and has more than 20 years of international project controls experience. He is Director of Eliwa Project Controls Limited in Auckland and founder of PMMilestone.org and PMMilestone.com.
Buy me a coffee