Updated on April 23rd, 2026

Pipe Volume Calculator

Created By Jehan Wadia

Solve Mode: Ready Enter any two of: Diameter, Length, Volume — the third is computed automatically.
Pipe Dimensions
Internal bore measurement of the pipe.
Total length of pipe run.
Enter to back-calculate diameter or length, or leave blank to auto-compute.
Liquid Type
Pipe Diagram
4 in diameter 10 ft length liquid
Results
Pipe Volume
0 gal
0 liters | 0 in³ | 0 ft³
Liquid Weight
0 lb
0 kg
Inner Diameter
4 in
101.6 mm
Pipe Length
10 ft
3.048 m
Cross-Section Area
0 in²
0 cm²
Volume per Foot
0 gal/ft
0 L/m
Weight per Foot
0 lb/ft
0 kg/m
Liquid Density
62.43 lb/ft³
1,000 kg/m³
Volume Conversions
Unit Value
Volume by Common Pipe Sizes (Same Length)
Comparing your pipe length across standard nominal pipe diameters.

Introduction

The Pipe Volume Calculator helps you find out how much liquid a pipe can hold. Whether you are working on a plumbing project at home or on a job site, knowing the volume inside a pipe is important. It helps you figure out water capacity, plan pipe layouts, and estimate how much fluid flows through your system. Just enter the pipe's inner diameter and length, and this tool does the math for you. No more guessing or doing long formulas by hand. Plumbers, contractors, and DIY homeowners can all use this calculator to save time and get accurate results fast.

How to Use Our Pipe Volume Calculator

Enter the details of your pipe below to find out how much water or fluid it can hold. This tool calculates the total volume inside a pipe based on its size and length.

Pipe Inner Diameter: Type in the inside diameter of your pipe. This is the width of the open space inside the pipe where fluid flows. You can find this measurement on the pipe label or by measuring across the inside of the pipe. Make sure you use the inner diameter, not the outer diameter, for an accurate result.

Pipe Length: Enter the total length of the pipe you need to calculate volume for. Measure the full run of pipe from one end to the other. If you have multiple sections, add their lengths together and enter the total.

Measurement Units: Select the units you want to use for your inputs, such as inches, feet, centimeters, or meters. The calculator will adjust the volume output to match your chosen unit system. If you need help converting between area measurements for related projects, our Square Footage Calculator can assist with that.

Once you fill in these fields and hit calculate, the tool will give you the total volume of the pipe. The result is shown in common volume units like gallons, liters, or cubic inches. This is helpful when you need to figure out how much water sits in a pipe, how much fluid is needed to fill a system, or how to size a plumbing job correctly.

Pipe Volume Calculator

A pipe volume calculator helps you figure out how much liquid fits inside a pipe. This is important for plumbing work, irrigation projects, and any job where you need to know the capacity of a pipe before filling it with water or another fluid. Knowing the volume inside a pipe lets you estimate material costs, plan system fills, and calculate the weight of the liquid your supports need to hold. For similar cylindrical volume calculations outside of plumbing, you may also find our Cylinder Volume Calculator useful.

How Pipe Volume Is Calculated

The volume inside a pipe is found using the formula for the volume of a cylinder:

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

In this formula, π (pi) is approximately 3.14159, the diameter is the inner diameter (the bore) of the pipe, and the length is the total pipe run. You always use the inner diameter, not the outer diameter, because the liquid only fills the space inside the pipe walls. The cross-sectional area portion of this formula is essentially a Circle Area Calculator applied to the pipe bore.

Inner Diameter vs. Nominal Pipe Size

Pipes are sold using nominal sizes like "½ inch" or "2 inch," but the actual inner diameter is different from that number. For example, a standard 4-inch Schedule 40 PVC pipe has an inner diameter of about 4.026 inches, not exactly 4 inches. When you need an accurate volume, always check the actual inner diameter for the specific pipe material and schedule you are using. Common schedules include Schedule 40 and Schedule 80, and the wall thickness differs between them, which changes the bore size.

Why Liquid Type Matters

The volume of liquid inside a pipe stays the same no matter what liquid you use, but the weight changes based on the liquid's density. Water weighs about 62.43 pounds per cubic foot, while diesel fuel is lighter at roughly 53 pounds per cubic foot. Knowing the weight matters when you are sizing pipe hangers, calculating load on structures, or figuring out how much a full pipe will weigh during transport or installation. If you are working with water-filled systems and need to understand pressure at depth, our Hydrostatic Pressure Calculator can help with those calculations.

Common Uses in Plumbing

  • System fills and flushes: Before a plumbing system goes live, you need to know how many gallons of water it takes to fill all the pipes for pressure testing or flushing.
  • Hot water delivery: Pipe volume tells you how much cooled water sits in the line between the water heater and the faucet, which affects wait time for hot water.
  • Chemical treatment: When adding antifreeze or other chemicals to a closed-loop system, you must know the total pipe volume to mix the right concentration. A Dilution Calculator can help you determine the proper chemical ratios once you know your system volume.
  • Drainage and dewatering: Knowing the volume helps you plan how to drain a section of pipe safely during repairs.
  • Pool and pond systems: When sizing plumbing for water features, combine pipe volume data with a Pool Volume Calculator to plan total system capacity.

