Pipe Volume Calculator Cubic Yards
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
This calculator works out the volume of a pipe in cubic yards. You enter the pipe’s inside diameter and its length, and it returns the volume in cubic yards, along with the volume in cubic feet and gallons for convenience. The calculation uses the standard formula for the volume of a cylinder, converting the result to cubic yards.
Formula
The volume of a pipe is the volume of a cylinder: V = π × r² × L, where:
- V = volume (cubic feet)
- π ≈ 3.14159
- r = inside radius of the pipe (feet) = diameter (inches) ÷ 2 ÷ 12
- L = length of the pipe (feet)
To get cubic yards, divide the volume in cubic feet by 27 (since 1 yard = 3 feet, so 1 cubic yard = 3³ = 27 cubic feet).
Worked Example
Using the default values: a pipe with a 6-inch inside diameter and 10-foot length.
- Convert diameter to radius in feet: r = (6 ÷ 2) ÷ 12 = 3 ÷ 12 = 0.25 ft
- Cross-sectional area: A = π × (0.25)² = 3.14159 × 0.0625 = 0.19635 ft²
- Volume in cubic feet: V = 0.19635 × 10 = 1.9635 ft³
- Convert to cubic yards: 1.9635 ÷ 27 = 0.0727 yd³
The calculator rounds to three decimals, so it shows 0.073 cubic yards. The cubic feet output is 1.96 ft³, and the gallon output is 14.7 US gallons.
When to Use This Calculator
You need the volume of a pipe in cubic yards when ordering fill material, concrete, or estimating the capacity of a pipe for water or other fluids. Common situations include:
- Ordering concrete to fill a pipe form or a pipe sleeve.
- Estimating how much grout or mortar fills a conduit.
- Calculating the water volume in a section of pipe for treatment or flow tests.
- Determining the capacity of a culvert or drainage pipe.
For construction materials, suppliers often quote in cubic yards, so converting from cubic feet avoids ordering the wrong amount.
How to Measure the Inside Diameter
The volume depends on the inside diameter, not the outside diameter. Pipe walls take up space, so using the outside diameter overestimates volume. Measure the inside with calipers or a tape measure. If you only know the outside diameter, subtract twice the wall thickness. For standard pipes, wall thickness is often listed in the pipe’s schedule (e.g., Schedule 40, Schedule 80). For example, a 6-inch Schedule 40 pipe has an inside diameter of about 6.065 inches, not 6 inches. The difference might seem small, but over a long pipe it adds up.
Common Mistakes and How to Avoid Them
- Mixing units: Always convert all measurements to the same unit before calculating. If you enter inches and feet without converting, the result will be off by a factor of 12 or more.
- Using outside diameter: As noted, this gives a volume that is too large. Use the inside diameter.
- Forgetting to divide by 27: Cubic yards are much larger than cubic feet. One cubic yard is 27 cubic feet. A common error is to divide by 3 instead of 27.
- Rounding too early: If you round the radius to 0.3 instead of 0.25 in the example, the area changes significantly. Keep full precision until the final step.
- Ignoring fittings: This calculator gives the volume of the straight pipe only. Fittings, valves, and bends add extra volume. For precise work, add the volume of those components separately.
Limits of the Formula
The cylinder formula assumes a perfectly round, straight pipe with a constant cross-section. Real pipes may have ovality (especially flexible pipes), internal linings, or scale buildup that changes the effective diameter. For a pipe that is not full (e.g., a drain that flows partially full), the volume of liquid is less than the pipe’s total volume. This calculator gives the total volume of the pipe, not the volume of liquid at a given fill level. For partially full pipes, you need a more complex calculation based on the segment area of a circle.
Comparing Units
Here are quick conversions for pipe volume:
- 1 cubic yard = 27 cubic feet
- 1 cubic foot = 7.48052 US gallons
- 1 cubic foot = 28.3168 liters
- 1 cubic meter = 35.3147 cubic feet
If your pipe dimensions are in meters, the volume in cubic meters can be converted to cubic yards by multiplying by 1.30795 (since 1 m³ = 1.30795 yd³).
Frequently Asked Questions
How many cubic yards in a 12-inch pipe that is 100 feet long?
First, radius = 12/2/12 = 0.5 ft. Area = π × 0.5² = 0.7854 ft². Volume = 0.7854 × 100 = 78.54 ft³. Divide by 27: 78.54 / 27 = 2.909 cubic yards. So a 12-inch pipe, 100 feet long, holds about 2.91 cubic yards.
Does the calculator work for metric measurements?
No, this calculator is set for inches and feet. If you have metric dimensions, convert them first: 1 inch = 2.54 cm, 1 foot = 0.3048 m. Or use a metric pipe volume calculator that outputs cubic meters and then convert to cubic yards.
What is the difference between a pipe’s volume and its displacement?
Volume is the space inside the pipe. Displacement is the volume of water displaced when the pipe is submerged. Displacement uses the outside diameter and includes the wall thickness. This calculator measures internal volume, which is what you need for fluid capacity or filling the pipe.
Why do I need cubic yards instead of gallons?
Construction materials like concrete, gravel, or dirt are sold by the cubic yard. If you are ordering fill for a trench or concrete to fill a pipe, the supplier will ask for cubic yards. Gallons are more useful for water capacity or chemical dosing.
Can I use this for a pipe that is not straight?
No, the formula assumes a straight cylinder. For a bent pipe, you would need to measure the actual length along the centerline and treat it as a straight pipe of that length. The volume of the bend itself is negligible for most purposes, but for precision, use the centerline length.
Related
Formula used
in d | Inside Diameter | in | 6 | 0 in L | Length | ft | 10 | 0 out yd3 | Volume | cubic yards | (pi * ((d/2/12)^2) * L) / 27 | 3 out ft3 | Volume | cubic feet | pi * ((d/2/12)^2) * L | 2 out gal | Volume | US gallons | (pi * ((d/2/12)^2) * L) * 7.48052 | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.