01

A gradient is a tangent

Slope is usually described three ways, and all three are the same number wearing different clothes. The gradient is the ratio rise over run. The angle is the arctangent of that ratio. The percentage grade is the ratio multiplied by 100.

Three forms of the same slopegradient m = rise / run = tan θ
θ = arctan(m)
grade % = m × 100

The inverse step — going from rise and run to an angle — is the one that matters, because codes, design standards and measuring instruments are all written in degrees while the raw data you have is lengths.

02

Worked example: a 1-in-12 roof

A roof pitched 1 unit up for every 12 units across has a gradient of 1/12 = 0.08333. The arctangent of that is 4.7636°, and the grade is 8.33%. All three describe the same roof.

The same slope in three notations
NotationValueHow it is used
Rise : run1 : 12Carpentry and roofing
Gradient0.083333Algebra and calculus
Grade8.3333%Civil engineering and road signs
Angle4.7636°Setting a saw or a mitre gauge

The tool also reports the slope length, which is the hypotenuse √(rise² + run²). For the example that is 12.0416 — the actual length of rafter you would need to buy, as opposed to the 12 units of horizontal run.

03

Angle, gradient and grade are not interchangeable

The most common error is treating a percentage grade as an angle. A 100% grade is not 100°, it is 45° — the point where rise equals run. The relationship is nonlinear, and the gap widens quickly at steep slopes.

How the three notations diverge
GradeGradientAngleTypical use
1%0.010.57°Drainage fall
5%0.052.86°Road, gentle
8.33%0.08334.76°1:12 roof, ADA ramp
25%0.2514.04°Steep driveway
50%0.5026.57°Very steep road
100%1.0045.00°Equal rise and run

Small angles are nearly linear — steep ones are not. Below about 5° a grade percentage is roughly 1.75 times the angle in degrees, close enough for eyeballing. At 45° the ratio has fallen to 1.11, and above that it approaches 1. Never extrapolate the shortcut.

04

Codes and practical limits

  • Accessible ramps — the widely adopted limit is 1:12, which is 8.33% or 4.76°. Steeper ramps require landings and handrails, and many jurisdictions cap the rise of a single run at 30 inches.
  • Road grades — interstate highways rarely exceed 6%, and mountain passes top out around 7–8%. A 10% grade is steep enough to be signed and to slow heavy vehicles.
  • Roof pitches — below 4:12 (18.4°) most shingle manufacturers require a double underlayment, because water moves too slowly to shed reliably.
  • Drainage — pipes need a minimum fall, typically 1–2% for sanitary lines, to keep solids moving.
  • Wheelchair stability — cross-slope is capped at about 2% because a higher value pulls the chair sideways.

All of these are expressed differently in different documents. Being able to convert between the three notations quickly is what makes a specification readable.

05

Entering any two values

The calculator accepts rise and run, rise and angle, or run and angle — whichever two you have. Leave the third field empty and it is computed. If you fill in all three, rise and run take precedence, since those are the measured quantities.

A run of zero is rejected. A vertical face has an undefined gradient and an angle of exactly 90°, and no finite slope describes it. Similarly, an angle of 90° or beyond cannot be produced by a finite rise and run.

?

Frequently asked questions

What angle is a 1:12 slope?

4.7636°. The gradient is 1/12 = 0.08333 and the arctangent of that is 4.7636°, which is also an 8.33% grade.

Is a 100% grade the same as 90 degrees?

No. A 100% grade means rise equals run, which is 45°. A 90° slope is vertical and has an infinite grade, since the run is zero.

How do I convert a grade percentage to degrees?

Divide by 100 to get the gradient, then take the arctangent. A 6% grade is 0.06, and arctan(0.06) = 3.4336°.

What is the difference between slope length and run?

The run is the horizontal distance, the rise is the vertical distance, and the slope length is the hypotenuse between them. Material quantities such as rafter length follow the slope length, not the run.

Why does the tool reject a run of zero?

Because a vertical face has no finite gradient — the ratio is infinite and the angle is exactly 90°. Reporting a number there would be misleading.

Can a gradient be negative?

Yes. A negative rise means the slope descends, giving a negative angle and a negative grade. The magnitude is the steepness; the sign is the direction.