Pipe Slope Calculator

Updated

The Pipe Slope Calculator turns run and drop into percent grade, inches per foot, ratio and angle, then checks the pitch against the IPC or UPC minimum drain slope for your pipe size.

Quick Setup

Measure the level run and the drop between the pipe ends.

in
ft
%
ft
ft
Pipe Grade from Run and Drop
2.083% Slope
Drop ÷ run × 100, with both in the same unit
¼ in per ft Pitch
Exact Pitch0.25 in/ft
Metric Pitch20.83 mm/m
Pitch is drop per foot of run, read on a plumber’s level, to the nearest ¹⁄₁₆ in.
48:1 Run-to-Rise Ratio
Angle from Level1.19°
Decimal Grade0.02083 ft/ft
Run-to-rise ratio X:1, the angle below horizontal, and the slope as a plain decimal.
2.08× the IPC Minimum
IPC Minimum, 3 in⅛ in per ft (1%)
Least Drop That Passes2.88 in
IPC Table 704.1 minimum by pipe size; the code counts ¼ in per ft and 2% as equal.
2.5 in Drop per 10 ft
Drop per 100 ft25 in
Length Along Slope24.0052 ft
Drop over standard lengths, and the actual pipe length to cut along the sloped run.
Pipe Slope Diagram48:1 run to rise
Drop 6 in Run 24 ft Slope 2.083% · ¼ in per ft Slope exaggerated ×7 to show it
Code Minimum by Pipe SizeDrops over 24 ft

IPC Table 704.1 and UPC 708.1 minimums. Your size is highlighted.

Pipe SizeIPC in/ftUPC in/ftIPC DropUPC Drop
1¼ in¼ (2%)¼ (2%)5.76 in5.76 in
1½ in¼ (2%)¼ (2%)5.76 in5.76 in
2 in¼ (2%)¼ (2%)5.76 in5.76 in
2½ in¼ (2%)¼ (2%)5.76 in5.76 in
3 in⅛ (1%)¼ (2%)2.88 in5.76 in
4 in⅛ (1%)¼ (2%), ⅛ (1%) with AHJ2.88 in5.76 in
5 in⅛ (1%)¼ (2%), ⅛ (1%) with AHJ2.88 in5.76 in
6 in⅛ (1%)¼ (2%), ⅛ (1%) with AHJ2.88 in5.76 in
8 in¹⁄₁₆ (0.5%)¼ (2%), ⅛ (1%) with AHJ1.44 in5.76 in
10 in¹⁄₁₆ (0.5%)¼ (2%), ⅛ (1%) with AHJ1.44 in5.76 in
12 in¹⁄₁₆ (0.5%)¼ (2%), ⅛ (1%) with AHJ1.44 in5.76 in
Slope Conversion ChartYour slope 2.083%

Common pipe pitches, ratios and grades. Your slope is highlighted.

SlopePercentin per ftmm per mRun:RiseAngleDrop over Run
¹⁄₁₆ in per ft0.5208%0.06255.208192:10.298°1.5 in
1:1001%0.1210100:10.573°2.88 in
⅛ in per ft1.042%0.12510.4296:10.597°3 in
1:801.25%0.1512.580:10.716°3.6 in
³⁄₁₆ in per ft1.563%0.187515.6364:10.895°4.5 in
2%2%0.242050:11.15°5.76 in
¼ in per ft2.083%0.2520.8348:11.19°6 in
1:402.5%0.32540:11.43°7.2 in
⅜ in per ft3.125%0.37531.2532:11.79°9 in
½ in per ft4.167%0.541.6724:12.39°12 in
5%5%0.65020:12.86°14.4 in
10%10%1.210010:15.71°28.8 in
15%15%1.81506.67:18.53°43.2 in
18%18%2.161805.56:110.2°51.84 in
20%20%2.42005:111.3°57.6 in
25%25%32504:114°72 in
50%50%65002:126.6°144 in
100%100%121,0001:145°288 in
Step-by-Step MathSlope = drop ÷ run
  1. Same units: run L = 24 ft = 288 in; drop = 6 in = 6 in.
  2. Slope = drop ÷ run = 6 in ÷ 288 in = 0.020833.
  3. Pitch = 0.020833 × 12 = 0.25 in per ft; ratio = 1 : (1 ÷ 0.020833).
  4. Percent grade = 0.020833 × 100 = 2.083%.
Meets the IPC Minimum
Keep the slope uniform the whole way and check it with a level at several points. A sag holds water and solids even when the overall grade passes.

Where the IPC and UPC Disagree on Drain Slope

