# Drain Pipe Slope Calculator

> Find the minimum required drop for a drain pipe run, based on standard plumbing code minimum slope.

Page: https://craftquantities.com/calculators/plumbing-hvac/drain-pipe-slope-calculator/ (calculator). This is the page's Markdown copy; the HTML page is the canonical version.

Version 1.0.1, sources checked 2026-09-05, 2 published test vectors.

Minimum required drop: 4.88 in of drop (minimum) for Pipe Run Length 19.5 ft, the page's opening figures; on the metric page, 6 m gives 125 mm of drop. Sources are cited below.

## Inputs

A length, area or volume is entered with its unit. The page opens on the values below: a metric reader sees the metric column, a US customary reader the other.

| Input | id | Opens at (metric) | Opens at (US customary) | Accepts |
|---|---|---|---|---|
| Pipe Run Length | `pipeLength` | 6 m | 19.5 ft | mm, cm, m, in, ft, yd; range 0.01–100 m |
| Pipe Size | `pipeDiameterCategory` | 80 mm (3 in) diameter or smaller | 3 in diameter or smaller | `small`, `large` |

- **Pipe Run Length**: The horizontal length of the drain pipe run.
- **Pipe Size**: Larger drain pipes are allowed a gentler minimum slope.

## The answer on the opening values

Worked exactly as the page works it, on the values each system opens on.

### Metric

| Result | Value |
|---|---|
| **Minimum required drop** | 125 mm of drop |
| Pipe run length | 6 m |

### US customary

| Result | Value |
|---|---|
| **Minimum required drop** | 4.88 in of drop (minimum) |
| Pipe run length | 19.5 linear ft |

## How it is worked out

This is the code minimum slope — always check your specific local plumbing code, which may set stricter requirements in some jurisdictions.

The working the page shows, in order: Pipe run length; then minimum required drop.

The method, derived in full:

- [Head Loss, Falls and Surge: Resistance in Pipes, Ducts and Drains](https://craftquantities.com/methodology/head-loss-falls-and-surge/): Why one pipe size up cuts the friction to a third, why a compressed flex duct can cost four times its rated loss, why a drain can be too steep, and why a fast-closing valve produces a pressure the pump never could.

What this calculation does not cover:

- The size question is answered with two bands, so a 4 in branch and a 300 mm building sewer both land in the same band and get 1/8 in per ft. Real code tables are not that coarse: several add a gentler band for the largest sizes, and some jurisdictions require 1/4 in per ft at every size unless the reduction is specifically approved, so both the band boundary and the permitted figure are jurisdictional.
- Nothing here checks the drop you actually have against a maximum, and nothing checks that the fall will physically fit: a 20 m run of large pipe needs about 208 mm of drop at this slope, and that depth has to be available between the fixture connection and the invert of the sewer or septic tank at the far end.
- Slope is not capacity. Pipe size is set by the drainage fixture unit load on the run and the maximum permitted flow depth, and this page never asks how many fixtures discharge into it — the size band is something you tell the calculator, not something it works out for you.
- The length is treated as one straight horizontal run. No allowance is made for bends, offsets or developed length through fittings, and the page does not size or locate the vents, traps and cleanouts the drain also needs; a run at exactly the right slope will still siphon its traps if the venting is wrong.
- The figure is a total end-to-end drop and assumes the fall is delivered evenly along the run. It says nothing about hanger spacing or pipe bedding, and a single sag deep enough to hold standing water will collect solids even though the two ends of the pipe are the compliant distance apart.

A professional must decide:

- Water: supply and drainage design, and work on them, are for a licensed plumber under the local plumbing rules.

## Sources

As the calculator cites them (sources checked 2026-09-05):

- Standard plumbing code minimum drain slope (UPC/IPC): 1/4 in per ft for pipes 3 in and smaller, 1/8 in per ft for pipes larger than 3 in

The site's pages for the documents these name:

- [International Plumbing Code](https://craftquantities.com/standards/icc/ipc/)
- [Uniform Plumbing Code](https://craftquantities.com/standards/iapmo/upc/)

A code or standard has force only where a jurisdiction has adopted it, usually with local amendments; check what is in force with the authority where you build.

## Questions answered on the page

**What happens if the slope is too steep, not just too shallow?**

Excessively steep drain slope can cause liquid to outrun solid waste, leaving solids behind and increasing clog risk — most codes also set a practical maximum slope guideline, not just a minimum.

**Does this apply to vent pipes too?**

No — this is for drain (waste-carrying) pipes, which must slope to keep flow moving toward the sewer or septic system. Vent pipes have different slope and routing rules focused on airflow, not drainage.

**How do I measure existing slope to check if it's compliant?**

Measure the pipe's vertical drop over a known horizontal run length with a level and tape measure, then compare the ratio to the code minimum for your pipe size.

## Related calculators

- [Pipe Volume Calculator](https://craftquantities.com/calculators/plumbing-hvac/pipe-volume-calculator/)

## Run it from a program

- REST: `GET https://api.craftquantities.com/v1/calculate/drain-pipe-slope-calculator` with each input as a query parameter, a length, area or volume with its unit; `https://api.craftquantities.com/v1/describe/drain-pipe-slope-calculator` lists the inputs.
- MCP: the `calculate` tool at https://api.craftquantities.com/mcp with `slug` `drain-pipe-slope-calculator`.
- Definition and test vectors: https://craftquantities.com/api/v1/calculators/drain-pipe-slope-calculator.json

---
Source: https://craftquantities.com/calculators/plumbing-hvac/drain-pipe-slope-calculator/
Craft Quantities: free to read, cite and link to; the pages are not licensed for republication. Quantities only: no prices, no design and no certification.
