Pipe Calculator

Calculate pipe volume, weight, and flow characteristics

Pipe Specifications

Gallons per minute (optional for flow analysis)
Typical Flow Rates
Shower: 2-5 GPM
Sink faucet: 1.5-2 GPM
Toilet: 1.6 GPM
Garden hose: 5-10 GPM

Results

Pipe Volume
2.29 gallons
0.307 cubic feet
Pipe Weight (empty)
64.10 lbs
0.64 lbs per foot
Flow Velocity
7.26 fps
✓ Within acceptable range
Recommended: 5-8 fps for water
Estimated Fittings
10 fittings
Elbows, tees, couplings, etc.
Cost Breakdown
Pipe: $350.00
Fittings: $50.00
Total Estimated Cost
$400.00

What is a Pipe Calculator?

A pipe calculator determines the volume, weight, flow velocity, and material cost of plumbing pipes based on the pipe length, diameter, material, and flow rate. Pipe calculations are essential for plumbing design, irrigation system planning, mechanical piping, and construction material estimation. The calculator supports five common pipe materials: copper, PEX, PVC, CPVC, and galvanized steel, each with distinct cost characteristics and performance properties.

Pipe volume calculation uses the cylinder volume formula (V = πr²L) to determine the internal capacity of the pipe in gallons and cubic feet. This information is critical for sizing expansion tanks, estimating water storage capacity, and determining the volume of water in a piping system. For example, a 100-foot length of 3/4-inch copper pipe holds approximately 3.07 gallons of water.

Flow velocity is computed from the flow rate and the internal cross-sectional area of the pipe. The calculator converts the flow rate from gallons per minute (GPM) to cubic feet per second and divides by the pipe's internal area in square feet to obtain velocity in feet per second. Recommended velocity ranges are 4-8 feet per second for water supply piping. Velocities above 8 feet per second may cause noise, water hammer, and pipe erosion, while velocities below 2 feet per second may result in sediment deposition.

The cost estimate includes both the pipe material and an allowance for fittings. Fittings are estimated at one fitting per 10 feet of pipe length, with an average cost of $5 per fitting. This provides a reasonable budget estimate for typical residential and light commercial piping projects. Actual fitting costs vary significantly depending on the type (elbow, tee, coupling) and size.

Pipe Volume and Flow Formulas

The internal pipe volume is calculated using the cylinder volume formula, where the radius is the internal pipe radius and the length is the pipe length. The volume is converted from cubic inches to gallons using the conversion factor of 231 cubic inches per gallon.

Flow velocity is determined by dividing the volumetric flow rate by the internal cross-sectional area of the pipe. The flow rate must be converted from GPM to cubic feet per second for consistency with the area units.

Pipe Volume and Velocity Formulas

V (gal) = π × r² × L × 7.48 / 1728; Velocity = Q / A

Where:

  • r= Internal pipe radius in inches
  • L= Pipe length in feet
  • Q= Flow rate in cubic feet per second
  • A= Internal cross-sectional area in square feet

How to Use This Calculator

Follow these steps to calculate pipe volume, weight, and cost:

  1. Enter Pipe Length: Enter the total pipe length in feet.
  2. Select Diameter: Choose the nominal pipe diameter from the dropdown. Available sizes range from 1/2 inch to 4 inches.
  3. Select Material: Choose from copper, PEX, PVC, CPVC, or galvanized steel. The material affects the pipe weight and cost per foot.
  4. Enter Flow Rate: Enter the expected flow rate in GPM (optional). This is used to compute flow velocity and check against recommended ranges.
  5. Review Results: The calculator displays pipe volume in gallons and cubic feet, pipe weight, flow velocity, fittings estimate, and total cost including fittings.

Common Pipe Materials

Different pipe materials have distinct characteristics that make them suitable for specific applications. The calculator supports five common materials used in residential and commercial construction.

Copper is the traditional choice for water supply piping due to its durability, corrosion resistance, and proven performance. It costs $2-5 per foot depending on diameter and is joined by soldering (sweating) or press-fit connections. Copper is rigid and requires more fittings than flexible piping.

PEX (cross-linked polyethylene) is a flexible plastic piping that has gained popularity for residential water supply. It costs $0.50-1.50 per foot, is easier to install than copper, and requires fewer fittings because it can be snaked through walls and floors. PEX is joined with crimp rings, expansion fittings, or push-fit connectors.

PVC (polyvinyl chloride) is used primarily for drain, waste, and vent (DWV) piping and cold water supply. It costs $0.50-2 per foot and is joined with solvent cement (glue). PVC is lightweight, easy to cut and join, and resistant to chemical corrosion. It should not be used for hot water supply because it softens at temperatures above 140 degrees Fahrenheit.

CPVC (chlorinated polyvinyl chloride) is a heat-treated PVC that can handle hot water up to 200 degrees Fahrenheit. It costs $1-2.50 per foot and is joined with solvent cement. CPVC is commonly used for hot water supply lines in residential construction where copper is too expensive.

Galvanized steel was the standard water supply pipe before copper and PEX. It costs $2-4 per foot and is joined with threaded fittings. Galvanized pipe corrodes over time, reducing flow capacity and potentially contaminating water with rust. It is rarely used in new construction but is common in older buildings.

Real-World Applications

Pipe calculations are essential for plumbing design and construction. Residential water supply systems use 1/2-inch to 1-inch copper or PEX piping to distribute water from the main to fixtures throughout the house. A typical 3-bedroom home requires approximately 200-300 feet of pipe. The calculator helps estimate material quantities and costs for these projects.

