Piping & Hydraulic Tools
Pipe Volume Calculator
Calculate the inner bore volume (capacity), pipe material volume, and outer envelope volume for any circular pipe. Whether you're sizing a hydrostatic test fill, estimating concrete encasement, or planning trench excavation, this tool gives you the precise numbers — in both metric (litres / m³) and imperial (US gallons / ft³).
Pipe Volume Calculator
Inner bore volume, pipe material, and outer envelope
Dimension Input Mode
Results
Enter values above to calculate
Pipe Geometry Diagram
A pipe cross-section has three key zones: the inner bore (fluid path), the pipe wall (material), and the outer envelope (gross cylinder).
Step-by-Step Formulas
1. Inner Bore (Flow) Volume
The inner bore volume is the space a fluid actually occupies. It is calculated from the pipe's Inner Diameter (ID). On a job site, this number tells you how many litres of water, oil, or gas the pipe run will hold — critical for hydrostatic pressure testing, chemical dosing, and system fill-up planning.
2. Pipe Material (Annular) Volume
This is the volume of the steel, cast iron, or HDPE that forms the pipe wall itself. It is the difference between the outer and inner cross-sections multiplied by length. Engineers use this for estimating pipe weight (multiply by material density — e.g. 7850 kg/m³ for carbon steel), concrete encasement quantities, and trench backfill calculations.
3. Outer Envelope Volume
The full cylinder swept by the pipe's outer diameter. This is the gross volume used for trench excavation, concrete pipe bedding, and casing calculations. When a pipe is installed inside a casing or duct, the annular space between them is V_casing_inner − V_pipe_outer.
4. OD, ID, and Wall Thickness Relationship
The calculator accepts either (OD + Wall Thickness) or (OD + ID) as inputs — both are common on piping data sheets and standards tables. Pipe schedule tables (ANSI/ASME B36.10, B36.19) publish OD and wall thickness; piping isometric drawings often show ID for flow analysis. Either combination yields the same geometry.
Worked Example
DN150 (6-inch NPS) carbon-steel pipe, Schedule 40: OD = 168.3 mm, WT = 7.11 mm, 10 × 6 m sticks.
Schedule 40 Pipe Capacity
Actual bore and volume per 100 ft for common nominal pipe sizes — note the bore is never the nominal size:
| Nominal size | OD (in) | ID (in) | Gallons per 100 ft |
|---|---|---|---|
| 1/2 in | 0.840 | 0.622 | 1.58 |
| 1 in | 1.315 | 1.049 | 4.49 |
| 2 in | 2.375 | 2.067 | 17.43 |
| 3 in | 3.500 | 3.068 | 38.42 |
| 4 in | 4.500 | 4.026 | 66.13 |
Bore, Wall and Envelope
A pipe has three distinct volumes, and which one you need depends entirely on the question you are asking:
- Bore Volume Is System Capacity: The inner volume tells you how much fluid the line holds — needed for filling, flushing, chemical dosing, and expansion vessel sizing.
- Wall Volume Gives Weight: The material volume between the bore and the outside diameter, multiplied by density, is what the pipe weighs for support spacing and lifting.
- Nominal Size Is Not the Bore: A 2 in pipe does not have a 2 in inside diameter. Actual bore depends on schedule, and using the nominal figure can misstate capacity by 10% or more.
Benefits of Using This Calculator
Example Calculations
Three scenarios worked through step by step:
Example 1 — Bore Capacity
2 in Schedule 40 steel (ID 2.067 in), 100 ft run.
Radius = 2.067 ÷ 2 = 1.0335 in = 0.08613 ft
Area = π × 0.08613² = 0.02330 ft²
Volume = 0.02330 × 100 = 2.330 ft³
Gallons = 2.330 × 7.481 = 17.43 gal
Result: the line holds about 17.4 gallons
Example 2 — Pipe Wall Volume
Same pipe, OD 2.375 in, ID 2.067 in, 100 ft.
OD radius = 1.1875 in; ID radius = 1.0335 in
Wall area = π × (1.1875² − 1.0335²) = 1.075 in²
Volume = 1.075 × 1,200 in = 1,290 in³
Weight = 1,290 × 0.284 lb/in³ = 366 lb
Result: about 3.66 lb per foot
Example 3 — Nominal Versus Actual
Comparing 2 in nominal against the true 2.067 in bore.
Using nominal 2 in: area = π × 1² = 3.1416 in²
Using actual 2.067 in: area = π × 1.0335² = 3.3556 in²
Difference = 6.8% more capacity than nominal implies
Over 100 ft that is more than a gallon
Always use the schedule table ID
Piping Tip
Piping Tip
Look the inside diameter up in a schedule table rather than assuming it from the nominal size. Schedule 40 and Schedule 80 share an outside diameter but have very different bores — Schedule 80 has a thicker wall and noticeably less capacity, and mixing them up skews both volume and flow calculations.
Frequently Asked Questions
- What is the difference between inner volume and outer envelope volume?
- The inner (bore) volume is the space inside the pipe that carries the fluid. The outer envelope volume is the total cylinder swept by the outside of the pipe. The difference between them is the pipe wall (material) volume.
- How do I calculate the volume of a pipe?
- Use the formula V = π × (ID/2)² × Length, where ID is the inner diameter and Length is the pipe run. To find the pipe material volume, subtract the inner circle area from the outer: V_material = π × [(OD/2)² − (ID/2)²] × Length.
- What units does the pipe volume calculator support?
- The calculator supports both metric (millimeters for diameters, meters for length, results in litres and m³) and imperial (inches for diameters, feet for length, results in US gallons and ft³). Toggle between them using the unit switch at the top of the calculator.
- What is the D/t ratio and why does it matter?
- The D/t ratio (outer diameter divided by wall thickness) is a key indicator of a pipe's structural efficiency. A high D/t (thin-walled pipe) is lighter but less resistant to external pressure and buckling. Design codes like ASME B31.3 and API 5L use D/t to classify pipes and determine pressure ratings.
- Can I use this calculator for any pipe material?
- Yes. Volume calculations are purely geometric and apply to carbon steel, stainless steel, HDPE, PVC, ductile iron, concrete pipe, and any other circular pipe. To find weight, multiply the material volume by the pipe's density (e.g. 7850 kg/m³ for carbon steel).
- How do I calculate the volume of a pipe?
- Use π × radius² × length, working from the inside radius. For a 2.067 in bore over 100 ft that gives about 2.33 cubic feet or 17.4 US gallons. Keep all dimensions in consistent units before multiplying.
- Is nominal pipe size the same as the inside diameter?
- No. Nominal pipe size is a designation, not a measurement. A 2 in Schedule 40 pipe has a 2.375 in outside diameter and a 2.067 in bore. Only a schedule table gives the true dimensions.
- What is the difference between Schedule 40 and Schedule 80?
- Wall thickness. Both share the same outside diameter for a given nominal size, but Schedule 80 walls are thicker, so it withstands higher pressure while carrying less fluid. Bore volume differs significantly between the two.
- How many gallons per foot of pipe?
- About 0.174 gal/ft for 2 in Schedule 40, 0.045 for 1 in, and 0.661 for 4 in. It scales with the square of the bore, so doubling the diameter roughly quadruples the capacity per foot.
- How do I find pipe weight per foot?
- Calculate the wall cross-sectional area as π × (OD radius² − ID radius²), multiply by length, then by material density. For 2 in Schedule 40 steel that comes out near 3.65 lb per foot.