Pipe Volume Calculator

Calculate how much liquid a pipe can hold based on diameter and length. Get instant volume in liters or gallons, plus liquid weight for water, antifreeze, oil, and other fluids.

Pipe Volume Calculator

Ever stared at a pipe and wondered exactly how much water is sitting inside it? Whether you're draining a system, filling one up, or just trying to figure out why it's taking so long to get hot water to your upstairs bathroom, this calculator gives you the answer in seconds.

Enter your pipe's inner diameter and length, and you'll see the volume in liters along with how much that liquid weighs. The calculator defaults to water, but you can adjust the density for antifreeze, oil, fuel—whatever you're actually working with.

It works for any round pipe: copper, PVC, steel, PEX, or flexible tubing. The math doesn't care about the material—just the dimensions.


What is Pipe Volume?

Pipe volume is the amount of space inside a pipe. That's it. It's how much liquid (or gas) can fit inside.

Simple concept, but it matters more than you might think. When you drain a water heater, that volume tells you how much water is coming out and roughly how long it'll take. When you're adding antifreeze to a radiant heating system, knowing the pipe volume means you buy the right amount—not too little (system fails) and not too much (money wasted). When your irrigation system takes forever to pressurize in spring, the pipe volume explains why.

The volume directly affects fill times, drain times, and how much stuff you need to buy. Getting it right saves time, money, and frustration.


The Pipe Volume Formula

Pipes are cylinders, so the math is straightforward:

Volume = π × (diameter ÷ 2)² × length

That's pi (3.14159) times the radius squared times the length.

Let's work through a real example:

Say you have a 2-inch diameter pipe that runs 50 feet.

  1. Convert length to inches: 50 feet × 12 = 600 inches
  2. Find the radius: 2 inches ÷ 2 = 1 inch
  3. Plug into the formula: 3.14159 × 1² × 600 = 1,885 cubic inches
  4. Convert to gallons: 1,885 ÷ 231 = 8.16 gallons

Water weighs about 8.34 pounds per gallon, so that pipe holds roughly 68 pounds of water when full. That's worth knowing if you're working overhead or calculating structural loads.


How to Use This Calculator

Step 1: Enter the Inner Diameter This is the measurement across the inside of the pipe—the hollow part where liquid flows. Not the outside. (More on why this matters in a minute.)

Step 2: Enter the Pipe Length The total length you're calculating. If you have multiple sections of the same diameter pipe, just add the lengths together.

Step 3: Set the Liquid Density (If Needed) The calculator assumes water (997 kg/m³). Working with something else? Swap in that liquid's density. There's a reference table below for common fluids.

Step 4: Get Your Results You'll see the volume in liters and the mass in kilograms. From there, you can convert to gallons, pounds, or whatever units you need.


Inner vs. Outer Diameter: Don't Skip This

Here's where people mess up their calculations—and it's an easy mistake to make.

The inner diameter is the hollow space where liquid actually flows. The outer diameter includes the pipe walls. You need the inner one.

The difference isn't small. Take a "1-inch" copper pipe (Type M):

  • Outer diameter: 1.125 inches
  • Inner diameter: 1.055 inches

Use the wrong number and you'll overestimate your volume by about 13%. On a 100-foot run, that's the difference between 4.5 gallons and 5.1 gallons. Enough to leave you short on antifreeze or confused about why your drain time estimate was way off.

How to find inner diameter when you can't see inside:

Wrap a flexible tape around the pipe to get the circumference. Divide by 3.14159 for the outer diameter. Then subtract twice the wall thickness.

Typical wall thicknesses:

  • Copper Type M: 0.035" for ½" pipe, up to 0.058" for 2"
  • Schedule 40 PVC: 0.109" for ½", up to 0.237" for 2"
  • Schedule 40 Steel: 0.109" for ½", up to 0.154" for 2"

Yes, it's a bit tedious. But it beats buying the wrong amount of material or wondering why your numbers don't match reality.


Common Pipe Sizes at a Glance

Don't want to calculate? Here's a cheat sheet for standard Schedule 40 pipes:

Nominal Size

Actual Inner Diameter

Volume per Foot

Per 100 Feet

½"

0.622"

0.016 gal

1.6 gal

¾"

0.824"

0.028 gal

2.8 gal

1"

1.049"

0.045 gal

4.5 gal

1¼"

1.380"

0.078 gal

7.8 gal

1½"

1.610"

0.106 gal

10.6 gal

2"

2.067"

0.174 gal

17.4 gal

3"

3.068"

0.384 gal

38.4 gal

4"

4.026"

0.661 gal

66.1 gal

Notice how quickly it adds up? A 4-inch pipe holds over 40 times more water per foot than a ½-inch pipe. Diameter matters a lot more than most people expect.


Real-World Examples

Winterizing Pool Lines

When you blow out pool supply lines before winter, you need to know when they're actually empty. A typical 50-foot run of 2-inch PVC holds about 8 gallons. If you're getting much more water out than that, you might have a low spot trapping water. If you're getting less, the lines might already be partially drained.

Filling a Radiant Floor System

Radiant heating loops need precise antifreeze amounts. A 200-foot loop of 1-inch PEX holds roughly 9 gallons. For a 50/50 glycol mix, that's about 4.5 gallons of antifreeze concentrate. Buy 5 gallons to be safe—running short mid-fill means draining and starting over.