Quick Reference: Volume per Foot of Pipe

A useful shortcut for plumbers is knowing how many gallons each foot of pipe holds. For example, one foot of 1-inch Schedule 40 pipe (0.864 in² cross-section) holds about 0.0036 gallons, while one foot of 4-inch pipe holds roughly 0.0551 gallons. These numbers add up fast on long pipe runs, so even small diameter differences can mean a big change in total volume across a building.

Tips for Accurate Results

  • Always measure or look up the inner diameter, not the outer diameter.
  • Include the full length of the pipe run, accounting for fittings and bends if they significantly add to the total distance.
  • For systems with multiple pipe sizes, calculate each section separately and add the volumes together.
  • Use the correct liquid density if you are working with something other than water, since weight calculations depend on it.
  • When planning larger construction projects that involve pipe runs alongside other materials, tools like our Concrete Calculator or Rebar Calculator can help you estimate the full scope of materials needed for foundations and supports that house your plumbing.

Frequently Asked Questions

What is the difference between inner diameter and outer diameter of a pipe?

The inner diameter is the width of the open space inside the pipe where liquid flows. The outer diameter includes the pipe walls. You must use the inner diameter for volume calculations because liquid only fills the inside of the pipe. The outer diameter will give you a wrong, larger answer.

How do I find the inner diameter of my pipe?

You can find it a few ways:

  • Check the pipe label or manufacturer spec sheet for your pipe material and schedule.
  • Measure across the inside opening of the pipe with a ruler or caliper.
  • Look up a pipe dimension chart for your pipe type (PVC, copper, steel) and schedule (Schedule 40, Schedule 80, etc.).

Can I use this calculator to find the diameter or length if I already know the volume?

Yes. This calculator can solve for any one of the three values — diameter, length, or volume — as long as you enter the other two. Just type in the two values you know and leave the third one blank. The calculator will figure it out for you.

Does this calculator work for pipes that are not completely full?

No. This calculator assumes the pipe is completely full of liquid from end to end. If your pipe is only partially filled, like a gravity drain line, the actual volume of liquid inside will be less than what this tool shows.

How do I calculate volume for a pipe system with different pipe sizes?

Calculate each pipe section separately. Enter the diameter and length for the first section and note the volume. Then do the same for each other section with a different size. Add all the volumes together to get the total for your system.

What units can I use in this calculator?

For diameter and length, you can use inches, feet, yards, millimeters, centimeters, or meters. For volume output, you can choose US gallons, liters, cubic inches, or cubic feet. You can mix and match units — for example, enter diameter in inches and length in meters.

How much water does a 1-inch pipe hold per foot?

A standard 1-inch Schedule 40 pipe (with an inner diameter of about 1.049 inches) holds roughly 0.0045 US gallons per foot. That may sound small, but it adds up over long runs. A 100-foot run holds about 0.45 gallons.

Why does the liquid type matter if the volume stays the same?

The liquid type does not change the volume. It changes the weight. Different liquids have different densities. Water weighs about 8.34 pounds per gallon, but diesel only weighs about 7.1 pounds per gallon. Knowing the weight matters for sizing pipe supports, hangers, and structural loads.

Should I account for fittings like elbows and tees?

For most jobs, fittings add a small amount of extra volume. If you need a rough estimate, you can skip them. For precise calculations on large systems, add the equivalent length that each fitting contributes to your total pipe length. Fitting manufacturers usually provide these equivalent length values.

What is the formula used to calculate pipe volume?

The formula is:
Volume = π × (inner diameter ÷ 2)² × length
This is the same as the volume of a cylinder. Pi (π) is about 3.14159. You divide the diameter by 2 to get the radius, square it, multiply by π to get the cross-section area, then multiply by the pipe length.

Can I use this for gas pipes or only liquid?

This calculator gives you the internal volume of a pipe, which works for any contents. However, the weight calculation is based on liquid density. Gas volume depends on pressure and temperature, so the weight results will not be accurate for gas-filled pipes.

What does the comparison chart at the bottom show?

The chart shows how much volume different standard pipe sizes would hold at the same length you entered. This helps you quickly compare capacities if you are deciding between pipe sizes for your project.

How accurate is this pipe volume calculator?

The math is precise. The accuracy of your result depends on how accurate your inputs are. If you use the exact inner diameter from the manufacturer's spec sheet and measure your pipe length carefully, the result will be very accurate. Rounding or guessing your diameter will reduce accuracy.

What is the volume of a 4-inch pipe that is 100 feet long?

A standard 4-inch Schedule 40 pipe has an inner diameter of about 4.026 inches. At 100 feet long, it holds approximately 5.51 US gallons of water. That water would weigh about 45.9 pounds.

Can I enter a custom liquid density?

Yes. Select "Custom Density" from the liquid type dropdown. Then enter your liquid's density in either lb/ft³ or kg/m³. The calculator will use your custom value for all weight calculations.