Before you set the pipe
Measure the Drain Route and Vertical Drop

Mark where the drain leaves the fixture and where it joins the next pipe or stack. Measure the horizontal path across the floor plan, including any detour around framing; that is the run you enter.
Do not measure along the sloping pipe. The fall is the height difference between its two ends. Use Required fall for a new route, or enter the measured run and fall to check a pipe already in place.
For longer runs, use a laser or rotary level when a string line may sag.
Make the route fit
Make Sure the Drain Has Enough Space to Slope Down

A drain needs more vertical room as its route gets longer. For example, a 30-foot run at ⅛ in/ft needs 3.75 inches of drop. Before laying out the pipe, check the connection height and clearance below the floor.
If you know the drop available, use Maximum run to see how far it can carry the drain. If it will not cover the route, change the layout or connection plan before installing the pipe.
Start with the measurement you have
Which Calculation Do You Need?
Plan a new drain
Enter the horizontal run to find the required drop.
Check a drain already in place
Compare the run and fall you measured.
Turn a drawing note into a drop
Convert a stated grade into total fall.
Work with limited vertical space
Find the longest run the available drop can support.
Typical starting points
Common Drain-Layout Examples

New 30-foot 3-inch branch
Use Required fall when you are laying out a new drain and know the horizontal route. With the 2024 IPC basis selected, a 30-foot 3-inch run at ⅛ in/ft needs 3.75 inches of drop from start to finish.
This gives the required vertical difference. To calculate a downstream elevation, enter an upstream invert on the same datum. Change the route length, pipe size, or basis to match the work you are planning.
What to verify on site: clearance below framing while keeping the required drop.

Existing 30-foot 3-inch run with 4 inches of drop
Use Check slope when the pipe is already installed or you have site measurements. A 30-foot run with 4 inches of fall has an actual slope of 0.1333 in/ft. Under the selected 2024 IPC 3-inch basis, that is above the ⅛ in/ft minimum.
Four inches of drop alone is not enough to judge a pipe. Replace both values with your measured route and fall; the same drop is steep over a short run and shallow over a long run.
What to verify on site: measure both ends from the inside bottom of the pipe.

Drawing calls for 1% grade
Use Find fall from a slope when a drawing gives a percentage, ratio, angle, or inches per foot rather than a total drop. With Geometry only / no code check selected, a 30-foot route at 1% needs 3.6 inches of fall from start to finish.
Select a code basis separately when you need to compare that stated grade with a project minimum.
What to verify on site: match the stated grade to the full horizontal route.

Only 12 inches of drop available
Use Maximum run when the height of the connection limits the layout. With the selected 2024 IPC 3-inch basis of ⅛ in/ft, 12 inches of fall supports a maximum 96-foot horizontal run.
Replace the example values with the available drop and drain size already established by the capacity check. If the result is shorter than the route you need, change the layout or connection plan before installing the pipe.
What to verify on site: compare the available drop with the full planned route before drilling.
Model-code criteria
Drain Slope Requirements Used
| Basis | Pipe size | Minimum slope used | Condition |
|---|---|---|---|
| 2024 IPC Table 704.1 | 2½ in or less | ¼ in/ft | Upstream of a grease interceptor can require this minimum. |
| 2024 IPC Table 704.1 | 3–6 in | ⅛ in/ft | Standard selected minimum. |
| 2024 IPC Table 704.1 | 8 in or larger | ¹⁄₁₆ in/ft | Standard selected minimum. |
| 2024 UPC §708.1 | All sizes | ¼ in/ft | A 4-inch-or-larger line may use ⅛ in/ft only with authority approval. |
| Custom / geometry | Your choice | Your entered value | Custom compares with your value; geometry converts without a model-code comparison. |
Quick code and grade check: IPC and UPC can use different minimums for the same pipe size, so select the basis adopted for the project. A 1% grade is 0.12 in/ft, not 1 in/ft.
Quick reference
Common Drain Slopes
| Common slope | Percent grade | Ratio | Angle | Metric |
|---|---|---|---|---|
| ¼ in/ft | 2.0833% | 1:48 | 1.1935° | 20.833 mm/m |
| ⅛ in/ft | 1.0417% | 1:96 | 0.5968° | 10.417 mm/m |
| ¹⁄₁₆ in/ft | 0.5208% | 1:192 | 0.2984° | 5.208 mm/m |
Technical details: slope formulas
S = fall ÷ run, fall = slope × run, and maximum run = available fall ÷ minimum slope. Use consistent units.
Official model-code sources
References & Limits
- International Code Council - 2024 IPC Chapter 7
- IAPMO - 2024 Uniform Plumbing Code
- Local adoption, amendments, engineered-design provisions, inspection practice and product requirements can change what is acceptable. Confirm the governing rule with the authority having jurisdiction.
Quick answers
Drain Pipe Slope FAQs
How much fall do I need over 10, 20, or 30 feet?
Multiply the horizontal run by the slope you are using. At ⅛ in/ft, a 10-foot run needs 1.25 inches of fall, 20 feet needs 2.5 inches, and 30 feet needs 3.75 inches. Use the calculator for the code basis and pipe size that apply to your project.
Should I measure along the pipe or across the floor plan?
Measure horizontal developed run: the plan-path distance from one end of the run to the other. Do not use the longer distance along the sloping pipe.
What if I do not have enough fall?
Use Maximum run to check how much horizontal distance the available drop can support. If the available drop cannot cover the route, move the connection point, shorten the run, or confirm an approved alternative before installing the pipe.
Can I make the drain steeper to solve the problem?
Do not steepen a run only to reach a connection. Keep the route continuous and confirm the adopted project requirements before changing the grade.
Can I use this for a sewer or building drain?
This calculator checks fall and slope against the basis you select. It does not determine pipe capacity, materials, fittings, venting, or every requirement for a sewer or building-drain installation. If you need to establish sanitary drainage load before final design, use the Plumbing Fixture Calculator.