ToolNestr

Pipe Volume Calculator

Find how much water is inside a pipe run, from its inside diameter and length.

Reviewed by the ToolNestr Editorial Team — July 2026

Disclaimer: Results are estimates for planning only. Always verify quantities, measurements and structural loads against local building codes and a qualified professional before purchasing materials or building.
Pipe as a cylinder and the volume formula A length of pipe shown as a cylinder with the water-volume formula length Pipe volume in³ = π × (dia⁄2)² × (L×12) gallons = in³ ÷ 231
A pipe is a long cylinder — its water volume is the bore area times the length.

How the pipe volume calculator works

A pipe is a cylinder, so the water it holds is the bore's cross-sectional area multiplied by the length. Using the inside diameter, the area is π × (diameter ÷ 2)². Multiply by the length — converted to inches — to get cubic inches, then divide by 231, the number of cubic inches in a US gallon, to read the volume directly in gallons.

The single most important detail is to use the inside diameter, not the nominal size or the outside diameter. Water only occupies the bore, and pipe walls have real thickness, so a "1 inch" pipe rarely has a true 1-inch inside diameter. Feeding the outside diameter into the formula overstates the volume, sometimes substantially on thick-walled pipe.

Knowing pipe volume answers several practical questions: how much water must run before a line is fully flushed or purged, how much is needed to fill and pressure-test a new run, how long a system takes to drain, and how much standing water sits in a supply line between uses. Multiplying gallons by 8.34 pounds also gives the weight of that water, which matters when long, large-diameter pipe is supported overhead.

The cylinder volume formula and the 231 cubic-inch-per-gallon conversion are standard references used throughout plumbing and civil engineering design manuals, including AWWA pipe design guidance.

1

Measure the bore

Use the true inside diameter in inches.

2

Enter the length

Total run length of the pipe in feet.

3

Read the volume

Gallons, liters, and the water weight it holds.

The formula explained

Cubic inches

= π × (dia⁄2)² × (L × 12). A 1 in bore, 100 ft pipe: π × 0.5² × 1200 = 942.5 in³.

Gallons

= in³ ÷ 231 = 942.5 ÷ 231 = 4.08 gallons.

Water weight

= gallons × 8.34 lb = 4.08 × 8.34 = 34 lb of water in the line.

Worked example

A 2 in inside-diameter irrigation main, 250 ft long.

Length: 250 × 12 = 3,000 in
Volume: π × 1² × 3,000 = 9,425 in³
Gallons: 9,425 ÷ 231 = 40.8 gal
Weight: 40.8 × 8.34 ≈ 340 lb

Use cases for the pipe volume calculator

🔧

Pressure testing new runs

Before a new water line is buried or closed behind drywall, plumbers fill and pressure-test it. Knowing the exact volume tells you how much water is needed to fill the line and how long a fill should take at a given flow rate.

🧯

Draining and winterizing systems

Irrigation systems and outdoor plumbing need to be drained before freezing weather. Pipe volume tells you roughly how much water — and how much compressed air, if you are blowing out lines — is needed to fully clear a run.

🧪

Flushing and dosing chemicals

Chlorinating a well line or dosing a chemical treatment into a pipe run requires knowing the standing volume so the concentration lands where it is supposed to, rather than being diluted or over-concentrated.

🏗️

Structural support planning

Long runs of large-diameter pipe suspended overhead need hangers rated for the pipe's weight plus the water inside it. Calculating water weight per foot helps engineers size supports correctly.

Real-world context

Repiping a home with 3/4-inch PEX is one of the most common uses for this calculator. A 50-foot supply run of 3/4-inch inside-diameter PEX holds about 1.15 gallons — small enough that plumbers rarely worry about drain-back, but knowing it matters when pressure-testing a newly run line before it gets buried in a wall.

Sewer laterals sit at a different scale. A 4-inch inside-diameter lateral running 40 feet from a house to the main holds about 26.1 gallons of standing water — a figure septic and sewer inspectors use when estimating how much water needs to flow before a dye test or camera inspection actually reaches the point being checked.

Fire protection mains are sized generously, and the weight adds up fast. A 6-inch inside-diameter fire main just 20 feet long holds roughly 29.4 gallons, weighing about 245 lb — compare that to a 4-inch, 40-foot lateral at roughly 217.8 lb, and it is clear why long runs of large-bore pipe need real structural support when they are hung overhead rather than buried.

Common misconceptions

"A 1-inch pipe has a 1-inch inside diameter." Almost never true. Nominal pipe sizes describe a naming convention, not the actual bore. Schedule 40 PVC, copper, and PEX all have inside diameters that differ from their nominal size — sometimes by a tenth of an inch or more — so always measure or look up the true inside diameter before calculating volume.

"Pipe volume and flow rate measure the same thing." They answer different questions. Volume tells you how much water is standing inside the pipe at any given moment; flow rate (GPM) tells you how fast water moves through it. A long pipe can hold a lot of standing volume while carrying a modest flow rate, or vice versa.

Related calculators

Frequently asked questions

How do I calculate the volume of water in a pipe?

A pipe is a cylinder: volume = π × (inside radius)² × length. Work in inches, then divide the cubic inches by 231 to get US gallons. For a 1-inch inside diameter, 100-foot pipe that is π × 0.5² × 1200 = 942 in³ ÷ 231 = about 4.1 gallons.

Should I use inside or outside diameter?

Always use the inside (bore) diameter, because that is the space water actually occupies. Nominal pipe sizes are not the true bore — a "1 inch" copper or PVC pipe has an inside diameter slightly different from 1 inch, so use the real inside measurement for accuracy.

Why does pipe volume matter?

It tells you how much water must be flushed to clear a line, how long it takes to purge or drain a system, the water needed to fill or pressure-test a run, and the standing volume that sits in a pipe between uses — useful for both plumbing and irrigation design.