Irrigation systems use PVC piping in larger diameters (1-4 inches) to distribute water from the source to sprinkler heads. The pipe volume calculation is important for determining system priming requirements and the volume of water in the system for winterization.

Commercial plumbing involves larger pipe diameters and higher flow rates. The flow velocity check is critical to ensure that velocities remain within acceptable ranges to prevent noise and erosion. A 2-inch pipe carrying 100 GPM has a velocity of about 10 feet per second, which is above the recommended maximum of 8 feet per second and may require upsizing to 2.5 inches.

Mechanical piping in HVAC and industrial systems requires accurate pipe sizing for proper flow distribution and pressure drop control. The calculator provides the basic pipe properties needed for these more detailed system analyses.

Worked Examples

Example 1: Residential Water Supply

Problem:

Calculate the volume and weight of 150 feet of 3/4-inch copper pipe.

Solution Steps:

  1. 1Internal diameter = 0.811 inches; radius = 0.4055 inches
  2. 2Volume = π × 0.4055² × (150 × 12) / 231 = π × 0.1644 × 1800 / 231 = 3.99 gallons
  3. 3Weight per foot = 0.641 lbs/ft (from table); total weight = 150 × 0.641 = 96.15 lbs
  4. 4Cost per foot = $3.50; total pipe cost = 150 × $3.50 = $525
  5. 5Fittings = ceil(150/10) = 15 fittings × $5 = $75

Result:

150 feet of 3/4-inch copper pipe holds 3.99 gallons, weighs 96 lbs, and costs approximately $600 including fittings.

Example 2: Flow Velocity Check

Problem:

A 1-inch copper pipe carries 15 GPM. Check if the velocity is within the recommended range.

Solution Steps:

  1. 1Internal diameter = 1.029 inches; radius = 0.5145 inches
  2. 2Internal area = π × 0.5145² / 144 = 0.00578 sq ft
  3. 3Flow rate = 15 GPM / 448.83 = 0.0334 cfs
  4. 4Velocity = 0.0334 / 0.00578 = 5.78 ft/s
  5. 5Recommended range: 4-8 ft/s
  6. 65.78 ft/s is within the acceptable range

Result:

Flow velocity = 5.78 ft/s, which is within the recommended 4-8 ft/s range.

Example 3: Material Cost Comparison

Problem:

Compare the total cost of 200 feet of pipe in copper versus PEX for a residential water supply.

Solution Steps:

  1. 1Copper: 200 ft × $3.50/ft = $700; fittings: 20 × $5 = $100; total = $800
  2. 2PEX: 200 ft × $0.50/ft = $100; fittings: 15 × $5 = $75; total = $175
  3. 3PEX savings = $800 - $175 = $625 (78% savings)
  4. 4PEX also requires fewer fittings because it can bend around obstacles
  5. 5Note: PEX fittings may cost more individually but fewer are needed

Result:

PEX piping costs approximately $175 versus $800 for copper — a savings of about $625 for 200 feet.

Tips & Best Practices

  • Always use the internal diameter for volume and velocity calculations, not the nominal or outside diameter.
  • For long pipe runs, account for pressure drop due to friction — see the Pipe Pressure Drop calculator.
  • PEX piping cannot be exposed to UV sunlight and should not be used outdoors without protection.
  • Copper pipe requires a minimum burial depth of 12 inches when underground.
  • Use dielectric unions when connecting copper to galvanized steel to prevent galvanic corrosion.
  • For hot water piping, CPVC or PEX is preferred over standard PVC, which cannot handle temperatures above 140 degrees Fahrenheit.
  • Label all pipe runs during installation to make future maintenance and repairs easier.

Frequently Asked Questions

The recommended flow velocity for water supply piping is 4-8 feet per second. Velocities below 4 feet per second may result in sediment buildup and noise from air pockets. Velocities above 8 feet per second can cause water hammer (pressure surges), noise, and erosion of the pipe material. For suction lines, lower velocities (2-4 ft/s) are recommended to prevent cavitation in pumps.
Measure the internal diameter of the pipe (not the nominal size) and the length of the pipe run. Use the formula V = π × (ID/2)² × L / 231 to get the volume in gallons, where ID is the internal diameter in inches and L is the length in inches. The calculator automates this calculation when you enter the pipe diameter and length.
PEX and copper are the most common choices for residential water supply. PEX is cheaper, easier to install, and more flexible, making it ideal for retrofit and new construction. Copper is more durable and has a longer track record but costs more and requires soldering skills. Both materials are approved by building codes for potable water supply. PVC and CPVC are alternatives for specific applications.
The calculator estimates one fitting per 10 feet of pipe as a general allowance. Actual fitting needs depend on the layout: a straight run may need only a coupling at each end, while a run with multiple turns may need an elbow every 10 feet. Tees are needed at branch connections, and valves are required at isolation points. A more accurate estimate requires a piping layout drawing.
Yes, the total system water volume is needed to size a thermal expansion tank for a closed-loop hydronic heating system or potable water system. The pipe volume is one component of the total system volume, which also includes the boiler or water heater volume, radiator or fixture volumes, and any other vessels in the system. The expansion tank size is typically based on the total system volume and the expected temperature rise.

Sources & References

Last updated: 2026-06-06

💡

Help us improve!

How would you rate the Pipe Calculator?

<>

Editorial Note

MyCalcBuddy Editorial Team

This page is maintained as an educational calculator reference.

Source

Formula Source: Standard Mathematical References

by Various

UpdatedLast reviewed: May 2026
CheckedFormula checks are based on standard references and internal QA review.

Privacy choices

MyCalcBuddy uses necessary storage for the site to work. Optional analytics, notifications, and future advertising features stay off unless you allow them.