ft
ft

How to Use the Slope Calculator

1
Choose a calculation mode

Use Rise / Run when both dimensions are known, Grade % when a target percentage is specified, or Angle when working from degrees.

2
Enter the two known values

Keep rise and run in the same unit. The unit selector only changes labels; the ratio, grade and angle are unit-independent.

3
Read the four slope forms

The tool reports the decimal slope, grade percentage, angle in degrees and the simplified rise:run ratio.

4
Copy or share the result

Copy the formatted result for a quote or spreadsheet, then share the URL to reproduce the same inputs.

Formula & Calculation Logic

Slope (m) = Rise ÷ Run Grade % = m × 100 Angle (degrees) = arctan(m) × 180 ÷ π Rise = Grade decimal × Run Run = Rise ÷ Grade decimal

Slope is the ratio of vertical change to horizontal change. A slope of 0.25 means the surface rises one quarter of its horizontal length. Multiplying by 100 gives a 25% grade, while the inverse tangent of the slope gives the angle in degrees. Slope ratios such as 1:4 describe one unit of rise for four units of run; because both are ratios, the chosen length unit cancels out.

Worked Example

Drainage Slope Over a 12-Foot Run

A patio needs to fall 3 feet over a 12-foot run away from a foundation. The slope is 3 ÷ 12 = 0.25, which is a 25% grade. arctan(0.25) gives an angle of about 14.04 degrees, and the ratio simplifies to 1:4. For every 100 feet of run the surface changes 25 feet, which is far steeper than a typical drainage pitch — always confirm the specified grade for your project.

Common Slope Reference

These standard slopes are useful checks for drainage, accessible routes and roof pitch. Local codes and engineering specifications always take precedence.

Approximate slope equivalents
Slope ratioGradeAngleTypical use
1:502.00%1.15°Minimal drainage fall
1:205.00%2.86°Surface drainage and thresholds
1:128.33%4.76°Common maximum ramp running slope
1:425.00%14.04°Steep site grading
1:1100.00%45.00°Equal rise and run

Visual Explanation Diagram

Right triangle showing rise, run, grade percentage and slope angle

The same slope can be expressed as rise:run, a percentage or an angle in degrees.

Frequently Asked Questions

Divide the vertical rise by the horizontal run. For a 3-foot rise over a 12-foot run, slope = 3 ÷ 12 = 0.25. Multiply by 100 to express it as a 25% grade.

A 1:12 slope rises one unit for every twelve units of horizontal run. It equals 8.33% grade or about 4.76 degrees and is a common maximum running slope for accessible ramps.

Divide the percentage by 100 to get the decimal slope, then take the inverse tangent: angle = arctan(slope) × 180 ÷ π. A 25% grade is arctan(0.25), or about 14.04 degrees.

They describe the same relationship in different formats. Slope is usually a decimal or ratio such as 0.25 or 1:4, while grade expresses that same value as a percentage, 25%.

A 2% slope falls 0.02 feet per foot of run, which is 0.24 inches per foot or about 2.4 inches over 10 feet.

Verified Mathematical Logic & Formulas
Last updated: 2026-11-21 • Client-side computation (no data transmitted)