The pipe volume calculator above works out how much fluid a length of pipe contains, in US gallons and in litres, together with the weight of that fluid and how long it takes to fill at a given rate. You can either enter the inside diameter directly or pick a nominal pipe size and supply the wall thickness for your schedule, and the tool derives the bore from the outside diameter.
Arb Digital publishes this as part of a free construction and building services tool set. The reason a dedicated pipe tool exists rather than a general cylinder tool is nominal sizing. A pipe called two inch is not two inches in any dimension: its outside diameter is 2.375 inches and its bore depends entirely on the wall thickness of the schedule you bought. Getting that one step wrong is the difference between a correct answer and one that is out by a quarter.
What This Pipe Volume Calculator Does
It computes the internal cross-sectional area of the bore, multiplies by the run length, and reports that volume in gallons, litres and cubic feet or cubic metres. It also gives volume per unit length, which is the figure to keep in your head — once you know a pipe holds a certain amount per foot or per metre, any length becomes mental arithmetic. Weight of contents comes from the volume and the fluid specific gravity, and time to fill comes from the volume and the rate you enter.
The nominal size selector supplies outside diameters, which are fixed by standard and do not change with schedule. Wall thickness is not supplied, and that is deliberate. Wall thickness depends on the schedule, the material and sometimes the manufacturing route, and typing a schedule table from memory is exactly how estimating tools acquire silent errors. Read the value from ASME B36.10M, Welded and Seamless Wrought Steel Pipe, from the corresponding standard for your plastic or copper material, or from the manufacturer's data sheet, then enter it here.
This is different from our cylinder volume calculator, which takes raw geometry and returns a volume with no notion of nominal sizes, gallons or fill weight. It is also different from the pipe flow calculator, which deals with velocity, flow rate and pressure drop rather than static contents.
How to Use It
- Pick your unit system. Imperial reads diameters in inches, length in feet and volume in US gallons. Metric reads millimetres, metres and litres.
- Choose how the pipe is specified. If you have a caliper or a data sheet, enter the inside diameter directly. If you only know the nominal size, select it and add the wall thickness for your schedule.
- Enter the run length. Use the developed length including the equivalent run through fittings if you want the true contents; fittings hold fluid too.
- Set the fluid specific gravity. Water is 1.0. Anything else needs the figure from the fluid's data sheet, and the weight result scales directly with it.
- Read the volume per unit length. It is the number worth writing on the drawing, because it turns every future length question into a multiplication.
The Formula / How It's Calculated
The bore is derived first: ID = OD − 2 × wall thickness. Cross-sectional area is A = π × ID² ÷ 4, and volume is that area multiplied by the length, with the units reconciled. In imperial the tidy route is to work in cubic inches and divide by 231, because a US liquid gallon is defined as exactly 231 cubic inches. In metric, one litre is exactly one cubic decimetre, so a bore in millimetres and a length in metres give litres directly once the powers of ten are handled.
Worked example with the loaded defaults. A nominal two inch pipe has an outside diameter of 2.375 inches. With a 0.154 inch wall the bore is 2.375 − 0.308 = 2.067 inches. The area is π × 2.067² ÷ 4 = 3.356 square inches. A 100 foot run is 1,200 inches, so the volume is 4,027 cubic inches, which is 4,027 ÷ 231 = 17.43 US gallons, or 65.99 litres, or 2.33 cubic feet. Filled with water at a specific gravity of 1.0 that is about 145 pounds, and at ten gallons per minute the line charges in 1.74 minutes.
Weight of contents uses 8.3454 pounds per US gallon for water at ordinary temperature, scaled by specific gravity, or one kilogram per litre in metric. Both are approximations that ignore the small variation of density with temperature, which is well under one percent across the range plumbing normally sees.
Why Nominal Size Is Not a Measurement
Nominal pipe size is a name, not a dimension. For NPS 12 and below, the outside diameter is numerically larger than the size designation — NPS 2 is 2.375 inches outside — and for NPS 14 and above the outside diameter equals the number exactly. The historical reason is that early pipe sizing was based on an approximate bore for a wall thickness that has since changed several times, while the outside diameter had to stay fixed so that threads and fittings kept working.
The practical consequence is that the same nominal size can have very different capacities. Increase the wall of a nominal two inch pipe from 0.154 to 0.218 inches and the bore falls from 2.067 to 1.939, which drops the volume per foot by about 12 percent. Since volume goes as the square of the bore, thickness errors are amplified. Copper tube is worse for confusion again: copper is sized by a nominal figure that is one eighth of an inch smaller than its actual outside diameter, so nominal half inch copper measures 0.625 inches outside.
If you have the pipe in front of you, measuring the bore directly with a caliper removes all of this. If you are working from a drawing, take the wall thickness from the specification for the line class, not from a general table.
Where Pipe Volume Actually Matters
Four situations come up repeatedly. Chemical dosing and water treatment need the contents so a slug of treated water can be tracked through a line. Hydrostatic pressure testing needs the fill volume so the test pump is sized and the water disposal is planned. System charging for heating and chilled water needs the total loop volume before inhibitor or glycol is dosed, because dosing rates are given as a percentage of system volume. And thermal expansion sizing needs the volume, because the expansion vessel is chosen from how much the contents grow between cold fill and operating temperature.
A fifth, less obvious one is structural. A long horizontal run of large pipe full of water is heavy: a hundred feet of nominal twelve inch pipe holds around 735 gallons, weighing over three tons before the pipe itself is counted. Hanger spacing and support design are governed by the filled weight, not the empty weight, and that is a calculation for the engineer of record rather than for this page.
Fittings, Slope and the Length You Should Use
The run length that goes into a volume calculation is the actual developed length of pipe, following every rise, drop and offset. Measuring a straight line on a plan understates it. Elbows, tees and valves contain fluid too, and while their individual contribution is small, a congested plant room with dozens of fittings can add several percent. For a fill or dosing calculation that matters; for a rough capacity check it does not.
Slope introduces a different problem: a partly filled drain or gravity line is not a full pipe, and this tool assumes the bore is completely full. Drainage design deliberately runs pipes part full, often around half, so a foul or storm line contains far less than the figure here. Use this calculation for pressurised lines that run full, and treat gravity drainage as a separate problem governed by the plumbing code adopted in your jurisdiction, published through the ICC Digital Codes library in much of the United States.
Reading Volume Per Unit Length
The most portable number this tool gives you is not the total, it is the volume per foot or per metre. Nominal two inch schedule 40 steel holds about 0.174 gallons per foot. Once that is in your notes, a 340 foot run is 59 gallons without opening anything. Estimators keep a short list of these figures for the sizes they use most, and it turns a site question into a five second answer.
It also gives you a fast sanity check on someone else's number. Because volume scales with the square of the bore, doubling the pipe size quadruples the capacity per unit length. If a schedule says a four inch line holds twice what a two inch line holds, the schedule is wrong. Our cross-sectional area calculator handles the area step on its own, and the tank volume calculator covers vessels rather than runs.
Arb Digital builds free calculators and interactive tools that earn search traffic for plumbing, mechanical and construction businesses. Browse the full library, or tell us what your customers keep asking you to work out.
Browse Free Tools Talk To Arb DigitalCommon Mistakes to Avoid
- Using the nominal size as the bore — a nominal two inch pipe has a 2.375 inch outside diameter and a bore that depends entirely on its schedule.
- Guessing wall thickness — it changes with schedule and material, and because volume goes as the square of the bore, a small error is magnified.
- Mixing gallon definitions — a US liquid gallon is 231 cubic inches and an imperial gallon is about 277, a 20 percent difference.
- Using plan length instead of developed length — the pipe follows every rise and offset, and the fluid follows the pipe.
- Applying full-bore volume to gravity drainage — drains are designed to run part full, so the contents are far less than a full-pipe calculation suggests.
Related Free Tools From Arb Digital
Pair this with the pipe flow calculator for velocity and pressure drop, the cylinder volume calculator for plain geometry, the tank volume calculator for vessels, the cross-sectional area calculator for the bore area alone and the rainfall volume calculator for stormwater quantities. The full free online tools hub lists every calculator we publish.
Frequently Asked Questions
With a 2.375 inch outside diameter and a 0.154 inch wall, the bore is 2.067 inches, so the run holds about 17.4 US gallons or 66 litres, weighing roughly 145 pounds when full of water.
Because wall thickness varies with schedule, material and manufacturing route, and reproducing such a table from memory is how silent errors get into estimating tools. Read the figure from ASME B36.10M or your manufacturer's data sheet and enter it.
Neither exactly. For NPS 12 and below the outside diameter is a fixed value numerically larger than the size name, and the bore depends on the wall thickness. From NPS 14 upward the outside diameter equals the nominal number.
The US liquid gallon, defined as exactly 231 cubic inches. An imperial gallon used in the UK is about 277 cubic inches, roughly 20 percent larger, so results differ noticeably between the two.
Yes, but enter the inside diameter directly. Copper is sized differently from steel: nominal copper tube measures one eighth of an inch larger than its name on the outside, so the NPS selector does not apply.
Not for the contents at normal operation. Gravity drainage is designed to run part full, so the actual contents are well below a full-bore figure. This calculation assumes a completely full pipe.
Enter its specific gravity, which is its density relative to water. The weight result scales directly with that figure, so a fluid at 1.2 specific gravity weighs twenty percent more than the same volume of water.
No. It reports the weight of the contents only. Pipe wall weight depends on the material density and the wall thickness, and support and hanger design is based on the combined filled weight, which is an engineering task.
This tool produces volume estimates for planning only. Pipe support, pressure rating and drainage design are governed by the applicable codes and standards and must be confirmed by a qualified professional.