Home › Calculators › Pipe Volume Calculator

Pipe Volume Calculator

Find how much liquid a pipe holds. Choose a standard steel or PVC schedule, copper tube or PEX size, or type any inner diameter, add the length, and get the volume in US gallons, liters and cubic feet, the weight of the water and how long it takes to fill at your flow rate.

Last updated:

Pipe size
Size the pipe by
Length & fluid

Density relative to water (water = 1).

Fill time (optional)

Leave empty to skip the fill time.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Pipe Volume Calculator

  1. Choose how to size the pipe: a standard pipe or tube size, or a measured inner diameter.
  2. Pick the pipe type and nominal size (for example 2" Schedule 40 or 3/4" PEX), or type the inside diameter and its unit.
  3. Enter the length of the run in feet, meters or another unit.
  4. Select the fluid to get its weight, and optionally enter a flow rate for the fill time.
  5. Read the volume in gallons and liters, and compare other sizes in the table below.

Pipe volume formula

A full pipe is a cylinder, so its capacity depends only on the inside diameter and the length:

  • Volume: V = π ÷ 4 × ID² × L
  • US gallons = cubic inches ÷ 231; liters = cubic inches ÷ 61.024; cubic feet = cubic inches ÷ 1,728
  • Shortcut: gallons per foot = 0.0408 × ID² (ID in inches); liters per meter = 0.000785 × ID² (ID in mm)
  • Fluid weight = gallons × 8.34 lb × specific gravity
  • Fill time = volume ÷ flow rate

Example: 100 ft of 2" Schedule 40 pipe has ID 2.067", so A = 0.7854 × 2.067² = 3.356 in², V = 3.356 × 1,200 in = 4,027 in³ = 17.4 US gal = 66.0 L, and the water weighs about 145 lb.

Steel and PVC pipe capacity (Schedule 40 and 80)

NPSSch 40 ID (in)Sch 40 gal/ftSch 40 gal/100 ftSch 80 ID (in)Sch 80 gal/ft
1/2"0.6220.01581.60.5460.0122
3/4"0.8240.02772.80.7420.0225
1"1.0490.04494.50.9570.0374
1-1/4"1.3800.07777.81.2780.0666
1-1/2"1.6100.105810.61.5000.0918
2"2.0670.174317.41.9390.1534
3"3.0680.384038.42.9000.3431
4"4.0260.661366.13.8260.5972
6"6.0651.5008150.15.7611.3541
8"7.9812.5988259.97.6252.3721
10"10.0204.0963409.69.5623.7304
12"11.9385.8146581.511.3745.2781

Dimensions follow ASME B36.10M (steel); Schedule 40 and 80 PVC to ASTM D1785 share the same outside diameters and wall thicknesses.

Copper tube and PEX capacity

Copper sizeType K gal/ftType L gal/ftType M gal/ft
3/8"0.00660.00750.0083
1/2"0.01130.01210.0132
3/4"0.02260.02510.0268
1"0.04040.04290.0454
1-1/4"0.06320.06530.0680
1-1/2"0.08950.09240.0951
2"0.15660.16080.1647
2-1/2"0.24190.24790.2540
3"0.34480.35390.3626
4"0.60700.62220.6317
PEX size (SDR-9)Approx. ID (in)gal/ftL/m
3/8"0.3600.00530.066
1/2"0.4850.00960.119
3/4"0.6810.01890.235
1"0.8750.03120.388
1-1/4"1.0690.04660.579
1-1/2"1.2630.06510.808
2"1.6530.11151.385