Most slope charts print one minimum per pipe size. The two US plumbing codes do not agree, and the gap decides whether a 3 or 4-inch line passes.

Pipe SizeIPC Table 704.1UPC Section 708.1
2½ in or smaller¼ in/ft (2%)¼ in/ft (2%)
3 in⅛ in/ft (1%)¼ in/ft (2%)
4 to 6 in⅛ in/ft (1%)¼ in/ft; ⅛ in/ft only with AHJ approval
8 in or larger¹⁄₁₆ in/ft (0.5%)¼ in/ft; ⅛ in/ft only with AHJ approval
Upstream of a grease interceptor¼ in/ft, any sizeNo separate rule

Under the IPC (ICC IPC Essentials), ⅛ in per foot is simply allowed from 3 in up. Under UPC 708.1, ¼ in is the rule for every size. The ⅛ in exception needs three things at once: pipe 4 in or larger, a sewer depth or building layout that makes ¼ in impractical, and approval before the work.

A 3-inch line is the sharpest case. It passes at ⅛ in per foot in an IPC state and fails at the same slope in a UPC state, with no exception available.

Example: 4-Inch Building Drain, 38 ft Run, 5 in of Fall

Slope = 5 ÷ (38 × 12) = 0.01096, which is 1.10% or 0.13 in per foot. Under the IPC it clears the 1% minimum, which needs only 4.56 in of fall here. Under the UPC it falls short of the 9.12 in that ¼ in per foot needs, so it only passes if the AHJ approved the reduced slope in writing first. Put the same run and fall into the pipe slope calculator under each code and the verdict changes with the code, not the pipe.

Why 2% Is Not Quite ¼ Inch per Foot

Both codes print "¼ inch per foot" and "2 percent" side by side, but they are not equal. A quarter inch over 12 inches is 2.083%, and a true 2% slope falls only 0.24 in per foot. Over 50 ft, that difference is half an inch of fall.

Code MinimumExact PercentPercent PrintedSet At Least
¼ in per ft2.083%2%2.09%
⅛ in per ft1.042%1%1.05%
¹⁄₁₆ in per ft0.521%0.5%0.53%

Most inspectors accept the printed percent. A digital level that reads exactly 2.0% is still under the fraction, though, so setting the last column clears both readings. The pipe slope calculator flags any slope that lands in this gap and tells you the figure to set.

Is There a Maximum Drain Slope?

For a horizontal drain, neither code sets one. Once a pipe is 45° or more from level, the codes treat it as vertical pipe instead. The common rule of thumb that a steep drain lets liquid run ahead of solids is trade lore, not a code limit.

Trap arms are the exception. IPC 909.2 says the total fall of a fixture drain, from the trap weir to its vent, may not exceed the drain's own diameter. If it did, the pipe at the vent would sit below the trap weir, run full and siphon the trap dry. That puts a real cap on slope for short runs.

Trap Arm SizeMax Distance to VentFall at ¼ in/ftOne-Diameter Limit
1¼ in5 ft1.25 in1.25 in
1½ in6 ft1.5 in1.5 in
2 in8 ft2 in2 in
3 in12 ft3 in3 in
4 in16 ft4 in4 in

The distances follow IPC Table 909.1, and at ¼ in per foot each one uses exactly one diameter of fall. Rearranged, the steepest a trap arm can run is its diameter divided by its length. A 1½-inch arm 3 ft long may fall at most 1.5 ÷ 3 = ½ in per foot, and a 2-inch arm 4 ft long also tops out at ½ in.

Water closets are exempt from Table 909.1. Enter the arm length and its fall in the pipe slope calculator, and if the inches per foot come out above diameter ÷ length, the arm is too steep.

Slope Changes How Much a Drain Can Carry

A steeper drain moves water faster, so the same pipe carries more fixtures. IPC Table 710.1(1) rates building drains by drainage fixture units (DFU) at each slope. At ¼ in per foot, a 2-inch drain carries 21 DFU, a 3-inch carries 42 DFU and a 4-inch carries 216 DFU.

The UPC handles it the other way round. Its horizontal sizing tables assume ¼ in per foot, and a drain approved at ⅛ in per foot keeps only 80% of that capacity under Table 703.2. Dropping to the minimum slope can therefore push a branch into the next pipe size.

Find the actual slope with the pipe slope calculator first, then size the drain against that slope rather than the one you intended. To see the actual depth and speed of flow at a given slope, use the Partial Pipe Flow Calculator or the Mannings Flow Calculator.

Slope Between Invert Elevations