Why Your Irrigation Takes Forever to Start

Every spring, the same question: why does it take so long for water to reach the far sprinkler heads? A 100-meter run of 25mm drip tubing holds about 49 liters. At a typical residential flow rate, you're waiting 2-3 minutes just to fill the pipe before any water comes out the other end. That's not a problem—it's just physics.

Draining a Hot Water Line

Gravity-draining a 6-foot section of ¾-inch copper? That's only 0.17 gallons—it'll empty in seconds. But 50 feet of 3-inch drain pipe holds over 19 gallons. With minimal slope, expect it to take a while. And all that water has to go somewhere, so have a bucket (or three) ready.

Industrial: Calculating Oil in a Pipeline Section

A 6-meter section of 150mm industrial pipe filled with crude oil (density ~870 kg/m³) holds 106 liters weighing 92 kilograms. That matters for everything from material costs to whether your pipe supports can handle the load. Different density, different weight—same volume.


Liquid Density Reference

Water is the default, but here's what to use for other fluids:

Liquid

Density (kg/m³)

Quick Notes

Water (room temp)

997

The default

Water (hot, 60°C)

983

Hot water is slightly lighter

50/50 Propylene Glycol

1,038

Food-safe antifreeze

50/50 Ethylene Glycol

1,070

Automotive antifreeze

Diesel

832

Varies a bit by grade

Gasoline

737

Varies by blend and season

Crude Oil

870

Varies significantly by source

Milk

1,030

Whole milk

Vegetable Oil

920

Most cooking oils

Density changes with temperature. For most jobs, these numbers are close enough. For precision work—chemical dosing, laboratory applications—look up the specific density at your operating temperature.


Tips for Getting It Right

Triple-check which diameter you're using. Inner, not outer. This is the #1 source of calculation errors, and it's easy to grab the wrong number from a spec sheet.

"1-inch pipe" isn't 1 inch inside. Nominal sizes are naming conventions, not measurements. A "1-inch" Schedule 40 pipe has a 1.049" inner diameter. Always verify actual dimensions.

Fittings add volume. Elbows, tees, unions, and valves all hold liquid. For rough estimates, add 2-3% to your total. For precise work (like chemical dosing), calculate fitting volumes separately or use published values.

Watch your units. Mixing inches and centimeters is easier than you'd think, especially when you're pulling dimensions from different sources. Double-check before calculating.

Temperature matters (sometimes). Pipes expand slightly when hot. Liquids change density with temperature. For most practical work, you can ignore this. For precision applications at temperature extremes, it might matter.


Keep in Mind

This calculator gives you the theoretical volume based on the dimensions you enter. Real pipes have manufacturing tolerances. Fittings add volume. Measurements aren't perfect. Your actual volume will be close to the calculated number, but probably not exact.

For most applications—estimating materials, understanding your system, planning a project—that's plenty accurate. For critical work where precision matters (chemical dosing, safety calculations), verify with physical measurements or consult a professional.

Frequently Asked Questions

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

Measure the inner diameter and length in centimeters. Use the formula: Volume = π × (diameter ÷ 2)² × length. That gives you cubic centimeters—divide by 1,000 for liters.

Quick example: 10cm diameter pipe, 200cm long. That's 3.14159 × 5² × 200 = 15,708 cm³ = 15.7 liters.

What's the difference between inner and outer diameter?

Inner diameter is the hollow space inside—where liquid flows. Outer diameter is the full width including pipe walls. Volume calculations need inner diameter. Using outer diameter will overestimate your volume by 10-15% or more, depending on wall thickness.

How much water fits in a 1-inch pipe per foot?

About 0.045 gallons per foot for standard Schedule 40 pipe (which has a 1.049" inner diameter). A 100-foot run holds roughly 4.5 gallons of water weighing about 37.5 pounds.

How do I convert pipe volume to gallons?

From cubic inches: divide by 231. From liters: multiply by 0.264. From cubic feet: multiply by 7.48.

Does pipe material change the calculation?

The formula stays the same, but different materials have different wall thicknesses—which changes the inner diameter. A "1-inch" copper pipe and a "1-inch" PVC pipe don't have the same inner diameter. Always check specs for your specific pipe type.

How can I measure diameter without seeing inside the pipe?

Measure the outer circumference with a flexible tape. Divide by 3.14159 to get outer diameter. Subtract twice the wall thickness (look up specs for your pipe type) to estimate inner diameter.

What density should I use for water?

997 kg/m³ for room temperature water works for most purposes. Hot water is slightly less dense (983 at 60°C). Saltwater is heavier (around 1,025). Using 1,000 kg/m³ gets you within 1% accuracy, which is close enough for nearly all practical applications.

Can I use this calculator for rectangular ducts?

No—this calculator uses the cylinder formula for round pipes. Rectangular ducts need: Volume = width × height × length. Different shape, different math.

How do I calculate volume for multiple pipe sections?

Same diameter? Add the lengths together and calculate once. Different diameters? Calculate each section separately and add the volumes at the end.

Why doesn't my calculation match the pipe's rated capacity?

A few things can cause this: using outer instead of inner diameter, forgetting to account for fittings, relying on nominal sizes instead of actual measurements, or manufacturer specs that include safety margins. For critical work, measure the actual pipe rather than trusting labels.