Pipe Volume Calculator

Find how many gallons a pipe run holds, for filling, flushing, glycol or chemical treatment, from the inside diameter and length.

How the pipe volume calculator works

Gallons = π ÷ 4 × ID² (in) × 12 × length (ft) ÷ 231 ≈ 0.0408 × ID² × length

Example

100 ft of 2″ Schedule 40 pipe (2.067″ ID) holds about 17.43 gal of water.

Frequently asked questions

Why use inside diameter?

Nominal pipe size isn't the bore. 2″ Sch 40 steel or PVC is 2.067″ inside, and copper and PEX differ again.

How do I find a whole system's volume?

Add up each pipe size's run, then add equipment volumes such as boilers, tanks and coils.

Results are estimates for general information. Check important figures against your project documents, codes, or a qualified professional. Updated November 2026.

Related calculators

See all Plumbing calculators →

Feedback, complaints & bug reports