Plumbing

Pipe Slope Calculator

Drain fall, percent grade, and a check against IPC 2024 Table 704.1 or UPC Section 708.1. The inspector governs. No vent sizing and no gas-pipe sizing.

Checked 2026-11-19. The answer below is computed on this page.

Drain fall

Informational. The locally adopted code and the inspector set the slope. No vent sizing and no gas-pipe sizing.

ft

Total drop

10.0 in

Grade
2.083%
Code
IPC 2024 Table 704.1
Ratio
1:48

IPC 2024 Table 704.1 and UPC Section 708.1 are the minimums shown here. Trap-arm length is a separate venting limit and is not calculated.

Formula

Total drop is the slope in inches per foot times the run in feet. Percent grade is that slope divided by 12, times 100. Degrees are the arctangent of slope over 12. The ratio is 1 to 12 divided by the inches per foot. One inch per foot is 83.33 mm per metre, the SI note on IPC Table 704.1.

drop = (in/ft) × feet
% = (in/ft ÷ 12) × 100
degrees = atan(in/ft ÷ 12)

IPC 2024 Section 704.1 requires the slope in Table 704.1: 1/4 in/ft for 2-1/2 in and smaller, 1/8 in/ft for 3 to 6 in, and 1/16 in/ft for 8 in and larger. Piping upstream of a grease interceptor stays at 1/4 in/ft. UPC Section 708.1, read from UpCodes, requires not less than 1/4 in/ft or 2 percent. Pipe 4 in and larger may be 1/8 in/ft or 1 percent only where 1/4 is impractical because of the street sewer, the structure, or the building arrangement, and only where the authority having jurisdiction approves it first. A 45 degree or steeper run is treated here as a vertical pipe, not a sloped drain. Neither section sets a maximum. This page does not size a vent and does not size a gas pipe.

Worked examples

1/4 in/ft over 40 ft. 10.0 in, 0 ft 10 in, 2.083 percent, 1.19 degrees, 1:48. 1/8 in/ft over 60 ft. 7.5 in, 1.042 percent, 0.60 degrees, 1:96. 2 percent over 50 ft. 0.24 in/ft and 12.0 in, 1 ft 0 in.

6 in drop over 30 ft. 0.20 in/ft, 1.667 percent, 0.95 degrees. A 2 in pipe fails IPC Table 704.1. A 4 in pipe passes it. 20 mm/m over 12 m. 240 mm of drop, 2.0 percent.

Reference

Minimum slope from the text read for this page. Local amendments are not included.
SizeIPC 2024 Table 704.1UPC 708.1
2-1/2 in and smaller1/4 in/ft1/4 in/ft
3 in1/8 in/ft1/4 in/ft
4 to 6 in1/8 in/ft1/4 in/ft, or 1/8 with prior AHJ approval
8 in and larger1/16 in/ft1/4 in/ft, or 1/8 with prior AHJ approval

Questions

How much slope does a drain pipe need?

IPC 2024 Table 704.1 is 1/4 in/ft for 2-1/2 in and smaller, 1/8 in/ft for 3 to 6 in, and 1/16 in/ft for 8 in and larger. UPC Section 708.1 starts at 1/4 in/ft for every size. The locally adopted code and the inspector decide.

What is 1/4 inch per foot in percent?

2.083 percent, about 1.19 degrees, and a ratio of 1:48. Over 40 feet that is 10 inches of fall.

How much fall over 10, 20, or 50 feet?

At 1/4 in/ft the fall is 2.5 in, 5 in, and 12.5 in. At 1/8 in/ft it is half of that.

Can a drain have too much slope?

Neither IPC 2024 Section 704.1 nor UPC Section 708.1 sets a maximum. A slope steeper than 1/2 in/ft can still be fine. A long steep run may be restricted locally, so check the adopted code. This page does not invent a maximum.

What slope for a 4 inch sewer line?

IPC Table 704.1 allows 1/8 in/ft for 3 to 6 in pipe. UPC Section 708.1 still starts at 1/4 in/ft. One-eighth is permitted on 4 in and larger only where 1/4 is impractical and the authority having jurisdiction approves it first.

How to calculate pipe slope from two elevations?

Subtract the lower invert from the higher invert. Divide that drop, in inches, by the run in feet. Six inches over 30 feet is 0.20 in/ft.

IPC vs UPC slope rules?

The IPC table steps down as the pipe gets larger. The UPC keeps 1/4 in/ft and treats 1/8 in/ft on 4 in and larger as an approved exception, not a size band. Grease-interceptor piping stays at 1/4 in/ft under IPC 704.1.

Sources

  • International Plumbing Code 2024, Section 704.1 and Table 704.1, Slope of Horizontal Drainage Piping, as displayed for the 2024 IPC.
  • Uniform Plumbing Code Section 708.1, Grade of Horizontal Drainage Piping, as displayed by UpCodes. The same sentence is identified as the 2024 UPC in secondary summaries. The UpCodes extract itself did not print a year.

Related calculators