Bore

Tank, pipe, and friction-loss calculators

How much a tank holds when it is partly full, how much a run of pipe holds, and how much head the flow gives up.

How these calculators work

A vertical cylinder is the circle times the fill height. A rectangular tank is length times width times fill. A horizontal cylinder uses the circular segment: the area of the filled part of the circle, times the length. The dipstick chart repeats that at each tenth of the diameter. Gallons are cubic feet times 7.48052.

Pipe volume uses an inside diameter from a published table. Steel is ASME B36.10 Schedule 40 and Schedule 80. Copper is ASTM B88 types K, L, and M. PEX is ASTM F876 SDR-9, wall equal to the outside diameter divided by 9. The stamp on the tube wins if it disagrees. Friction loss runs Hazen–Williams, with a C factor, and Darcy–Weisbach with the Swamee–Jain friction factor. Fittings are added as an equivalent length. A published K or Cv for that fitting wins.