Pipe Volume

Gallons per foot by diameter.

Run the calculator

Example

You enter

You get

Details, formula, and sources

V = π × (D/2)² × L. Geometric volume of a right cylinder; gallons via 1 ft³ = 7.4805 gal.

Classical geometry; physical fact.

NIST SP 811 unit factors free at nist.gov.

Estimate. AHJ and licensed plumber / gas fitter govern. Verify against the IPC / IFGC edition adopted in your jurisdiction.

Field names used by the API: nominal_size, length_ft, gallons, gallons_per_ft, cubic_feet

Related tools