Slope Per Foot Calculator

Slope Per Foot Calculator uses Sft = Rin / Dft to convert total rise and run into inches per horizontal foot. It returns percent grade, angle, 1:X ratio, 1/16 inch fraction, and exact surface lengths.

in/ft
ft
in
Total Fall / Drop
5.00 in
The total vertical height differential over the specified horizontal run.
Slope Percentage & Angle
2.08%
Slope Angle 1.19°
Angle Radians 0.021 rad
The physical grade expressed as an aggregate percentage and geometric angle.
Ratio & Gradients
1 : 48.0
Fall per 10 ft 2.50 in
Fall per 100 ft 25.00 in
Standard gradient breakdowns for continuous sloping layouts.
Distance Breakdown
20.004 ft
Added Length 0.004 ft
Sloped Length 240.048 in
Comparison between the horizontal layout footprint and the true hypotenuse material length.
Alternate Conversions
127.00 mm
Alt Run 6.10 m
Alt Rate 20.83 mm/m
Equivalent slope dimensions expressed in the alternate measurement system.
Plumbing & Drainage Note
For horizontal drainage piping, many IPC-style tables use 1/4 in per ft for 2-1/2 in and smaller pipe, 1/8 in per ft for 3 in to 6 in pipe, and 1/16 in per ft for 8 in and larger pipe. Always check the local adopted code.

Three Numbers, One Unknown

Drainage slope always comes down to three values: the pitch rate, the horizontal run, and the total vertical drop. Know any two and the third is determined. The Calculation Target dropdown is what separates this from a basic slope multiplier — set it to whichever value you need to find, enter the two you already know, and the calculator solves from there.

That three-way flexibility matters in practice. You don’t always start from the pitch. Sometimes you’re handed a fixed clearance — a joist pocket, a slab penetration at a set elevation — and you need to work backward to find the minimum slope rate the run allows, or the maximum run a given drop can support. Each mode rearranges the same underlying formula; no separate calculator needed.

How the Formula Works

The core relationship is Drop = Rate × Run. In US mode, rate is expressed in inches per foot (in/ft), run is in feet, and the resulting drop is in inches. The units cancel algebraically — (in/ft) × ft = in — which is why 0.25 in/ft over a 20-foot run produces exactly 5 inches of drop without any conversion step.

Beyond the primary solved value, the calculator derives several outputs that rarely get computed by hand:

  • Slope percentage converts the rate to a dimensionless grade using (rate ÷ 12) × 100 in US mode. The ÷12 step normalizes inches-per-foot into feet-per-foot first. A 1/4 in/ft pitch equals 2.08% — a number that surprises most people who expected something closer to 25.
  • Slope angle uses arctangent: atan(rate ÷ 12), then converts to degrees. At typical drain slopes, this is well under two degrees — essentially impossible to judge visually or with a simple level.
  • 1:X ratio is computed as 12 ÷ rate in US mode. A 1/4 in/ft pitch produces a 1:48 ratio — one unit of drop for every 48 units of horizontal travel.
  • Actual slope length (hypotenuse) is the true material dimension: sqrt((run × 12)² + drop²) ÷ 12, expressed in feet. The difference from horizontal run is negligible on short runs but relevant when ordering pipe for long site utility runs where you’re counting sticks.
  • Alternate conversions in Card 4 always display the opposite unit system’s equivalent values, so you can hand off US inputs to a metric spec sheet without running a second calculation.

Metric mode scales the same relationships by 1,000 instead of 12, since the rate is mm/m. All four output cards update accordingly.

The Unit Trap in US Mode

Run and drop don’t share the same unit in US mode — and that’s intentional. The slope rate is inches per foot, run is in feet, and drop comes out in inches. This mirrors how the trades actually speak (“quarter-inch per foot pitch”), but it reliably causes one specific mistake when people try to verify the math manually: converting the run to inches before multiplying.

If you have a 0.25 in/ft slope over a 20-foot run and multiply 0.25 × 240 inches, you get 60. The correct answer is 5 inches. The calculator handles the unit arithmetic properly — it multiplies rate (in/ft) × run (ft) to get drop (in). If you’re cross-checking by hand, keep the run in feet and the result lands in inches without any conversion.

