This Pipe Volume Calculator estimates the full internal capacity of a uniform circular pipe. Enter its actual clear inside diameter and axial length, or derive the inside diameter from outside diameter and uniform wall thickness. The result separates capacity per pipe from the combined capacity of identical pipes and reports US liquid gallons, litres, cubic feet and cubic metres.
Key Takeaways
- Full internal volume = π × inside diameter² × axial length / 4.
- Use the actual clear bore, not a nominal pipe-size label or outside diameter.
- For a uniform unlined circular section, inside diameter = outside diameter − 2 × wall thickness.
- Multiply unrounded capacity per pipe by the identical-pipe count; calculate different bores or lengths separately.
- Capacity is a geometric volume, not a flow rate, pipe weight, delivered water quantity or system approval.
What this pipe volume calculator measures
The quantity being calculated is the open space inside an ideal round pipe when completely full. The wall material is excluded. The pipe is modeled as a uniform circular cylinder with a positive clear diameter and a positive axial length. Its orientation does not change that full geometric capacity, although orientation can affect how an actual system fills, drains or traps air.
This differs from the Steel Pipe Weight Calculator, which estimates the mass of the surrounding material from an annular section and density. It also differs from the Water Tank Volume Calculator, which includes separate vessel shapes and static partial-fill geometry. This page does not calculate partially full flow, hydraulic capacity or storage in fittings and connected equipment.
The pipe volume formula
Let D be clear inside diameter, L axial length per pipe and N the number of identical pipes. Radius is D / 2. Internal cross-sectional area A = π(D / 2)² = πD² / 4. Capacity per pipe is V = AL, and combined capacity is N × V. The OpenStax cylinder-volume explanation gives the same area-times-length relationship for a circular cylinder.
Convert dimensions to compatible units before squaring and multiplying. Inside diameter in inches with length in feet cannot be multiplied as though both measurements were in feet. The calculator converts each dimension internally, so the diameter and length unit selectors can differ. Area is a squared quantity and capacity is a cubed quantity; neither should be labeled as a simple length.
For quick US-unit checking, if D is in inches and L is in feet, V in US liquid gallons = π × D² × 12L / (4 × 231). The factor 12 changes feet to inches, and 231 converts cubic inches to a US liquid gallon. In metric units, D in millimetres and L in metres gives litres = π × D² × L / 4,000. These are unit-specific rearrangements, not independent pipe-design formulas.
US worked example: a 2-inch clear bore over 10 feet
Take a fictional pipe with an actual clear inside diameter of 2 in and an axial length of 10 ft. Its radius is 1 in and its length is 120 in. Internal volume = π × 1² × 120 = 120π in³. Dividing by 231 gives 40π / 77 US liquid gallons, approximately 1.631996 gal.
Each cubic inch is 0.016387064 L, so the same capacity is 1.96644768π L, approximately 6.177778 L. In cubic metres it is approximately 0.006177778 m³; in cubic feet, about 0.218166 ft³. These are different units for the same space, not additional volumes to add together.
If you have two identical pipes, combined capacity is twice the unrounded per-pipe result: approximately 3.263992 US liquid gallons or 12.355555 L. Combined axial length is 20 ft. Do not multiply by the count again after entering a length that already represents the entire total run.
Metric worked example with an identical-pipe count
For a fictional 100 mm clear inside diameter and 10 m axial length, convert the diameter to 0.1 m. Area = π × 0.1² / 4 = 0.0025π m². Capacity per pipe = 0.025π m³ = 25π L, approximately 78.539816 L. Three identical pipes hold 0.075π m³ = 75π L, approximately 235.619449 L in total.
Use the count only for pipes with the same effective bore and per-pipe length. A 100 mm branch and a 150 mm main are not identical entries. Compute them separately, retain their own measurement records and add compatible volume units outside the tool. A single averaged diameter generally does not preserve total capacity because diameter is squared.
Derive inside diameter from outside diameter and wall thickness
When outside diameter and uniform wall thickness are known on a compatible basis, D = OD − 2t. The factor two represents one wall on each side of the diameter. For a fictional OD of 2.375 in and wall thickness 0.1875 in, the clear diameter is 2.375 − 0.375 = 2 in. Those values demonstrate arithmetic; they do not identify a manufacturer’s pipe schedule.
A second fictional example is OD 114.3 mm with wall thickness 7.15 mm: the derived inside diameter is 114.3 − 14.3 = 100 mm. The result then matches the metric example above for the same length and count. Mixing an OD from one product with a wall value from another can yield a plausible number without describing either product.
The calculator requires twice the wall thickness to be smaller than OD, leaving a positive bore. Equal or larger values are rejected. Uniform-wall subtraction does not automatically account for a separate internal lining, deposits, ovality or local restrictions. Use a suitably established actual clear diameter when that better represents the open section.
Nominal size is not the capacity diameter
A pipe’s nominal designation identifies a size family; it is not a universal statement of its clear inside diameter. Material, wall series, product specification and actual condition matter. Manufacturer references such as the Swagelok Tube Fitter’s Manual distinguish nominal size, outside diameter, wall thickness and inside diameter. Consult the applicable product information rather than selecting a bore from the nominal label alone.
This page deliberately has no automatic schedule lookup. It accepts your geometry rather than presenting a particular nominal size as valid for every material or service. Record the source and revision of the dimensions, or how an installed bore was established, in the optional notes. The app does not verify that source or certify the pipe’s condition.
Diameter errors have a squared effect
At unchanged length and count, doubling the clear diameter multiplies volume by four. Doubling length or identical count only doubles volume. Entering a diameter as though it were a radius therefore creates a major error: the diameter-based formula already divides by four.
A diameter entered 2% too high gives a volume factor of 1.02² = 1.0404, or 4.04% too high, even before length uncertainty is considered. When ID is a small difference between OD and twice the wall, uncertainty in the source dimensions can be especially important. Exact decimal subtraction prevents a software cancellation error; it does not make uncertain measurements physically exact.
Read the output units correctly
The primary result is combined capacity in US liquid gallons. It is accompanied by litres and cubic units, with per-pipe capacity shown separately. A gallon here is not an Imperial gallon or a US dry gallon. NIST Handbook 133’s tables of measurement identify a US liquid gallon as exactly 231 in³, corresponding to 3.785411784 L, and a litre as a cubic decimetre.
Capacity per axial metre and per axial foot describe how much full-bore volume corresponds to that length of the same pipe. They are not flow rates. Litres per metre and gallons per foot have no time denominator; litres per second and gallons per minute would require additional hydraulic information not requested or calculated here.
Enter and check the measurements
- Choose the known clear-ID method or the OD/wall method that matches your source information.
- Enter the dimensions with their individual units and check the effective inside diameter shown in the result.
- Enter axial length per pipe and a whole count of identical pipes.
- Review capacity per pipe before relying on the combined quantity.
- Check combined length to catch a length/count multiplication mistake.
- Copy the result with its raw inputs, units, assumptions and dimension-source notes.
Unit changes retain the numeric entries rather than converting them automatically. Re-enter a measurement in the new unit before recalculating. Switching input methods retains inactive fields but ignores them. Editing clears stale results and copy feedback; reset restores the fictional example. The construction unit converter can assist with supported dimensional conversions.
Input limits and calculation precision
Active dimensions must be positive unsigned decimals with up to 18 decimal places, each no greater than 1,000,000 m after conversion. Count is a whole number from 1 to 1,000,000. Combined length is limited to 1,000,000,000 m and combined full-bore volume to 1,000,000,000 m³. Notes permit 500 characters. Signs, commas and exponent notation are rejected. These are software bounds, not useful pipe-size ranges or engineering recommendations.
Diameter, wall and length unit choices are inches, feet, yards, millimetres, centimetres and metres. The international foot is exactly 0.3048 m; US survey-foot measurements must first be resolved to a compatible basis. Decimal geometry, subtraction, unit conversion and totals use rational arithmetic with a 50-decimal approximation of π until display. An independent reference generator checks against a higher-precision mathematical calculation.
The screen uses up to six decimals or scientific notation for very small or large capacities. Copied computed values use 15 significant digits and include raw active inputs. A tiny positive bore or capacity remains nonzero in scientific notation. Do not round individual capacities before multiplying, and do not equate the number of displayed digits with field accuracy.
Keep capacity separate from system performance
Actual liquid retained or delivered can differ from ideal full-bore capacity because of partial filling, connected components, trapped air, residual liquid, deposits, dimensional variation or operating conditions. Fittings, valves, reducers and branches need their own appropriate volume treatment. This tool does not add them as an automatic allowance or infer an installed system’s usable volume.
Volume alone cannot determine flow rate, filling duration, pressure rating, pressure loss or fitness for service. Use an appropriate project-specific method for those questions. The daily report generator can reference checked quantities and observations without replacing pipe specifications or a technical approval process.
Frequently asked questions
Can I enter outside diameter directly as inside diameter?
No. That includes the surrounding wall in the capacity cylinder and overstates the open space. Use a clear inside diameter or the separate OD/wall method when its uniform-wall assumptions apply.
Does the count support different pipe lengths?
The count repeats the entered length and bore exactly. For different lengths or bores, make separate calculations and add volumes in one consistent unit. Keep each input set so the total can be reviewed.
Can this calculate a half-full pipe or gallons per minute?
No. It gives completely full geometric capacity. Partial-fill geometry and hydraulic flow are distinct calculations requiring different information; no flow or fill-time result is produced here.