Copper tube is sized by ASTM B88 (outside diameter = nominal + 1/8"). PEX inside diameters here use the SDR-9 minimum wall from ASTM F876, so real tubing can hold slightly less. Always check the manufacturer's data when the exact volume matters, for example when dosing antifreeze or water treatment.

Tips

  • Hydronic and solar loops: add the volume of the boiler, heat exchanger, expansion tank and fittings to the pipe volume before buying glycol.
  • Hot water wait: the water already in the line must run out before hot water arrives. Volume ÷ faucet flow gives the delay.
  • Flushing and disinfection: line volume tells you how much water one full flush uses and how much disinfectant is needed for a target concentration.
  • Pipe supports: the water weight shown is for the liquid only. Add the weight of the empty pipe and insulation when spacing hangers.

Frequently asked questions

How do you calculate the volume of a pipe?

Use the inside diameter: V = π × (ID ÷ 2)² × length. With the diameter in inches and length in inches you get cubic inches; divide by 231 for US gallons or by 61.024 for liters. A handy shortcut is gallons per foot = 0.0408 × ID² (ID in inches).

How many gallons are in 100 feet of 2 inch pipe?

2" Schedule 40 steel or PVC has an inside diameter of 2.067", so it holds 0.0408 × 2.067² ≈ 0.174 gallons per foot, or about 17.4 US gallons (66 liters) per 100 feet. Schedule 80 (ID 1.939") holds about 15.3 gallons per 100 feet.

Why use the inside diameter and not the nominal size?

Nominal pipe size is only a name. A 1" Schedule 40 pipe is really 1.049" inside, 1" Schedule 80 is 0.957", 1" copper Type L is 1.025" and 1" PEX is about 0.875". The thicker the wall, the less liquid the pipe holds, so this calculator looks up the real inside diameter for each type.

How much does the water in a pipe weigh?

Fresh water weighs about 8.34 lb per US gallon (1 kg per liter). Multiply the volume in gallons by 8.34 and by the fluid's specific gravity for other liquids, for example about 1.025 for seawater or 0.85 for diesel. The result is the fluid only; add the empty pipe weight for supports.

How long does it take to fill a pipe?

Divide the volume by the flow rate. 100 feet of 2" Schedule 40 holds about 17.4 gallons, so at 10 GPM it fills in about 1.7 minutes. The same formula estimates how long a line takes to drain or how long before hot water reaches a faucet.

How many gallons per foot is 3/4 inch PEX or copper?

3/4" PEX (SDR-9) holds about 0.018 to 0.019 gallons per foot, 3/4" copper Type L about 0.025 gallons per foot, and 3/4" Schedule 40 pipe about 0.028 gallons per foot. That is why a long 3/4" PEX run can take noticeably longer to deliver hot water than you might expect from its size alone.

Does this work for gas or air in a pipe?

The geometric volume (cubic feet or liters) is the same for any fluid. For gases the mass depends strongly on pressure and temperature, so use the volume here together with the gas law rather than the liquid weight shown.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Pipe Flow Rate CalculatorFlow rate from pipe diameter and velocity (GPM, L/s, m³/h), velocity from flow, or pipe size.Tank Volume CalculatorTotal and filled volume of cylinder, rectangular and capsule tanks in gallons and liters.Cylinder Volume CalculatorCylinder volume in liters, gallons and cubic units from radius or diameter, plus surface area.Gallons to LitersConvert US gallons to liters (gal to L) instantly, with formula and chart.Thermal Expansion CalculatorLinear, area or volume expansion from size, temperature change and material coefficient.Gear Ratio CalculatorGear ratio, output rpm and torque for multi-stage gear trains, plus vehicle speed at rpm.BTU CalculatorEstimate air conditioner BTU, tons and heating BTU for a room from its size and conditions.Rebar CalculatorRebar for a slab grid: bars each way, total length, weight by bar size and stock bars.Beam Deflection CalculatorMax deflection, moment and shear for simply supported, cantilever or fixed beams.Sheet Metal Bend Allowance CalculatorBend allowance, bend deduction and flat blank length from thickness, radius, angle, K-factor.Bolt Torque CalculatorTightening torque for metric and UNC/UNF bolts from grade, lubrication and target preload.Duct Size CalculatorRound duct diameter and equivalent rectangular duct sizes from CFM and friction or velocity.Room Heat Loss CalculatorRoom heat loss in BTU/h and watts from walls, windows, ceiling, floor and air leakage.Moment of Inertia CalculatorMass moment of inertia of common shapes and area moment of beam sections, incl. I-beams.Pulley Belt and Speed CalculatorDriven RPM, belt length, belt speed and ratio from pulley diameters and center distance.Steel Weight CalculatorWeight of steel plate, bar, pipe, tube and angle in kg and lb from dimensions and material.Tap Drill Size CalculatorTap drill size for metric, UNC and UNF threads at any thread %, with a full drill chart.Air Changes per Hour CalculatorCalculate ACH from CFM and room size, CFM for a target ACH, ACH50 or ASHRAE ventilation.Aviation Fuel CalculatorFlight fuel required with taxi, reserves and alternate, in gallons, liters and pounds.Bearing CalculatorInitial and final bearing, compass direction and great-circle distance between two coordinates.Belt Length CalculatorBelt length from two pulley diameters and center distance, or center distance from a belt.Bolt Circle CalculatorX/Y coordinates for every hole on a bolt circle, with a drawing and CSV export.Drone Flight Time CalculatorEstimate drone flight time from battery mAh, voltage, discharge, weight and amp draw.E6B Flight ComputerOnline E6B: wind correction, heading, ground speed, time-speed-distance, fuel and conversions.G-Code ViewerPreview 3D printer and CNC G-code in 2D or 3D with layers, size and estimated time.Hydraulic Cylinder CalculatorPush and pull force, extend and retract speed, cycle time and oil volume from bore, rod and pressure.ISO Fits and Tolerances CalculatorHole and shaft limits, clearance or interference and fit type for ISO 286 fits like H7/g6.Map Distance CalculatorClick points on a map to measure a path in km, miles or nautical miles, with GPX export.Pipe Schedule ChartOD, wall thickness, ID, weight per foot and volume for any NPS and pipe schedule.Pump Power CalculatorHydraulic, shaft and motor power in kW and HP from flow, head, specific gravity and efficiency.Section Modulus CalculatorSection modulus, moment of inertia, centroid and radius of gyration for beams and shapes.Shear and Moment Diagram CalculatorDraw shear force and bending moment diagrams with reactions and max values for any beam.Spur Gear CalculatorPitch, outside and root diameters, center distance and tooth sizes from module or DP.Stress and Strain CalculatorStress, strain and Young's modulus from force, area and length change, with material checks.Tension CalculatorRope tension for a hanging mass on one or two angled ropes, a pulled object or a pulley.Screw Thread CalculatorUNC, UNF and metric thread dimensions: major, pitch and minor diameters, tap drill and limits.Aircraft Weight and Balance CalculatorAircraft weight and balance: total weight, moment and CG, plotted against your CG envelope.
See all 34 Engineering & Machining Calculators →