Home › Calculators › Pipe Slope Calculator

Pipe Slope Calculator

Work out the fall of a drain or sewer pipe. Enter the run length and a slope such as 1/4 in per foot to get the total drop, or enter the drop and length to find the slope, and check it against minimum drain, waste and vent (DWV) slopes for the pipe size.

Last updated:

Solve for

Drain, waste and vent (DWV) horizontal drain size.

Invert height at the upper end, in the drop unit. Gives the height at the lower end.

Enter your values to see the result.
Advertisement
Advertisement

How to use the Pipe Slope Calculator

  1. Choose what to solve for: total drop, slope or run length.
  2. Enter the known values: the run length and the slope, or the measured drop.
  3. Pick the pipe size to check it against the minimum code slope.
  4. Read the drop in decimals and fractions, plus the slope in %, mm/m and degrees.
  5. Use the layout table to mark hangers or a string line along the run.

Pipe slope formulas

  • Total drop = run length (ft) × slope (in per ft)
  • Slope = total drop (in) ÷ run length (ft)
  • Run length = total drop ÷ slope
  • Percent grade = slope (in/ft) ÷ 12 × 100; mm per m = grade × 10; angle = atan(grade ÷ 100)

Example: a 3 in drain running 28 ft at 1/8 in per foot drops 28 × 0.125 = 3.5 in. At 1/4 in per foot it would drop 7 in, which may not fit within a floor or crawlspace.

Minimum slope for horizontal drainage pipe

Pipe sizeMinimum slope (IPC)GradeDrop per 10 ft
2½ in or smaller1/4 in per ft2.08%2½ in
3 in to 6 in1/8 in per ft1.04%1¼ in
8 in or larger1/16 in per ft0.52%⅝ in

Common slope conversions

in per ftPercentmm per mDegreesRatio
1/160.52%5.20.30°1 in 192
1/81.04%10.40.60°1 in 96
3/161.56%15.60.90°1 in 64
1/42.08%20.81.19°1 in 48
1/24.17%41.72.39°1 in 24

Tip: set the high end first, then measure down from a level string line at each hanger using the layout marks. Check local code before installing, since some jurisdictions use the Uniform Plumbing Code or their own amendments.

Frequently asked questions

What is the minimum slope for a drain pipe?

Under the International Plumbing Code, horizontal drains 2½ in and smaller need at least 1/4 in per foot (2.08%), 3 to 6 in drains need at least 1/8 in per foot (1.04%), and drains 8 in and larger need at least 1/16 in per foot. Many plumbers use 1/4 in per foot wherever space allows.

How much drop is 1/4 inch per foot over 10 feet?

Multiply the run by the slope: 10 ft × 1/4 in = 2.5 in of drop. At 1/8 in per foot the same 10 ft run drops 1.25 in, and over 20 ft it drops 2.5 in.

How do I convert 1/4 inch per foot to a percent?

Divide the drop per foot by 12 inches and multiply by 100: 0.25 ÷ 12 × 100 = 2.08%. 1/8 in per foot is 1.04% and 1/2 in per foot is 4.17%.

Can a drain pipe have too much slope?

Codes set minimums, not a firm maximum for most horizontal drains, and a pipe sloped 45° or more counts as vertical. Very steep horizontal runs can let water outrun solids, so long runs are usually kept between 1/8 and 1/2 in per foot, using 45° fittings for larger changes in height.

How do I measure the slope of an existing pipe?

Measure the height of the pipe (or its bottom, the invert) at two points and the horizontal distance between them. Slope = difference in height ÷ distance. A 4 ft level with a shim also works: a 1 in shim under one end of a 4 ft level that reads level means 1/4 in per foot.

Does a sewer line need the same slope as indoor drains?

