Calculator 07 / Plumbing
Plumbing Calculator
Total fall is run length × slope, and pipe volume follows the square of the diameter — so doubling the size roughly quadruples the water it holds. Find the water volume held in a pipe run, or the total fall needed for a properly sloped drain line.
How this calculator works
Pipe volume treats the pipe as a simple cylinder, using the <strong>nominal</strong> size you select rather than the pipe's true inside diameter — the two are not the same, and the gap is larger than most people expect. It is useful for estimating roughly how much water sits in a line before a flush, drain-down or system fill; see the note below before using it for anything that has to be right. Drain slope follows the common minimum fall of 1/4" per foot for smaller drain pipe and 1/8" per foot for larger, so gravity keeps waste moving without solids settling out.
Nominal size is not inside diameter
This matters more than it sounds, because volume follows the square of the radius: a small error in diameter becomes a large error in volume. Copper and Schedule 40 PVC both run <em>wider</em> than their nominal size, while PEX runs <em>narrower</em> — so the error does not even point in the same direction from one material to the next.
| Pipe | Nominal | Typical inside dia. | Volume vs. nominal |
|---|---|---|---|
| Schedule 40 PVC | ½" | ~0.62" | about +55% |
| Schedule 40 PVC | ¾" | ~0.82" | about +21% |
| Copper, Type L | ½" | ~0.55" | about +19% |
| Copper, Type L | ¾" | ~0.79" | about +10% |
| PEX | ¾" | ~0.67" | about −20% |
| PEX | 1" | ~0.86" | about −26% |
Inside diameters vary by material, schedule, wall thickness and standard, so treat the figures above as indicative and take the real number from the specification for the exact product you are using. Where the volume genuinely has to be right — chlorinating a well line, charging a glycol loop, working out a purge or a chemical dose — do not use a nominal figure at all. The proportion is easy enough to apply by hand: divide the real inside diameter by the nominal size, square it, and multiply this calculator's result by that.
Two worked examples
Pipe volume: a 50 ft run of ¾" pipe.
- Length = 50 × 12 = 600 inches
- Radius = 0.75 ÷ 2 = 0.375 in
- Volume = π × 0.375² × 600 = 265 cubic inches
- Gallons = 265 ÷ 231 = 1.15 gallons
- Using a real copper inside diameter of 0.785" instead: 1.26 gallons
Drain slope: a 40 ft run at ¼" per foot.
- Total fall = 40 × 0.25 = 10 inches
- That is 0.83 ft of drop across the run
Ten inches of fall is the number worth checking before anything is cut. It has to clear joists, beams and whatever else the line passes, and a long run under a finished floor can simply not fit — which is a design problem, not a plumbing one, and much cheaper to find now.
Drain slope and which code applies
<strong>The two US model codes do not agree on where the boundary sits, and your jurisdiction has adopted one of them.</strong> The difference lands squarely on 3-inch pipe, which is one of the most common sizes in a house, so it is worth knowing which book your inspector is holding.
| Pipe size | IPC minimum | UPC minimum |
|---|---|---|
| 2½" and smaller | ¼" per ft | ¼" per ft |
| 3" | ⅛" per ft | ¼" per ft |
| 4" to 6" | ⅛" per ft | ⅛" per ft |
| 8" and larger | 1⁄16" per ft | ⅛" per ft |
The dropdown on this page follows the more conservative reading, applying ¼" per foot up to and including 3". Slope less than the minimum is a defect and will fail inspection. On the other end, the traditional worry is that an excessively steep drain lets the liquid outrun the solids and leaves them stranded — that idea is disputed among plumbing engineers and the research is not settled, but some jurisdictions do impose a maximum regardless. Neither the minimum nor any maximum is something to take from a website: check the code edition your local authority has actually adopted, including its amendments.
Where drain and pipe-volume work goes wrong
- Treating nominal volume as real volume. See above — the error runs from roughly a fifth under to over half above, depending on the material.
- Measuring the run in a straight line. Fall is set by developed length along the pipe, following every offset and fitting, not by the distance across the floor plan.
- Forgetting the fall has to physically fit. A long run at ¼" per foot drops fast. Check it against joist depth and headroom before committing to a route.
- Ignoring venting. Slope alone does not make a drain work. Without proper venting the line siphons traps dry, and no amount of fall fixes that.
- Assuming one code applies everywhere. IPC and UPC differ, states amend both, and some cities amend again on top.
Where these numbers come from
Two model codes are in force in different parts of the United States and they do not agree on every figure. Both are linked here, deliberately.
- International Plumbing Code — The ICC model code, adopted across much of the country.
- IAPMO — Publishes the Uniform Plumbing Code, adopted elsewhere — and it differs from the IPC on drain slope, among other things.
- EPA WaterSense — Maximum fixture flow rates, which set the demand side of any sizing calculation.
Why does drain slope matter so much?
Too little slope and solids can settle and clog the line; too much slope and water can outrun solids, leaving them behind ("self-siphoning"). Standard code minimums are chosen to keep flow velocity consistent.
Does inside diameter really equal nominal pipe size?
Not exactly — actual inside diameter varies slightly by pipe material and schedule (PVC, copper, PEX all differ a little). For planning purposes nominal size is a reasonable estimate; for precise volume work, use the manufacturer's actual ID.
Can I save, share, or print a calculation?
Yes — use the Save, Copy link, and Print buttons under your results. Saved calculations can be grouped into a named project on the My Projects page for a combined job estimate with cost totals. Everything is stored only in your browser, never uploaded — see the Privacy Policy for details.
Estimates only. Minimum slope requirements can vary by local plumbing code — confirm with your local code and inspector before rough-in.