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.
The Slope Per Foot Calculator determines the exact vertical displacement in inches for every horizontal foot of travel, allowing builders to establish correct drainage gradients, ADA-compliant ramps, and structural roof pitches.
Defining the Slope Per Foot Calculator Math
To determine the gradient standard used in US construction, the engine normalizes vertical elevation changes against standardized 12-inch horizontal segments.
Required Inputs
- Total vertical rise (measured in inches or feet)
- Total horizontal run (measured in inches or feet)
Calculated Outputs
- Base slope per foot (represented as a decimal and a 1/16th rounded fraction)
- Total grade percentage
- Surface hypotenuse length (total physical material required in feet)
- Slope angle (degrees and radians)
- Rise-to-Run ratio format (1:X)
Core Equations
The primary determination standardizes the units to output inches of drop per foot of travel: $$S_{ft}=\frac{R_{in}}{D_{ft}}$$
Where $S_{ft}$ is the slope per foot, $R_{in}$ is the total rise standardized to inches, and $D_{ft}$ is the total run standardized to feet.
To calculate the structural grade as a percentage, the units must be strictly identical: $$G_{\%}=\left(\frac{R_{in}}{D_{ft}\times 12}\right)\times 100$$
To determine the actual physical length of the sloped surface (the hypotenuse), the engine standardizes all units back to feet: $$L_{ft}=\sqrt{D_{ft}^2+\left(\frac{R_{in}}{12}\right)^2}$$
Computing a Drainage Pipe Pitch
When installing a PVC waste line, you have a total horizontal run of 24 feet, and the pipe drops a total of 6 inches vertically.
- Standardize the inputs for the primary equation: $R_{in}=6$ and $D_{ft}=24$.
- Calculate the base slope per foot: $$S_{ft}=\frac{6}{24}=0.25$$
- Convert the decimal output to a standard construction fraction. A $0.25$ result is exactly $1/4$”. The physical drop is $1/4$” / ft.
- Calculate the percentage grade: $$G_{\%}=\left(\frac{6}{24\times 12}\right)\times 100=2.08\%$$
- Calculate the angle in degrees: $$\theta=\arctan\left(\frac{6/12}{24}\right)\times\left(\frac{180}{\pi}\right)=1.19^{\circ}$$
Structural Thresholds and Limitations
The calculator evaluates the resulting $S_{ft}$ against standard code limits to provide localized context for the pitch.
- Level ($S_{ft}=0$): Zero vertical change over the defined run.
- Standard Drainage Pitch ($S_{ft}\le 0.25$): Between 1/8″ and 1/4″ per foot drop. Standard for wastewater pipes and flat roofing.
- Manageable Incline ($S_{ft}\le 1.0$): A 1″ rise per 1′ run equates exactly to an 8.33% grade, the maximum allowable slope for an ADA-compliant wheelchair ramp.
- Steep Structural Pitch ($S_{ft}\le 4.0$): Standard residential roof pitches (e.g., 4/12). Too steep for standard unstepped walkways.
Algorithmic Limits
- The horizontal run input must be greater than zero. A zero-run input attempts division by zero, triggering an undefined infinite vertical line.
- The script assumes a continuous, linear grade. It does not account for terrain undulations or pipe sagging.
- Fractional inch outputs are dynamically rounded to the nearest 1/16th of an inch using standard floor algorithms.
Technical Pitch FAQs
Why does a 1 inch per foot slope not equal a 10% grade?
Grade percentage requires evaluating identical units. Because one horizontal foot contains 12 inches, a 1-inch rise over a 1-foot run is a ratio of 1:12. Evaluating $$(1/12)\times 100$$ results in an $8.33\%$ grade.
How does the calculator handle decimal fractions that fall between standard tape measure markings?
The JavaScript engine forces all fractional output into a base-16 denominator. If a calculation results in $0.333$ inches of slope per foot, it evaluates the fraction as $$0.333\times 16=5.328$$. This is rounded to $5$, outputting 5/16″. If the remainder evaluates to exactly $16/16$, it adds $1$ to the whole number.
How is the surface length generated from standard rise and run variables?
The surface length is the physical hypotenuse of the right triangle created by the rise and run. The tool standardizes the vertical rise from inches into feet ($R_{ft}=R_{in}/12$), then applies the Pythagorean theorem
$$L_{ft}=\sqrt{D_{ft}^2+R_{ft}^2}$$ to output the precise material length required for the sloped face.
Reference Information
- ADA Standards for Accessible Design, Section 405.2 — Slope: Ramp runs shall have a running slope not steeper than 1:12.
- Plumbing Code Section 704.1 — Slope of Horizontal Drainage Piping: Horizontal drainage pipe minimum slope varies by pipe diameter, including 1/4 in./ft, 1/8 in./ft, and 1/16 in./ft depending on pipe size.