Pipe Volume Calculator

Capacity in gallons, litres and cubic feet — from inner diameter or nominal size and schedule, using the actual bore, full or partially filled.

Your pipe

Volume

66.13 US gal

Litres
250.33 L
Cubic feet
8.84 ft³
Inner diameter
4.026 in
  • Inner diameter is the actual bore from ASME B36.10M, not the nominal pipe size. Schedule changes the wall thickness and therefore the bore.
How this is calculated
  1. Radius

    inner diameter ÷ 2 ÷ 12 (to feet)

    = 4.026 ÷ 2 ÷ 12

    0.1678 ft

  2. Cross-section area

    π × r²

    = π × 0.1678²

    0.0884 ft²

  3. Volume

    cross-section area × length

    = 0.0884 × 100

    8.84 ft³ = 66.13 US gal = 250.33 L

How much water does a pipe hold?

Volume is the cross-section area times the length. For a pipe with a 4 inch inner diameter, the radius is 2 in = 0.1667 ft, so π × 0.1667² = 0.0873 ft². Over 100 ft that is 8.73 ft³ = 65.3 US gallons (247.3 L). For a partially full horizontal pipe, the tool uses the circular-segment area of the filled cross-section instead of the full circle.

Nominal pipe size vs actual inner diameter (steel, ASME B36.10M)

Nominal size is NOT the bore. Schedule 80 has thicker walls, so a smaller inner diameter than Schedule 40 at the same NPS.
Nominal (NPS)Outside dia (in)Sch 40 ID (in)Sch 80 ID (in)
1/20.8400.6220.546
3/41.0500.8240.742
11.3151.0490.957
1-1/21.9001.6101.500
22.3752.0671.939
33.5003.0682.900
44.5004.0263.826
66.6256.0655.761

Pipe volume per 100 ft (full, by inner diameter)

volume = π × (ID ÷ 24)² × length, then converted to gallons.
Inner diameterCubic feetUS gallons
1 in0.554.08
2 in2.1816.32
3 in4.9136.72
4 in8.7365.28
6 in19.63146.88

Common pipe volume mistakes

  • Using the nominal size as the bore. A “4 inch” Schedule 40 pipe has a 4.026 in actual inner diameter; Schedule 80 is 3.826 in. This tool uses the real bore from ASME B36.10M.
  • Using diameter instead of radius. Volume uses the radius squared — enter the inner diameter and the tool halves it.
  • Assuming volume scales with liquid depth. The fill input is the depth as a % of the inner diameter, and partial fill follows the circular-segment area — at 25% depth the pipe holds only about 19.6% of its full volume.

Frequently asked questions

How do I calculate the volume of a pipe?+

Volume = π × radius² × length, where the radius is half the inner diameter. A 4 inch ID pipe 100 ft long holds π × (2/12)² × 100 = 8.73 ft³ = 65.3 US gallons.

Is nominal pipe size the same as the inner diameter?+

No. Nominal pipe size (NPS) is a label, not the bore. A “4 inch” Schedule 40 steel pipe has a 4.026 in actual inner diameter, and Schedule 80 has 3.826 in because the wall is thicker. This calculator uses the actual bore from ASME B36.10M.

Does pipe schedule change the volume?+

Yes. A higher schedule means a thicker wall and a smaller inner diameter, so it holds less. At NPS 4, Schedule 80 holds roughly 10% less than Schedule 40 over the same length.

How do I calculate the volume of a partially full pipe?+

For a horizontal pipe, the filled cross-section is a circular segment, so the volume is not proportional to the liquid depth. Enter the fill depth as a percentage of the inner diameter and the calculator applies the circular-segment area before multiplying by length — at 25% depth a pipe holds about 19.6% of its full volume.

Methodology & sources

Volume is computed as π × radius² × length, carrying full precision and using exact π. The inner diameter is either entered directly or derived from nominal pipe size and schedule using outside diameter and wall thickness from ASME B36.10M (inner diameter = OD − 2 × wall).

Partial fill uses the circular-segment area of the filled cross-section. Gallon and litre conversions use the exact factors 1 ft³ = 7.480519 US gal = 28.3168 L.

Last reviewed June 28, 2026. Estimates are indicative — verify against current product specs and local requirements before ordering.

We're committed to keeping these tools accurate and improving them over time. If you'd like to contribute to their accuracy, or you run into any issues or errors, please email us at info@tradesppl.com.