Skip to calculator

Pipe Slope Calculator

Pipe slope is the drop divided by the run. Drain pipe 2 1/2 in. or smaller needs at least 1/4 in. per ft, and 3 to 6 in. pipe 1/8 in. per ft under the IPC, so a 40 ft run of 4 in. sewer falls 5 in. Enter your numbers below.

By Kris Lynch

Work out your pipe slope

Fractions work: type 1/4, 1/8 or 3/16.

Measured two heights instead?

Heights above any fixed mark, such as readings up from the floor or a laser line.

No registration required

How to Calculate Pipe Slope

Pipe slope is the drop divided by the run. In the US it is usually written in inches per foot: divide the drop in inches by the run in feet. A 40 ft sewer that falls 5 in. has a slope of 5 ÷ 40 = 1/8 in. per ft. Turn it around to find the drop you need: slope × run, so 1/4 in. per ft over a 12 ft run is 3 in.

For a percentage, put the drop and the run in the same unit, divide and multiply by 100: 5 in. ÷ 480 in. × 100 = 1.04%. In metric, the drop in millimetres divided by the run in metres gives mm per metre, and 10 mm per m is 1%.

Slope Conversion Chart

Per footPercentRatiomm per mDegreesDrop per 10 ftDrop per 100 ft
1/16 in.0.52%1:1925.20.30°5/8 in.6 1/4 in.
1/8 in.1.04%1:9610.40.60°1 1/4 in.12 1/2 in.
3/16 in.1.56%1:6415.60.90°1 7/8 in.18 3/4 in.
1/4 in.2.08%1:4820.81.19°2 1/2 in.25 in.
3/8 in.3.12%1:3231.21.79°3 3/4 in.37 1/2 in.
1/2 in.4.17%1:2441.72.39°5 in.50 in.

The two common slopes are not round numbers: 1/4 in. per ft is 2.08%, not 2%, and 1/8 in. is 1.04%. Over 100 ft that is the difference between 24 in. and 25 in. of drop.

Minimum Slope by Pipe Size and Code

Most US states use the International Plumbing Code (IPC), or the matching International Residential Code (IRC) for houses. California, Washington and several other western states use the Uniform Plumbing Code (UPC). The two agree on small pipe and differ on 3 in. and larger.

Pipe sizeIPC / IRC minimumUPC minimumIPC drop per 10 ft
1 1/4 to 2 1/2 in.1/4 in. per ft (2.08%)1/4 in. per ft2 1/2 in.
3 in.1/8 in. per ft (1.04%)1/4 in. per ft1 1/4 in. (IPC)
4 to 6 in.1/8 in. per ft (1.04%)1/4 in. per ft, or 1/8 with approval1 1/4 in.
8 in. and larger1/16 in. per ft (0.52%)1/4 in. per ft, or 1/8 with approval5/8 in.

Under the IPC, any pipe upstream of a grease interceptor needs 1/4 in. per ft whatever its size. Under the UPC, the 1/8 in. option for 4 in. pipe is allowed only where 1/4 in. is impractical, for example a shallow street sewer, and the inspector approves it first. Cities can change both, so the calculator says “meets the minimum” rather than “passes inspection”.

Trap Arms: Where Too Much Slope Fails

A trap arm is the pipe from a fixture’s trap to its vent. The IPC limits it two ways: a maximum length in Table 909.1, and a total fall of no more than one pipe diameter (909.2). If the arm falls further than that, the trap can siphon dry. That is why steeper is not always safer on short fixture drains. Choose “Trap arm” in the calculator to check yours. Toilets are exempt.

Trap sizeSlope in the tableLongest armFall at that length
1 1/4 in.1/4 in. per ft5 ft1 1/4 in.
1 1/2 in.1/4 in. per ft6 ft1 1/2 in.
2 in.1/4 in. per ft8 ft2 in.
3 in.1/8 in. per ft12 ft1 1/2 in.
4 in.1/8 in. per ft16 ft2 in.

The lengths assume the table slope. A 2 in. arm laid at 3/8 in. per ft reaches its 2 in. fall limit after 5.33 ft, not 8 ft.

Yard and French Drains

No plumbing code covers a perforated drain in a gravel trench, so installers use a rule of thumb: at least 1%. Most guides write that as 1 in. per 8 ft, which is actually 1.04%, the same as 1/8 in. per ft. Some write 1 in. per 10 ft, which is only 0.83%. An exact 1% is 1.2 in. per 10 ft. Choose “Yard or French drain” to check against 1%, and use the stake table to set the trench bottom.

Pipe Slope Questions

Divide the drop by the run. For slope per foot, divide the drop in inches by the run in feet: 5 in. over 40 ft is 5 ÷ 40 = 1/8 in. per ft. For a percentage, put both in the same unit first: 5 ÷ 480 in. × 100 = 1.04%.

Under the IPC and IRC, 1/8 in. per ft (1.04%), so a 40 ft run drops 5 in. Under the UPC the default is 1/4 in. per ft, and 1/8 in. is allowed for 4 in. and larger only where 1/4 in. is impractical and the inspector approves it first. Some cities set their own rule, so check yours.

Toilets drain into 3 in. pipe, which needs 1/8 in. per ft under the IPC and IRC but 1/4 in. per ft under the UPC, because the UPC only relaxes the rule for 4 in. and larger. Toilets are exempt from the trap arm length limit, so the run is limited by the slope and the drop you have.

Divide the inches per foot by 12 and multiply by 100. 1/4 in. per ft is 0.25 ÷ 12 × 100 = 2.08%, and 1/8 in. is 1.04%. Codes and guides round these to 2% and 1%, which is close enough on a short run but adds up on a long one: over 100 ft, 2% is 24 in. and 1/4 in. per ft is 25 in.

Nearly. 1 in. over 8 ft is 1 ÷ 96 = 1.04%, which is the same as 1/8 in. per ft. An exact 1% is 1.2 in. per 10 ft. The “1 in. per 10 ft” you will see in some French drain guides is only 0.83%, a little under 1%.

For drains and sewers the IPC and UPC set minimums, not maximums. The real limit is on trap arms, the pipe from a sink, tub or shower trap to its vent: the fall may not exceed one pipe diameter (IPC 909.2). A 2 in. arm at 1/4 in. per ft can run 8 ft, but at 3/8 in. per ft only 5.33 ft.

Stretch a level string line or set a laser at the high end, then measure down to the pipe at each end, at the same point on the pipe each time. The difference is the drop. The stake table under your result gives the drop at every 5, 10 or 20 ft so you can set hangers or trench depth as you go.

Method and Sources

Slope = drop ÷ run. Drop = slope × run. Run = drop ÷ slope. Percent = slope × 100, ratio = 1 ÷ slope, degrees = arctan(slope). Imperial drops are rounded to the nearest 1/16 in. Code checks: IPC Table 704.1, UPC 708.1, IPC Table 909.1 and 909.2 for trap arms, and 1% for yard drains. Local amendments are not included.

Written and checked by Kris Lynch. Not reviewed by a licensed plumber. See our methodology. Spotted a problem? Tell us. Updates: Nov 2026, launched.

Related Calculators