The building sewer follows the same pipe-size minimums, so a 4 in sewer usually needs at least 1/8 in per foot and 1/4 in per foot is common. Long sewer runs to a septic tank or main are often designed close to the minimum to keep the outlet from getting too deep.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Slope ConverterConvert slope between degrees, percent grade, 1:n ratio, roof pitch and radians.Slope CalculatorSlope, angle, line equation y = mx + b and distance from two points, with a graph.Pipe Flow Rate CalculatorFlow rate from pipe diameter and velocity (GPM, L/s, m³/h), velocity from flow, or pipe size.Septic Tank Size CalculatorRecommended septic tank gallons and drain field size from bedrooms and occupants.Age CalculatorFind your exact age and next birthday countdown.Teaching ClockInteractive analog clock with draggable hands, time in words and a telling-time quiz.Credit Utilization CalculatorCalculate per-card and overall credit utilization and how much to pay to reach 30% or 10%.Carbon Footprint CalculatorEstimate your yearly CO2e from driving, flights, electricity, gas and diet in tonnes.Online CalculatorFree basic and scientific calculator with keyboard support, memory keys and a history tape.Screen Time CalculatorSee your daily screen time per year and over your lifetime, and what else you could do.Book Reading Time CalculatorHow long a book takes to read from its pages or words and your reading speed.Pages per Day CalculatorHow many pages to read each day to finish a book by your date, with a reading schedule.Fabric Yardage CalculatorHow many yards or meters of fabric to buy for your pieces, width, seams and pattern repeat.Print Size CalculatorPrint size from pixels and DPI, max print size by megapixels, and pixels needed for any print.Candle Wax CalculatorWax and fragrance oil weights for a batch of candles from jar volume or size, plus a wick hint.Guitar Fret Position CalculatorDistance from the nut and between frets for any scale length (12-TET), with CSV export.Knitting Gauge CalculatorTurn a swatch into gauge, stitches to cast on for any width and a resized pattern count.Mouse Sensitivity Calculatorcm/360, inches/360 and eDPI from DPI and sensitivity, and convert sens between games.Prorated Rent CalculatorProrated rent for a move-in or move-out date, by days in month, 365-day year or 30-day month.Rent Increase CalculatorNew rent and % increase, check against a rent cap, and project rent over the coming years.Song Length CalculatorSong duration from BPM, time signature and bars, or the bars needed for a target length.Time Lapse CalculatorShots, clip length and storage for a time lapse, or the interval you need for a target clip.Feet and Inches CalculatorAdd, subtract, multiply and divide feet-inch-fraction lengths with tape-measure results.Group Expense SplitterTrack shared group expenses in any currency and see who owes whom with the fewest payments.Tablecloth Size CalculatorFind the tablecloth size for any round, rectangle, square or oval table and drop length.Bead CalculatorHow many beads and spacers you need for a bracelet or necklace, with pattern repeats.Blanket Size CalculatorBlanket dimensions by type, stitches to cast on or chain from your gauge, and a yarn estimate.Bleach Dilution CalculatorHow much bleach per gallon or quart of water for a sanitizing or disinfecting ppm or ratio.Cross Stitch Fabric CalculatorFinished cross stitch design size and fabric cut size from stitch count and Aida count.Fabric Shrinkage CalculatorFind fabric shrinkage % from a test wash or fiber type and how much extra fabric to buy.Food Storage Time GuideHow long food keeps in the fridge, freezer and pantry, with use-by dates and leftover tips.Granny Square Blanket CalculatorHow many granny squares a blanket needs (rows × columns), with joins, border and yarn.Half Square Triangle CalculatorCut square size, number of squares and fabric yardage for HSTs: 2, 4 or 8 at a time.Halfway Point CalculatorFind the halfway point between two or more addresses on a map, with the nearest city and distances.Herbicide Mix CalculatorProduct per tank, tank fills and total herbicide from the label rate, tank size and area.Knitting Increase and Decrease CalculatorEvenly spaced increase or decrease instructions like K5, M1 for flat or round knitting.Laundry Symbols DecoderLook up any care label symbol (wash, bleach, dry, iron, dry clean) and get plain-English tips.Macrame Cord Length CalculatorHow long to cut each macrame cord, folded or unfolded, and how much cord in total.Walking Time CalculatorHow long it takes to walk a distance or number of steps, or how far you walk in a given time.Yarn Substitution CalculatorHow many skeins of a different yarn to buy for a pattern, with a weight compatibility check.Paracord CalculatorHow much paracord a bracelet needs for your wrist and knot, plus the right buckle size.Picture Frame Mat CalculatorFind the mat opening and border widths for any frame, with bottom weighting and a cut diagram.Quilt Backing CalculatorBacking yardage, panels to cut and seam direction for 42 in or 108 in wide fabric.Quilt Binding CalculatorTotal binding length, number of strips to cut and fabric yardage for any quilt size.Range Hood CFM CalculatorRecommended range hood CFM from stove type, BTUs, width, mounting and duct run.
See all 42 Everyday Calculators →