How to read the result
- Gallons and litres: the result is the water in a full pipe, shown in US gallons and in litres side by side, plus cubic feet or cubic metres and the volume of each foot or metre of pipe.
- Inside diameter, not outside: the pipe wall takes up room, so use the inside diameter from the pipe’s data sheet. A copper tube size such as “1/2 in.” is a name, not a diameter; choose copper tube and the calculator uses the inside diameter from the CDA table.
- Several runs: enter the number of identical runs and the volume is multiplied. A different size needs its own calculation.
- Time to fill: enter a flow rate and the volume is divided by it. It leaves out trapped air, other draws on the supply and pressure changes, so treat it as a guide.
To see how fast water moves through the same pipe, use the Pipe Flow Calculator. If the pipe feeds or drains a tank, the Tank Volume Calculator gives the tank's capacity.
Worked example
A pipe with a 2 in. inside diameter, 50 ft long, one run, filled at 10 gal/min.
- Inside area = π × 2² ÷ 4 = 3.142 in²
- Length = 50 ft × 12 = 600 in., so volume = 3.142 × 600 = 1,884.96 in³, which is 1.091 ft³
- Gallons: 1,884.96 ÷ 231 in³ per gallon = 8.16 gal
- Litres: 8.16 gal × 3.785 = 30.89 L
- Per foot: 8.16 gal ÷ 50 ft = 0.1632 gal/ft
- Fill time: 8.16 gal ÷ 10 gal/min = 0.8 min
Two identical runs hold 16.32 gal. The same line in copper tube Type L, 2 in. nominal, has a smaller inside diameter (1.985 in.) and holds 8.04 gal. Metric check: 50.8 mm by 15.24 m is the same pipe and holds 30.89 L.
Method and formulas
Inside area A = π × D² ÷ 4
Volume of one run V = A × L
Total volume = V × number of runs
Gallons = volume in cubic inches ÷ 231 · litres = volume in cubic metres × 1000
Time to fill = total volume ÷ flow rate
- D
- Inside diameter of the pipe; for copper tube Type L, the inside diameter in the CDA table
- L
- Length of one run of pipe
- 231 in³
- One US gallon (3.785411784 L); 1 in = 25.4 mm exactly
Assumptions and limits
- The pipe is a full round tube, so its volume is the inside circle area times the length; the wall thickness does not enter except through the inside diameter.
- Copper tube sizes use the inside diameter column of the CDA Type L table; the printed volume column of that table is not used.
- The pipe is treated as straight and full; fittings, valves and fixtures are not counted.
- Fill time assumes a steady flow rate and a pipe that is full only at the end.
- Sizes are built in for copper tube Type L only; for PVC, PEX, steel, ductile iron or any other pipe, enter the inside diameter from the pipe’s data sheet.
- Not for partly full pipes or sloped drains; see the Pipe Flow Calculator for flow in a partly full gravity pipe.
- No water weight, no disinfection dose, no pressure or friction loss; this page is geometry only.
- Fill time ignores air trapped in the line, the draw of other fixtures and pressure changes.
- Not a design and not a quote; check the pipe data sheet and the local rules.
Reference tables
| Inside diameter | Inside diameter, mm | US gallons per foot | Litres per metre |
|---|---|---|---|
| 1/4 in. | 6.4 | 0.0025 | 0.0317 |
| 1/2 in. | 12.7 | 0.0102 | 0.1267 |
| 3/4 in. | 19.1 | 0.0229 | 0.2850 |
| 1 in. | 25.4 | 0.0408 | 0.5067 |
| 1 1/4 in. | 31.8 | 0.0637 | 0.7917 |
| 1 1/2 in. | 38.1 | 0.0918 | 1.1401 |
| 2 in. | 50.8 | 0.1632 | 2.0268 |
| 3 in. | 76.2 | 0.3672 | 4.5604 |
| 4 in. | 101.6 | 0.6528 | 8.1073 |
| 6 in. | 152.4 | 1.4688 | 18.2415 |
| 8 in. | 203.2 | 2.6112 | 32.4293 |
| 10 in. | 254.0 | 4.0800 | 50.6707 |
| 12 in. | 304.8 | 5.8752 | 72.9659 |
Source: Calculated with the EngiFormula pipe volume engine (method v1.0) from the inside circle area times one foot or one metre. 1 in = 25.4 mm, 1 US gallon = 231 in³ = 3.785411784 L, exact; NIST SP 811 (2008 edition).
Copper tube Type L
| Nominal size | Inside diameter, in. | Inside diameter, mm | US gallons per foot | Litres per metre |
|---|---|---|---|---|
| 1/4 in. | 0.315 | 8.0 | 0.0040 | 0.0503 |
| 3/8 in. | 0.430 | 10.9 | 0.0075 | 0.0937 |
| 1/2 in. | 0.545 | 13.8 | 0.0121 | 0.1505 |
| 5/8 in. | 0.666 | 16.9 | 0.0181 | 0.2248 |
| 3/4 in. | 0.785 | 19.9 | 0.0251 | 0.3122 |
| 1 in. | 1.025 | 26.0 | 0.0429 | 0.5324 |
| 1 1/4 in. | 1.265 | 32.1 | 0.0653 | 0.8108 |
| 1 1/2 in. | 1.505 | 38.2 | 0.0924 | 1.1477 |
| 2 in. | 1.985 | 50.4 | 0.1608 | 1.9965 |
| 2 1/2 in. | 2.465 | 62.6 | 0.2479 | 3.0789 |
| 3 in. | 2.945 | 74.8 | 0.3539 | 4.3947 |
| 3 1/2 in. | 3.425 | 87.0 | 0.4786 | 5.9440 |
| 4 in. | 3.905 | 99.2 | 0.6222 | 7.7268 |
| 5 in. | 4.875 | 123.8 | 0.9696 | 12.0422 |
| 6 in. | 5.845 | 148.5 | 1.3939 | 17.3112 |
| 8 in. | 7.725 | 196.2 | 2.4348 | 30.2381 |
| 10 in. | 9.625 | 244.5 | 3.7797 | 46.9417 |
| 12 in. | 11.565 | 293.8 | 5.4570 | 67.7717 |
Source: Copper Development Association (CDA), Copper Tube Handbook, Table 14.2b, Type L: the nominal size and inside diameter columns, read 14 October 2026. The volumes are calculated here from the inside diameter, not copied from the handbook table.
Charts and diagrams
Common uses
- Plumbing line before fill, drain or flush: how much water the run holds.
- Irrigation or radiant heating loop: the volume of a loop, and of several identical loops.
- Hot water recirculation or wait-time check: the water in the line and how long it takes to run through at your flow rate.
- Site pipework and temporary water lines: a quick figure for a long run.
Frequently asked questions
How do you calculate the volume of a pipe?
Find the area of the inside circle (π × D² ÷ 4) and multiply by the length. For a 2 in. inside diameter and 50 ft of pipe that is 3.142 in² × 600 in. = 1,884.96 in³, or 8.16 gal.
How many gallons are in a foot of pipe?
It depends on the inside diameter. A 2 in. inside diameter holds 0.1632 gal/ft; a 1 in. holds 0.0408 gal/ft and a 4 in. holds 0.6528 gal/ft. The tables above list more sizes, and this pipe volume calculator gallons result also shows the litres per metre.
How do I find the volume of a pipe in litres or in gallons?
Work in one unit system, then convert: one US gallon is 231 cubic inches (3.785411784 L) and one cubic metre is 1,000 litres. The calculator shows both side by side, so the 50 ft pipe above is 8.16 gal and 30.89 L.
Do I use the inside or the outside diameter?
The inside diameter, because the water is inside the wall. Take it from the pipe’s data sheet, or subtract twice the wall thickness from the outside diameter. For copper tube Type L the nominal size is neither: a 2 in. nominal tube has a 1.985 in. inside diameter, so 50 ft holds 8.04 gal, not the 8.16 gal of a true 2 in. bore.
Does the pipe material change the volume?
Only through the wall thickness, which sets the inside diameter. The same outside size can have different inside diameters in different materials and schedules. This water pipe volume calculator takes the inside diameter you type, so use it for PVC, PEX, steel or any other pipe, and use the copper option for Type L tube.
How long does it take to fill or flush a pipe?
Divide the volume by the flow rate. The 50 ft pipe at 10 gal/min takes 0.8 min. Trapped air, other draws on the supply and pressure changes make a real fill different.
Can I use this for gas, air or other fluids?
The volume of the pipe is geometry and does not depend on what is in it. Weight, pressure and flow behaviour do, and this page does not cover them.
Is there a PVC pipe volume calculator?
Yes. Enter the inside diameter of the PVC pipe (it depends on the schedule, not only the nominal size) and the length, and this calculator gives the gallons and litres the pipe holds. The same steps work for any pipe material.
Sources and references
- Copper Development Association (CDA), Copper Tube Handbook, Table 14.2b, Dimensions and Physical Characteristics of Copper Tube, Type L: nominal size and inside diameter (online table, read 14 October 2026; the page prints no edition).
- NIST Special Publication 811, Guide for the Use of the International System of Units (SI), 2008 edition, Appendix B (exact value for the inch; the US gallon and cubic foot).
- Area and volume of a cylinder: plane and solid geometry, as set out in the Method section above.
About this calculator
Scope and disclaimer
Works out the volume of water a full, straight round pipe holds from its inside diameter and length, and the time to fill it at a flow rate. Geometry only. Not a design and not a quote.
This calculator gives information and preliminary estimates only. It is not professional design advice and does not replace the governing code, product instructions or a qualified professional's judgement for your project.