Site plans give pipe height as an invert elevation, the inside bottom of the pipe. Slope is the invert difference divided by the level distance between the two points.

Inverts of 87.62 ft and 87.31 ft, 30 ft apart, give 0.31 ÷ 30 = 1.03%. That is ⅛ in per foot in rounded terms, but just under the exact 1.042%. An IPC inspector reading the printed 1% passes it, while one reading the fraction may not.

Working forward, the downstream invert is the upstream invert minus slope × run. At 2% over 30 ft from 87.62 ft, it lands at 87.62 - 0.60 = 87.02 ft. The pipe slope calculator solves inverts in both directions, plus the run between them. Long building sewers and laterals use the same arithmetic. The Sewer Line Slope Calculator and Drainage Fall Calculator cover those runs.

Setting the Slope on Site

Each hanger or support sits lower than the one before it by the support spacing times the pitch. With supports 4 ft apart at ¼ in per foot, every hanger drops 1 in. At ⅛ in per foot the same spacing drops ½ in per hanger. When the available drop is fixed, the pipe slope calculator gives the longest run it can cover at your chosen slope.

Set the upstream end first and stretch a line or shoot a laser to the downstream end, then check the pitch at each support. A sag between supports holds water and solids even when the overall grade passes, which is why PVC and other plastic drains need their full support count. Vent pipes slope too: under IPC 905.2, horizontal dry vents grade back toward the drain at ⅛ in per foot or more so condensation drains out.

Percent Slope to Inches, Ratio and Degrees

Slope is rise over run, the same m = (y₂ - y₁) ÷ (x₂ - x₁) from 7th grade math. As a decimal S, it converts to every other form. The pipe slope calculator accepts slope as a percent, inches per foot, mm per meter, a 1:X ratio or degrees, and returns the rest.

Slopein per ftmm per mRun:RiseDegreesDrop per 10 ft
0.5%0.065200:10.29°0.6 in
1%0.1210100:10.57°1.2 in
2%0.242050:11.15°2.4 in
2.5%0.302540:11.43°3 in
3%0.363033.3:11.72°3.6 in
4%0.484025:12.29°4.8 in
5%0.605020:12.86°6 in
6%0.726016.7:13.43°7.2 in
9%1.089011.1:15.14°10.8 in
10%1.2010010:15.71°12 in
12%1.441208.33:16.84°14.4 in
13%1.561307.69:17.41°15.6 in
15%1.801506.67:18.53°18 in
17%2.041705.88:19.65°20.4 in
18%2.161805.56:110.2°21.6 in
20%2.402005:111.31°24 in
25%3.002504:114.04°30 in
50%6.005002:126.57°60 in
100%12.001,0001:145°120 in

Drain Grades: 0.5% to 3%

A 1% slope drops 1 ft per 100 ft, or 0.12 in per foot, so 40 ft of pipe falls 4.8 in. A 2% slope over 4 ft falls 0.96 in, just short of an inch. A 2.5% slope is the same as 1 in 40, which falls 6 in over 20 ft. A 0.5% slope sits just under ¹⁄₁₆ in per foot, the flattest grade the IPC allows, and only on 8-inch and larger pipe.

Moderate Grades: 4% to 13%

These are steep for a drain but gentle underfoot. Picture a 5% slope as a 10 ft board with one end 6 in lower than the other. A 9% slope is more than four times the ¼ in drain minimum yet only 5.14° from level. A 12% slope is 6.84° and a 13% slope is 7.41°.

Steep Grades: 15% and Above

A 15% slope is 8.53° and a 17% slope is 9.65°. An 18% slope is a 5.56:1 ratio, a 20% slope is 5:1 at 11.31°, and a 25% slope is 4:1 at 14.04°. Percent and degrees run on different scales: a 100% slope is only 45°, because the rise equals the run. A "2 to 1" earthwork slope means 2 across for each 1 up, which is 50% and 26.57°.

Pipe Slope Calculator in mm and 1:X Ratios

A 1:X ratio falls 1000 ÷ X mm per meter: 1:100 is 10 mm/m, 1:80 is 12.5 mm/m, 1:60 is 16.7 mm/m and 1:40 is 25 mm/m. US minimums in metric terms are 20.8 mm/m for ¼ in per foot (about 1:48) and 10.4 mm/m for ⅛ in (about 1:96). A 12 m run at 1:80 falls 150 mm, the same figure the pipe slope calculator gives with the run in meters and the slope entered as 1:80.

Gutters, shower pans and open channels use the same rise over run. See the Gutter Slope Calculator, Shower Pan Slope Calculator and Channel Slope Calculator.