Pipe Volume Calculator
Calculate the internal volume and water weight of a pipe from its diameter and length, in gallons and liters.
Published by Blueprint Dynamics. Planning tools, not professional advice. Read the formula, assumptions, and examples below before relying on a result. Independent professional review is not claimed. Learn more about our methodology →
AllTemplates • Blueprint Dynamics • hello@bpdynamics.io. Educational worksheet; entries and assumptions are not independently verified. This document is not tax, legal, medical, investment or engineering approval. Review current official rules and seek a qualified specialist where appropriate.
Specialist review required for real decisions
Not Manual J sizing, an electrical ampacity/code check, or an installation approval. A licensed trade professional must check manufacturer data, local code, circuit protection, temperature, bundling and real site loads.
Primary reading context, not an endorsement or evidence that the linked organization reviewed this tool. No independent professional sign-off is claimed.
About the Pipe Volume Calculator
Knowing how much water a length of pipe holds is a routine but easy-to-fumble calculation for plumbers, pool and irrigation techs, and process piping crews. This tool takes an inside diameter and a length and returns the internal volume in gallons and liters plus the weight of that water, so you can dose chemicals, size a pump or expansion tank, or estimate how long a flush will take.
The volume trapped in a pipe drives a surprising number of field decisions. Chlorinating a new water main means dosing to the pipe's volume; filling a hydronic loop means knowing the system's water content; and flushing a line to clear sediment takes a predictable number of gallons before clean water reaches the tap.
Because water is heavy, the tool also reports weight. A long run of large pipe full of water adds real load to hangers and structure, and that weight matters for roof-mounted lines, suspended runs, and anything a crew has to drain and support during service.
How the Pipe Volume Calculator works
The calculation is the volume of a cylinder. The tool halves your inside diameter to get the radius, then computes area as pi x radius squared, using the inside diameter so the answer reflects the true water-carrying bore rather than the outside dimension.
Length in feet is converted to inches (length x 12) and multiplied by the cross-sectional area to give the internal volume in cubic inches. That raw volume is then divided by 231, the number of cubic inches in a US gallon, to express capacity in gallons.
From gallons the tool derives the other figures: liters come from multiplying by 3.78541 (liters per US gallon), and water weight comes from multiplying gallons by 8.34, the weight in pounds of one US gallon of water at room temperature. All results update as you change the diameter or length.
Worked example
Take a 2-inch inside-diameter pipe running 50 feet. The radius is 1 inch, so the cross-sectional area is pi x 1 x 1 = 3.1416 square inches. Length in inches is 50 x 12 = 600 inches.
Volume is 3.1416 x 600 = 1,885 cubic inches. Dividing by 231 gives 8.16 US gallons, which is 8.16 x 3.78541 = 30.9 liters.
The water weight is 8.16 x 8.34 = 68.1 pounds. So that 50-foot section holds about 8.2 gallons and adds roughly 68 pounds when full, useful both for figuring a chlorination dose and for confirming the hangers can carry the filled line.
Tips & common mistakes
- Enter the inside diameter, not the nominal pipe size or the outside diameter. Nominal 2-inch Schedule 40 PVC actually has a bore closer to 2.05 inches, and copper and steel differ too, so use the true ID for an accurate volume.
- Wall thickness matters more as pipe shrinks. On small tubing the difference between OD and ID is a large fraction of the bore, so grabbing the outside measurement can overstate volume significantly.
- For chlorination and chemical dosing, base your dose on the total system gallons, then add a margin, since fittings, valves, and tanks hold extra volume this straight-pipe estimate does not include.
- The 8.34 lb/gal figure is for fresh water near room temperature. Hot water, glycol mixes, and brines weigh differently, so adjust if you are sizing supports for a heated or treated system.
- To estimate flush time, divide the gallons by your flow rate in gallons per minute; the 8.16-gallon example clears in about a minute at 8 gpm.
Pipe Volume Calculator: frequently asked questions
Should I use inside or outside diameter?
Always use the inside diameter (the bore), because that is the space water actually occupies. Outside diameter includes the pipe wall and will overstate volume, an error that grows for small or thick-walled pipe. Check the pipe's spec sheet for the true ID of your material and schedule.
How do you convert cubic inches to gallons?
Divide cubic inches by 231, since one US gallon equals exactly 231 cubic inches. In the example, 1,885 cubic inches / 231 = 8.16 gallons. To get liters, multiply gallons by 3.78541; to get imperial gallons instead, you would divide US gallons by about 1.201.
Why does the tool show water weight?
Full pipe is heavy and that load has to be supported. Water weighs 8.34 pounds per US gallon, so long or large runs add hundreds of pounds. Knowing the weight helps you space hangers correctly and confirm that suspended or rooftop piping is adequately supported.
Does this account for fittings and valves?
No. It calculates the volume of straight pipe only. Elbows, tees, valves, meters, and tanks all hold additional water, so for total system volume, chlorination, or fill calculations, add a margin on top of the straight-pipe figure to be safe.
Can I use this for non-water liquids?
The volume in gallons and liters is correct for any liquid since it is pure geometry. The weight figure, however, assumes water at 8.34 lb/gal. For glycol, oil, or brine, multiply the gallons by that fluid's specific weight instead to get an accurate load.
How do I estimate how long it takes to fill or flush?
Divide the pipe volume in gallons by your flow rate in gallons per minute. The 8.16-gallon example fills in roughly one minute at 8 gpm, or about two minutes at 4 gpm. For flushing, plan on moving several pipe volumes to fully clear sediment or old water.