How much does the water in a pipe weigh?

Water weighs about 8.34 pounds per gallon, so multiply the pipe volume in gallons by 8.34 to estimate the weight of the water it holds — important when a long, large-diameter line is supported overhead.

Sources & references

This tool uses standard formulas and reference values from:

  • American Concrete Institute — ACI 318, Building Code Requirements for Structural Concrete. concrete.org
  • ICC — International Residential Code (IRC), span, footing and framing tables. codes.iccsafe.org
  • APA – The Engineered Wood Association, allowable span and load guidance.

Estimates for planning only. Span, load and code values vary by jurisdiction — verify against your local adopted code and a licensed engineer before building.

All tool categories

🏠 Construction & Home Improvement (105 tools)
🎨 Paint Coverage Calculator📐 Square Footage Calculator📏 Perimeter Calculator🏗️ Concrete Calculator🧱 Concrete Slab Calculator⬜ Tile Calculator🪵 Flooring Calculator🧱 Brick Calculator🚧 Fence Calculator🪵 Deck Calculator🏠 Roofing Calculator⛰️ Gravel & Sand Calculator🌿 Mulch Calculator🪵 Board Foot / Lumber Calculator🏊 Pool Volume Calculator📦 Cubic Yardage Calculator🧱 Drywall Calculator🛡️ Insulation Calculator🌱 Sod Calculator🟫 Paver Calculator🪜 Stair Calculator🧊 Concrete Block Fill Calculator🛢️ Sonotube Concrete Calculator🕳️ Concrete Footing Calculator🔻 Concrete Stairs Calculator🪣 Mortar Mix Calculator🔳 Thinset Coverage Calculator⏲️ Concrete Curing Time Calculator🏋️ Metal Weight Calculator🔗 Rebar Calculator🔨 Framing Stud Calculator🚰 Pipe Weight Calculator🔲 Retaining Wall Block Calculator🏘️ Vinyl Siding Calculator🧽 Tile Grout Calculator🌀 Spiral Staircase Calculator❄️ AC Unit Size Calculator🔥 Furnace BTU Calculator🌡️ Home Heat Loss Estimator🚧 Fence Post Spacing Calculator🖌️ Deck Stain Calculator🖼️ Wallpaper Roll Calculator♿ ADA Ramp Slope Calculator🐔 Chicken Coop Size Calculator📐 Roof Pitch Calculator📏 Rafter Length Calculator🏚️ Roof Truss Spacing Calculator❄️ Snow Load Calculator🏗️ Metal Roofing Calculator🛖 Gambrel Roof Rafter Calculator🛣️ Asphalt Driveway Calculator🪨 Road Base Calculator🛁 Water Tank Volume Calculator🪷 Pond Volume Calculator🚿 GPM Flow Rate Calculator🫗 Pipe Volume Calculator🚒 Fire Flow Calculator🔄 Square Feet to Cubic Yards Calculator🧴 Gallons per Square Foot Calculator📤 Box Weight Calculator🪚 Miter Angle Calculator🔺 Compound Angle Calculator📉 Grade & Slope Calculator⭕ Bolt Circle Calculator🐎 Round Pen Calculator🔩 Countersink Depth Calculator🌉 Beam Deflection Calculator💠 Bending Stress Calculator🔧 Bolt Torque Calculator⚡ Welding Amperage Calculator🗳️ Electrical Box Fill Calculator🚪 Door Header Size Calculator📊 Floor Joist Span Calculator🧥 Insulation R-Value Calculator🟦 Concrete Block (CMU) Count Calculator🏛️ Concrete Column Calculator⚖️ Concrete Weight Calculator🔘 Post Hole Concrete Calculator🪟 Board and Batten Calculator💧 French Drain Calculator🗿 Stone Weight Calculator🧮 Steel Plate Weight Calculator🌬️ Air Changes Per Hour (ACH) Calculator⛩️ Arch Layout Calculator🔆 Boiler Size Calculator🧶 Carpet Calculator🧾 DIY Shed Cost Calculator🧪 Epoxy Resin Calculator🗺️ Floor Area Ratio (FAR) Calculator🏕️ Hoop House Calculator📶 Ladder Angle Calculator🏖️ Paver Sand Calculator📚 Plywood Sheet Calculator🎋 Shiplap Calculator🪞 Wainscoting Calculator🪛 Birdsmouth Cut Calculator🛻 Concrete Driveway Cost Calculator🛞 Gravel Driveway Calculator💦 Liters Per Minute Calculator🏋️‍♂️ Beam Load Calculator🌲 Wood Beam Span Calculator🧬 Carbon Equivalent (CE) Calculator📌 Thread Pitch Calculator⚙️ Rivet Size Calculator🍃 CFM Airflow Calculator
🌐 Networking & IP Tools (36 tools)
🧮 Everyday (26 tools)
💪 Health & Fitness (30 tools)
💰 Finance (34 tools)
🔢 Math (23 tools)
📄 PDF Tools (10 tools)
🎨 Creators (12 tools)
💻 Developers (24 tools)
⚡ Engineering & Science (24 tools)
⚛️ Physics (48 tools)
🧪 Chemistry (50 tools)
🧬 Biology (50 tools)
👗 Clothing & Garment Tools (68 tools)
🍳 Cooking & Baking (9 tools)
🚗 Automotive (26 tools)
🖼️ Image Tools (13 tools)
🔐 Security & Hash (15 tools)
📝 Text Tools (15 tools)
🔍 SEO Tools (11 tools)
🔄 Converters (69 tools)
🕐 Time & Date (15 tools)
📊 Chart Generators (11 tools)
🕌 Islamic Tools (16 tools)