Construction Calculator

Pipe Slope Calculator

Work out drainage fall per foot, percent and ratio — and check it against the code minimum for your pipe size.

slope = fall ÷ run  (inches per foot)
Minimum fall depends on pipe diameter: ¼″/ft for 2½″ and smaller, ⅛″/ft for 3″–6″, 1/16″/ft for 8″ and up
Written by The Editorial Team · Math & Construction WritersHow we check our math · About our team

Measured level, from one invert to the other.

The difference in invert height between the two ends.

Sets which code minimum your slope is checked against.

Results appear when you press the button. Everything runs in your browser — nothing you type is sent to us.

Your result
Ready when you are

Enter the run and the fall, pick your pipe size, then press Check the slope.

What pipe slope means

A drain line has no pump behind it. It moves waste with gravity alone, so it has to fall steadily along its run — enough for the water to carry solids, gently enough that the two travel together.

Plumbers state that fall in inches per foot of horizontal run. A quarter inch per foot is the figure most people know, and for small pipe it is right — but it is not the answer for every size.

A drainage pipe falling over its run, with flow direction markedfallrun (length)minimum fall = ¼″ per foot (about 2%)too flat and solids settle · too steep and water outruns them
Drain lines need enough fall to carry solids along, but not so much that the water runs away and leaves them behind.

Minimum slope by pipe diameter

Larger pipes need less slope, not more. A bigger bore carries a deeper, faster stream at the same fall, so the code relaxes the requirement as diameter grows.

Pipe diameterMinimum slopePercentFall over 20 ft
2½″ and smaller¼″ per foot2.08%5″
3″ to 6″⅛″ per foot1.04%2½″
8″ and larger1/16″ per foot0.52%1¼″

These are the minimums in the International Plumbing Code, table 704.1. Many jurisdictions amend them, and the Uniform Plumbing Code differs on some sizes, so confirm against the code your inspector actually enforces before you dig.

Plenty of plumbers run ¼″ per foot on 3″ and 4″ lines anyway where the depth allows it. That is a choice, not a requirement — and on a long run the extra depth at the far end adds up fast.

Worked example

A 4-inch waste line runs 20 feet with 5 inches of fall.

fall per foot = 5 ÷ 20 = 0.25″/ft (a quarter inch)
percent = (5 ÷ 240) × 100 = 2.08%
ratio = 1 : 48

The code minimum for 4″ pipe is ⅛″/ft, or 2½″ over this run — so at 5″ this line has double the minimum fall. Comfortably compliant, and still under the ½″/ft point where scouring becomes a concern.

Can a drain be too steep?

Yes, and it is a real failure mode rather than a myth. Past roughly ½″ per foot the water accelerates away from the solids it is supposed to carry, leaving them stranded in the pipe to build up into a blockage.

The exception is a genuinely vertical drop. A stack falls straight down, the flow clings to the pipe wall, and solids come with it. The problem case is the in-between: a long line pitched steeply but not vertically.

If your depth forces a big drop, the usual fix is to keep the horizontal run at a normal pitch and take the height out in a vertical section, rather than steepening the whole line.

Setting the fall on site

  1. Work out the total fall first: run in feet × the fall per foot you want. Twenty feet at ¼″/ft is 5 inches.
  2. Check it fits. Compare the required invert depth at the far end against your connection point. A long run at a steep pitch can end up below the sewer main.
  3. Use a string line pulled level between batter boards, then measure down to each invert.
  4. Bed the pipe continuously. Support along its whole length; a pipe that sags between bricks creates a belly that holds water no matter how good the average slope is.
  5. Check as you go, not at the end. A consistent pitch matters more than a correct average.
Working the same numbers in percent or degrees? The percent grade calculator converts between all three notations.
Frequently asked questions
What slope should a drain pipe have?

It depends on the diameter. The International Plumbing Code sets 1/4 inch per foot for pipe 2.5 inches and smaller, 1/8 inch per foot for 3 to 6 inch pipe, and 1/16 inch per foot for 8 inch and larger.

How much fall does a 4 inch drain pipe need?

The IPC minimum for 4 inch pipe is 1/8 inch per foot, which is 2.5 inches over a 20 foot run. Many plumbers use 1/4 inch per foot where the depth allows it.

Can a drain pipe be too steep?

Yes. Above roughly 1/2 inch per foot the water can outrun the solids and leave them behind in the pipe, which causes blockages. A truly vertical drop is fine - the problem is a long line pitched steeply but not vertically.

Is 1/4 inch per foot the same as 2 percent?

Close. A quarter inch of fall over twelve inches of run is 0.25/12 = 2.08%.

How do I calculate total fall for a pipe run?

Multiply the run in feet by the fall per foot. A 30 foot run at 1/4 inch per foot needs 7.5 inches of total fall.

What causes a belly in a drain line?

A section that sags below the intended grade, usually from inadequate bedding or settlement. Water pools there regardless of the average slope, so continuous support along the whole pipe matters more than the endpoint measurements.

References
These results are estimates for study and planning. Building codes, ADA requirements and local drainage rules vary — confirm any construction figure with your local building department, the current code edition and a licensed professional before you build.