Guides — May 12, 2026

How to Measure a Pipe's Volume: A Plumber's Practical Guide

The volume of any pipe is just the volume of a cylinder: V = π × r² × h. That's it. But here's where most people trip up — you need the inner diameter, not the outer one. I learned this the hard way when I estimated how much antifreeze I'd need to fill a heating loop, used the stamped diameter on the outside of the pipe, and ended up buying about 20% more than I actually needed. The walls on a 1-inch Schedule 40 PVC pipe are roughly 3.4 mm thick on each side. That eats into your volume more than you'd think.

Let me walk you through the whole process — measuring, calculating, converting to liters or gallons, and even figuring out flow rates — the way I actually do it on job sites. And if you just want the number fast, plug your measurements straight into our cylinder volume calculator and skip the pencil work.

Inner Diameter vs. Outer Diameter — This Is Where Everyone Gets It Wrong

I cannot stress this enough. The diameter printed on most pipes — PVC, copper, steel — is the nominal diameter. It's not the inner diameter. It's not even the outer diameter half the time. It's a trade name.

For example, a "1-inch" Schedule 40 PVC pipe has an outer diameter (OD) of about 1.315 inches and an inner diameter (ID) of about 1.029 inches. If you use the nominal "1 inch" in your volume calculation, your answer is off. If you use the OD, it's even more off because now you're including the plastic walls.

Inner vs Outer Diameter

Outer Diameter (OD) Inner Dia. (ID) Wall

Here's what I always do:

  1. Measure the outside of the pipe with calipers or a flexible tape. That gives you OD.
  2. Look up the wall thickness for that pipe type and schedule (Schedule 40, Schedule 80, etc.).
  3. Calculate ID = OD − (2 × wall thickness).

Or — and this is my preferred method — just measure the inside opening directly with inside calipers if you have access to a cut end. It's faster and you skip the lookup entirely.

If you're working with hollow pipes specifically, the hollow cylinder calculator handles the inner-vs-outer math for you, which is handy when you need the volume of the pipe walls for material weight estimates.

The Core Formula (And How to Actually Use It)

The volume of water (or whatever fluid) inside a pipe:

V = π × r² × L

Where:

  • r = inner radius (inner diameter ÷ 2)
  • L = length of the pipe
  • π = 3.14159

I use L instead of h here because pipes usually run horizontally, and calling it "height" feels weird when the thing is lying on the ground. Same formula either way.

If you've got the diameter instead of the radius — and honestly, most people do — you can use this version:

V = π × (d/2)² × L = π × d² × L / 4

Our cylinder volume using diameter page lets you enter diameter directly so you don't have to halve it yourself. Small convenience, but it eliminates one step where mistakes happen.

Pipe Volume Formula

r Length (L) V = π r² L

Worked Example 1: Water Inside a 10-Foot PVC Pipe (Imperial)

Real scenario. I had a 10-foot length of 2-inch Schedule 40 PVC sitting in the garage and wanted to know how much water it holds.

Step 1 — Get the inner diameter.
A 2-inch Schedule 40 PVC has an inner diameter of 2.047 inches. I confirmed this with calipers on a cut end — it was 2.05 inches, close enough.

Step 2 — Convert length to inches.
10 feet = 120 inches.

Step 3 — Calculate.
V = π × (2.047 / 2)² × 120
V = 3.14159 × (1.0235)² × 120
V = 3.14159 × 1.04756 × 120
V = 3.14159 × 125.707
V = 394.9 in³

Step 4 — Convert to gallons.
1 US gallon = 231 in³
394.9 ÷ 231 = 1.71 gallons

I filled the pipe, capped one end, and poured the water into a measuring bucket. Got about 1.7 gallons. Math checks out. If you want to skip the conversion math, our volume in gallons tool does it instantly.

Worked Example 2: Metric — Copper Pipe for a Heating System

This one comes from a real heating project. I needed to calculate the total water volume in a 15 mm copper pipe run that was about 25 meters long.

  • Inner diameter of 15 mm copper pipe: 13.6 mm (wall thickness is 0.7 mm per side).
  • Convert to cm for easier volume units: ID = 1.36 cm, Length = 2,500 cm

