Pipe Volume Calculator
Calculate pipe volume accurately for your build. Get material quantities, waste allowances, and project cost breakdowns.
Pipe Volume Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Volume = pi x (d/2)^2 x L | Gallons = Volume (cu in) / 231
Worked example โ 16.32 gallons (136.12 lbs of water)
Formula
Volume = pi x (d/2)^2 x L | Gallons = Volume (cu in) / 231
The volume of a pipe (cylinder) is pi times the radius squared times the length. The inside diameter is used to determine flow capacity. Divide cubic inches by 231 to get US gallons, or by 1,728 to get cubic feet. Multiply gallons by 8.34 to get the weight of water in pounds.
Worked Examples
Example 1: Residential Water Line Volume
Problem:Calculate the volume of water in a 2-inch diameter pipe that is 100 feet long.
Solution:Radius = 2/2 = 1 inch Volume = pi x 1^2 x 1200 = 3,769.91 cu in Gallons = 3,769.91 / 231 = 16.32 gal Weight = 16.32 x 8.34 = 136.12 lbs
Result:16.32 gallons (136.12 lbs of water)
Example 2: Fire Sprinkler Main Volume
Problem:How many gallons are in 250 feet of 4-inch pipe?
Solution:Radius = 4/2 = 2 inches Length = 250 x 12 = 3000 inches Volume = pi x 4 x 3000 = 37,699.1 cu in Gallons = 37,699.1 / 231 = 163.2 gal
Result:163.2 gallons (1,361.1 lbs of water)
Frequently Asked Questions
How do you calculate the volume of water in a pipe?
The volume of a pipe is calculated using the cylinder formula: V = pi x r^2 x L, where r is the inside radius and L is the length. First convert the diameter to inches and divide by 2 to get the radius. Multiply pi times the radius squared times the length in inches to get cubic inches. Divide by 231 to convert to US gallons, or by 1,728 to get cubic feet. Always use the inside diameter of the pipe, not the outside diameter, since wall thickness reduces the actual flow area.
What is the inside diameter of common pipe sizes?
Nominal pipe sizes do not match actual inside diameters. A 1/2 inch nominal copper pipe has an inside diameter of about 0.545 inches. A 3/4 inch pipe is about 0.785 inches inside. A 1-inch PVC Schedule 40 pipe has a 1.029-inch inside diameter. A 2-inch pipe is about 2.067 inches inside, and a 4-inch pipe is about 4.026 inches. For accurate volume calculations, always look up the actual inside diameter for the specific pipe material and schedule you are using.
How many gallons of water are in 100 feet of 1-inch pipe?
Using the standard 1-inch Schedule 40 pipe with an inside diameter of 1.029 inches, the volume is pi x (0.5145)^2 x 1200 = 997.7 cubic inches. Dividing by 231 gives approximately 4.32 US gallons per 100 feet. This is useful for calculating purge volumes when flushing pipes, estimating water hammer effects, or determining how much antifreeze is needed to winterize a plumbing system.
How much does water in a pipe weigh?
Water weighs 8.34 pounds per US gallon at standard temperature. To find the weight of water in a pipe, first calculate the volume in gallons using the pipe diameter and length, then multiply by 8.34. For example, a 4-inch pipe 200 feet long holds about 130 gallons, which weighs approximately 1,084 pounds. This weight must be accounted for when designing pipe supports, hangers, and structural mounts, especially for large-diameter or long runs.
How do I convert pipe volume between cubic inches, gallons and litres?
One US gallon is exactly 231 cubic inches and one cubic foot is 1,728 cubic inches, so a cubic foot holds about 7.48 gallons. To move to metric, one US gallon is about 3.785 litres, and one litre is 1,000 cubic centimetres. Keep the diameter and length in the same unit system before you start, since mixing inches of bore with feet of length is the most frequent source of a wildly wrong answer.
Why does the calculation use inside diameter rather than nominal size or outside diameter?
Only the bore holds fluid. Nominal pipe size is a label, not a dimension, and for steel pipe the outside diameter stays fixed while the wall thickness changes with schedule, so the same nominal size can have several different internal volumes. Using the outside diameter includes the wall material as if it were water and inflates the result. Look up the actual internal diameter for the material and schedule before computing anything.
How do I work out the flush or purge volume for a line?
Start from one pipe volume, the figure Pipe Volume Calculator returns, then multiply by the number of turnovers the task needs. Displacing a fluid with another that does not mix cleanly typically takes several volumes because of the velocity profile across the bore, and disinfection or chemical clean procedures usually specify their own multiple plus a contact time. Do not forget the volume held in vessels, filters, coils and dead legs branching off the main run.
How does the volume in a pipe scale with its diameter?
With the square of the bore, because volume is the circular area times length. Doubling the internal diameter quadruples the contents per foot, so a two inch line holds about four times what a one inch line of the same length does. This is why a modest increase in size dramatically increases the water sitting in a service line, which matters for stagnation, for the wait at a distant tap, and for the load a hanger has to carry.
How do I find the volume in a partially filled horizontal pipe?
The wetted cross-section is a circular segment rather than a full circle. Find the half-angle from the inverse cosine of the radius minus the fill depth, divided by the radius, then double it to get the subtended angle in radians. The segment area is the radius squared times the angle minus the sine of the angle, all divided by two. Multiply that area by the length. A half-full pipe is the easy check: exactly half the full volume.
How long will it take to fill or drain a run at a known flow rate?
Divide the internal volume by the volumetric flow rate, keeping both in the same units. A run holding 40 gallons filled at 8 gallons per minute takes five minutes. Real filling is slower because trapped air has to escape through vents or high-point relief, and the flow rate itself drops as back pressure builds. Draining is governed by gravity and the available vent, not by the supply rate, so treat the two directions separately.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐งฎRoom Volume Calculator
Calculate room volume with inputs, formulas, and instant results.
๐งฎConcrete Volume Footings Calculator
Calculate concrete volume footings with inputs, formulas, and instant results.
๐งฎHole Volume Calculator
Calculate hole volume with inputs, formulas, and instant results.
๐งฎInfiltration Trench Volume Calculator
Calculate infiltration trench volume with inputs, formulas, and instant results.
๐งฎPipe Weight Calculator
Calculate pipe weight with inputs, formulas, and instant results.
๐งฎConcrete Driveway Volume Calculator
Calculate concrete driveway volume with inputs, formulas, and instant results.
๐งฎPaver Base Sand Volume Calculator
Calculate paver base sand volume with inputs, formulas, and instant results.
๐งฎWaste Volume Calculator
Calculate waste volume with inputs, formulas, and instant results.