Drain pipe slope calculator
Enter the pipe size and how long the run is. Get the minimum fall from the plumbing code, and check whether the height you have at the far end is enough.
Drain pipe
Minimum slopes from the International Plumbing Code (Table 704.1). The IRC uses the same values. Local codes can differ.
Pipe and run
Horizontal length from the fixture or the start to the end of the run.
Height difference between the start and the end of the pipe, to check a slope you already have.
Add this calculator to your website
Free for any website: paste this code where the calculator should appear. It keeps itself up to date, fits its height to the content and links back to the full page with the explanations.
How to use it
- 01Pick metric for DIN 1986-100 (Germany and much of Europe) or imperial for the International Plumbing Code used across the US.
- 02Choose the pipe size and, in metric, whether the pipe runs inside the building or in the ground outside.
- 03Enter the horizontal length of the run. The result is the minimum height the pipe must drop over that length.
- 04To check an existing layout, also enter the height difference you have between the start and the end of the pipe.
How it is calculated
The fall is the length multiplied by the slope. The only question is which slope applies, and that comes from the plumbing code for the pipe size and place.
- Fall
- Δh = L × i
- Your slope
- i = Δh / L
- IPC, ≤ 2½ in
- i = ¼ in per ft
- IPC, 3–6 in
- i = ⅛ in per ft
- DIN, inside
- i = 1 : 200
- DIN, ground pipe outside
- i = 1 : DN
IPC Table 704.1 sets ¼ in per foot for pipes of 2½ in or less, ⅛ in per foot for 3 to 6 in and 1/16 in per foot from 8 in. The IRC repeats the same values.
Under DIN 1986-100, horizontal waste pipes inside a building need at least 0.5 cm per metre (1:200). Ground pipes outside need 1:DN, so 1 cm per metre for DN 100 and 0.67 cm per metre for DN 150. The design tables go up to 5 cm per metre.
Slopes are minimums. A municipal guide (Pfronten, Bavaria) calls about 2 % ideal and 5 % the general upper limit.
Worked example
A 3 in drain, 30 ft to the stack, 4 in of height available
- Minimum slope for 3 in: ⅛ in per ft.
- Fall needed: 30 ft × ⅛ in = 3¾ in.
- Height available: 4 in, so ¼ in to spare and the slope is 0.133 in per ft.
- Metric: DN 100 in the ground over 12 m needs 12 × 1 cm = 12 cm; inside the building it would need 6 cm.
Getting the order right
Measure the fall before you cut
Mark the height of the pipe at both ends with a laser or a water level before you drill or dig. Add the pipe diameter and the fitting heights so the far end is not lower than the stack or the sewer connection.
Keep the slope even
The IPC asks for uniform alignment at uniform slopes. A run that dips in the middle holds water and solids even if the total fall is right.
Long, flat runs get bigger pipes
At ⅛ in per foot a 40 ft run already needs 5 in of fall. If the height is not there, the pipe size, the route or the outlet height needs to change; ask a plumber before building it flatter.
Common mistakes
- Using the slope of a 3 in pipe for a 2 in branch. Small pipes need twice the slope in the IPC.
- Measuring the fall along the pipe instead of straight up and down.
- Forgetting that local codes can be stricter than the model code or the DIN.
- Making the pipe much steeper than needed to be safe. Very steep runs separate water and solids; DIN design tables stop at 5 cm per metre.
Questions
What is the minimum slope for a drain pipe?
Under the International Plumbing Code: ¼ in per foot for 2½ in pipe and smaller, ⅛ in per foot for 3 to 6 in, 1/16 in per foot from 8 in. Under DIN 1986-100: 1:200 inside the building and 1:DN for ground pipes outside.
How much fall does a 4 in sewer line need over 100 ft?
At ⅛ in per foot, 12½ in. In metric, a DN 100 ground pipe needs 1 cm per metre, so 30 m needs 30 cm.
Is ¼ in per foot the same as 2 %?
Almost: ¼ in per foot is 2.08 %. ⅛ in per foot is 1.04 %.
Can a drain pipe be too steep?
The IPC sets only a minimum. The DIN 1986-100 design tables go up to 5 cm per metre, and municipal guidance names 5 % as the general upper limit.
Does this apply to vent pipes or pressure pipes?
No. It covers gravity drainage only. Pumped lines and vents have their own rules.
Related calculators
Sources
- [1]Ohio Plumbing Code (based on the IPC), rule 4101:3-7-01, section 704.1 and Table 704.1. Register of Ohio. Horizontal drainage piping at uniform slopes not less than Table 704.1: 2½ in or less 1/4 in per ft; 3 to 6 in 1/8 in per ft; 8 in or larger 1/16 in per ft. The IRC (P3005.3) uses the same values.. Checked November 10, 2026
- [2]Dimensionierung von Fall-, Sammel- und Grundleitungen (SBZ Monteur 03/2011), after DIN 1986-100. SBZ Monteur. Horizontal waste pipes inside the building: minimum slope 0.5 cm/m (1:200). Ground pipes outside the building: minimum slope 1:DN, e.g. 1 cm/m for DN 100. Design tables go up to 5 cm/m (1:20). Sammelleitungen at least DN 70, Grundleitungen at least DN 100.. Checked November 10, 2026
- [3]Grundstücksentwässerung: Hinweise zum Bau von Gebäude- und Grundstücksentwässerungen. Gemeinde Pfronten. Minimum slope 0.5 % inside buildings and 1:DN outside; pipes should generally not exceed 5 %, about 2 % is ideal.. Checked November 10, 2026
Formulas and sources last checked on November 10, 2026. How we calculate