Worked Example: Does the Drop Fit the Framing?

A plumber is roughing in a half-bath on a wood-frame floor. The toilet flange is 26 feet from the main stack, and the floor joist cavity allows a maximum of about 3.75 inches of drop before the pipe would need to bore through a joist. The drain is a 3-inch line. At the IPC minimum pitch for 3-inch pipe — 1/8 in/ft — will the total drop stay within the clearance?

Setting the target to Total Fall / Drop, entering 0.125 in/ft and 26 ft gives a drop of 3.25 inches — just inside the 3.75-inch limit. The output also confirms the slope is 1.04%, the ratio is 1:96, and the actual pipe length is only about 0.003 ft longer than the run. No material adjustment needed. Card 4 shows the metric equivalent at 10.42 mm/m for the project’s dual-unit submittal.

Had the run been 32 feet, the same 1/8 in/ft pitch would require 4.0 inches of drop — over the limit — immediately flagging the need to either relocate the stack, increase joist depth, or redesign the drain routing before anything gets roughed in.

When the Hypotenuse Length Actually Matters

For most residential drain runs, the difference between horizontal run and actual slope length is a rounding error. At 1/4 in/ft over 20 feet, the hypotenuse adds roughly 0.05 inches. Not a conversation worth having on a house.

The calculation earns its place on long site utility runs. A 400-foot sewer lateral at 1/8 in/ft drops 50 inches — and the true pipe length comes out to about 400.026 feet. Still small. But push that to a 600-foot run at 1/2 in/ft, and the slope length grows to roughly 600.26 feet — almost a third of a stick of pipe beyond the layout dimension. On large commercial bids where pipe is priced and ordered by the foot, the Distance Breakdown card gives you the exact sloped length to work from.

Frequently Asked Questions

Why does switching between US and metric reset my input values?

A value of 20 means completely different things in in/ft versus mm/m — a 20 in/ft slope would be close to 167% grade, steep enough to drain a parking structure. Carrying the raw number across unit systems silently would produce wildly wrong results. When you switch, the calculator resets to sensible defaults for each system. Before switching, note the converted equivalents shown in Card 4 — those are the values to re-enter in the other mode.

What does the calculator do if I enter zero or leave a required field blank?

Any active input field that is zero, negative, or empty causes all result fields to clear and triggers a validation warning. Zero slope rate is mathematically undefined for a drain (it describes a perfectly flat pipe) and zero run or drop produces a degenerate triangle. The calculator requires positive values in all active fields before computing.

My slope percentage looks much lower than I expected — is something wrong?

Almost certainly not. The US percentage formula divides by 12 before multiplying by 100, because the rate is in inches-per-foot rather than feet-per-foot. A 1/4 in/ft pitch is only 2.08% grade. People often mistake the raw in/ft rate for a percentage directly — assuming 0.25 in/ft means 25% slope. It doesn’t. A 25% slope would be the grade of an extremely steep road. Typical drainage pitches fall between 1% and 4%.

The “Added Length” in Card 3 shows almost nothing. Why include it?

Because at low drain slopes, the hypotenuse is nearly identical to the horizontal run — geometrically expected when the angle is under two degrees. The output becomes useful at steeper pitches and on long runs where material quantities are tight. It’s also required input for calculating accurate pipe quantities on sloped site utility drawings, where the plan-view dimension differs from the pipe-in-trench dimension.

Code Minimums This Tool References

The advisory note that appears with every calculation reflects gradient minimums from the International Plumbing Code (IPC) horizontal drainage pipe table: 1/4 in/ft for pipe 2-1/2 inches and smaller, 1/8 in/ft for pipe 3 through 6 inches, and 1/16 in/ft for pipe 8 inches and larger. These are IPC-based figures.

Many jurisdictions have adopted the IPC, but some use the Uniform Plumbing Code (UPC) or a state-amended version that may carry different minimum slopes or pipe-size breakpoints. Verify against the locally adopted code edition before designing to these numbers on a permitted project.