V = π × (1.36 / 2)² × 2,500
V = 3.14159 × (0.68)² × 2,500
V = 3.14159 × 0.4624 × 2,500
V = 3.14159 × 1,156
V = 3,631.7 cm³

Since 1 liter = 1,000 cm³:
3,631.7 ÷ 1,000 = 3.63 liters

That's how much water you'd need to fill a 25-meter run, similar to estimating a water tank capacity. Doesn't sound like much, but when you're calculating expansion tanks and antifreeze mix ratios, every liter counts. You can double-check this on our volume in liters page.

Worked Example 3: How Much Water Sits in Your Home's Main Supply Line?

Ever wondered how much water is just… sitting inside the pipes in your house? I did, so I calculated it. Let's say your main supply line is ¾-inch Type L copper, running 50 feet from the meter to your house.

  • OD of ¾" Type L copper: 0.875 inches
  • Wall thickness: 0.045 inches
  • ID = 0.875 − (2 × 0.045) = 0.785 inches
  • Length: 50 feet = 600 inches

V = π × (0.785 / 2)² × 600
V = 3.14159 × (0.3925)² × 600
V = 3.14159 × 0.15406 × 600
V = 3.14159 × 92.4375
V = 290.4 in³

Convert to gallons: 290.4 ÷ 231 = 1.26 gallons

That's it. About a gallon and a quarter of water sitting in your main supply line doing nothing. Now multiply that by every pipe branch in the house and you start to see why it takes a while for hot water to reach the far bathroom — all that cold water has to flush out first.

Pipe Volume and Flow Rate (GPM)

This is something most "how to calculate pipe volume" guides skip, and it bugs me.

If you know the volume per foot of pipe and the flow rate in gallons per minute (GPM), you can figure out how long it takes water to travel from point A to point B. This matters for recirculation loops, irrigation timing, and chemical dosing.

The relationship:

Travel time (minutes) = Pipe volume (gallons) ÷ Flow rate (GPM)

Pipe Travel Time & Flow Rate

Point A Point B Time = Vol ÷ Flow Rate

From our ¾-inch copper example: 1.26 gallons sitting in 50 feet of pipe. If your flow rate is 3 GPM:

Travel time = 1.26 ÷ 3 = 0.42 minutes ≈ 25 seconds

So it takes about 25 seconds for fresh water to travel the full 50 feet at 3 GPM. That lines up with real-world experience — when I turn on the kitchen faucet, it takes roughly 20-30 seconds for hot water to arrive from the water heater in the basement.

Quick-Reference: Volume per Foot for Common Pipes

I keep a version of this table saved on my phone. It saves a ton of time on job sites.

Pipe Type & SizeInner Diameter (in)Volume per Foot (in³)Volume per Foot (gal)
½" PVC Sch 400.6223.650.016
¾" PVC Sch 400.8246.400.028
1" PVC Sch 401.0299.980.043
1½" PVC Sch 401.61024.420.106
2" PVC Sch 402.04739.490.171
½" Copper Type M0.5693.050.013
¾" Copper Type L0.7855.800.025
1" Copper Type L1.0259.900.043

Volumes calculated using V = π × (ID/2)² × 12 for a 12-inch (1 foot) length.

Don't Forget the Hollow Cylinder — Calculating Pipe Wall Volume

Sometimes you don't want the volume of fluid inside the pipe — you want the volume of the pipe material itself. Maybe you're estimating the weight of a steel pipe, or figuring out how much PVC is in a batch of fittings for recycling.

The formula for a hollow cylinder:

V_wall = π × (R_outer² − R_inner²) × L

Pipe Wall Volume (Hollow Cylinder)

R_outer R_inner V = π (R_out² - R_in²) L

Quick example: a 4-inch Schedule 40 steel pipe, 6 feet long.

  • OD = 4.500 in → R_outer = 2.250 in
  • ID = 4.026 in → R_inner = 2.013 in
  • L = 72 in

V_wall = π × (2.250² − 2.013²) × 72
V_wall = 3.14159 × (5.0625 − 4.0522) × 72
V_wall = 3.14159 × 1.0103 × 72
V_wall = 3.14159 × 72.74
V_wall = 228.5 in³

The hollow cylinder calculator handles this automatically — just enter OD, ID, and length.

Tips I've Picked Up Over the Years

  • Always measure twice. Seriously. On copper pipe especially, corrosion buildup on the inside reduces the effective ID over time. An old ¾" copper pipe might behave more like a ⅝" pipe from a volume standpoint.
  • Use the right schedule. Schedule 40 and Schedule 80 PVC have the same OD but different wall thicknesses. Schedule 80 has thicker walls and therefore a smaller ID. Using Schedule 40 specs for a Schedule 80 pipe overestimates volume.

Schedule 40 vs Schedule 80

Schedule 40 Larger ID (More Volume) Schedule 80 Smaller ID (Less Volume)
  • For long runs, add fittings. Elbows, tees, and couplings add small amounts of volume. On a typical residential plumbing job, fittings add roughly 5-10% to your total pipe volume. I usually just add 10% to my final number and call it close enough.
  • A free cylinder volume calculator beats mental math every time. I use one on every job, even for simple calculations. Too many times I've messed up a decimal in my head and ended up short on materials.

Frequently Asked Questions

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

Use V = π × (inner diameter / 2)² × length. The key word is inner — the outer diameter includes the pipe walls, which don't hold water. Measure the inside opening or look up the ID for your pipe type and schedule.

What's the difference between nominal pipe size and actual diameter?

This trips up almost everyone. A "1-inch" pipe doesn't actually have a 1-inch opening. The nominal size is a label — the actual inner diameter for a 1" Schedule 40 PVC is 1.029 inches. Always look up or measure the real ID before calculating.

How many gallons of water are in 100 feet of 1-inch PVC pipe?

I get asked this a lot. For 1" Schedule 40 PVC (ID = 1.029 in): V = π × (1.029/2)² × 1,200 = π × 0.2647 × 1,200 = 997.5 in³. 997.5 ÷ 231 = 4.32 gallons.

Does pipe orientation (horizontal vs vertical) affect volume?

Nope. Volume is volume — a pipe holds the same amount of water whether it's lying flat, standing up, or running at an angle. The formula doesn't change. Our horizontal cylinder calculator and vertical cylinder calculator both give the same total volume, though the horizontal one helps when you need partial fill levels.

How do I calculate volume for a pipe that's only partially filled?

That's a harder problem. A horizontal pipe half-filled with water doesn't hold exactly half its volume — it depends on the fill height relative to the diameter. You need the circular segment formula for that. The horizontal cylinder calculator handles partial fills if you enter the fluid depth.

What's the formula for the pipe material volume (not the fluid inside)?

V = π × (R_outer² − R_inner²) × length. This gives you the volume of the pipe walls only. Useful for weight estimates — multiply by the material density and you've got the mass.

Can I just use a garden hose to measure volume?

Honestly? Yes, for short pipes. Cap one end, fill with water, pour the water into a measuring container. I do this for verification all the time. But for a 200-foot buried irrigation line, you're going to want the math.

How does Schedule 40 vs Schedule 80 affect pipe volume?

Big difference. Schedule 80 has thicker walls, so the inner diameter shrinks. A 2" Sch 40 PVC has an ID of 2.047" but a 2" Sch 80 has an ID of only 1.939". That might sound tiny, but over a long run, it means noticeably less water volume. Always check which schedule you're working with.

What's the fastest way to calculate pipe volume on a job site?

Keep a volume-per-foot cheat sheet on your phone (like the table above) and just multiply by the pipe length. Or use an online cylinder volume calculator — punch in diameter and length, done in five seconds.

How accurate does my pipe volume calculation need to be?

Depends on the application. For flushing or draining a line, ±10% is fine — round up and you'll have enough. For chemical dosing, antifreeze mixing, or hydraulic systems, I aim for ±2% and use actual measured ID rather than nominal specs. If precision matters, the cylinder volume using radius tool lets you enter exact measurements down to the decimal.