What is a slope percentage calculator?
A slope percentage calculator turns a vertical rise and a horizontal run into a single, easy-to-read measure of steepness called the grade. Where a plain slope is the bare ratio of rise to run, the grade expresses that same ratio as a percentage, so a slope that climbs one metre for every twenty metres travelled forward is simply a “5% grade”.
The grade is the language of the built environment. Road signs, wheelchair-ramp codes, railway gradients, and hiking-trail descriptions almost always quote steepness as a percentage rather than as a decimal or an angle. This calculator takes the rise and the run you enter — in whatever length units you like — and reports three equivalent views of the same incline: the percentage, the angle in degrees, and the ratio.
Key terms
- Rise — the vertical change, how far up (or down) the line goes. A negative rise describes a downhill slope.
- Run — the horizontal change, how far forward the line travels.
- Grade — the slope written as a percentage of the run.
- Angle — the inclination measured from the horizontal, in degrees.
- Ratio — the slope written as “1 in ”, the form often stamped on older road and rail signs.
How does the calculator work?
The grade is the rise divided by the run, scaled by one hundred:
The angle that the slope makes with the horizontal comes from the inverse tangent of the same ratio:
And the ratio is the reciprocal of the slope, written as one unit of rise per units of run:
Enter the rise and the run and the calculator returns all three results at once. Because the grade and the angle depend only on the ratio of rise to run, they are dimensionless — you can mix units (rise in metres, run in feet) and the calculator converts both to a common unit before dividing. If the run is zero the line is vertical, the slope is undefined, and the results are left blank, since dividing by zero has no meaningful value.
What the numbers tell you
- A 0% grade is perfectly flat; the angle is .
- A 100% grade rises as fast as it runs; the angle is exactly .
- A grade above 100% is steeper than — a 173.2% grade corresponds to a angle.
- A negative grade means the line descends; the angle is negative.
Worked examples
Example 1: a 3-in-4 slope
For a rise of and a run of :
The ratio is — one unit up for every one-and-a-third units forward.
Example 2: a gentle 5% road grade
For a rise of over a run of :
A 5% grade is less than three degrees above the horizontal — gentle enough for a comfortable road or a code-compliant ramp. The ratio is .
Example 3: a 100% grade is 45 degrees
For an equal rise and run of each:
When the rise equals the run the incline is exactly , regardless of the actual lengths involved. The ratio is .
Example 4: a downhill slope
For a rise of over a run of :
The negative sign marks a descent: the line drops three units for every four it moves forward.
Practical uses
- Roads and driveways — highway authorities post grades as percentages, and most jurisdictions cap residential driveways and accessible routes at a maximum grade.
- Wheelchair ramps — accessibility codes are written in grade or ratio terms, for example a maximum of an 8.33% grade (a ratio).
- Railways — gradients are quoted as a percentage or as “1 in ”; even a few percent is steep for a train.
- Roofs — roofers usually describe pitch as a rise per 12 units of run, which converts directly into a grade and an angle.
- Hiking and cycling — trail and climb difficulty is often summarised by an average grade.
Notes
- The grade and the angle are independent of the unit you choose for rise and run, as long as the same physical lengths are used — only their ratio matters.
- A grade can exceed 100%. There is no upper limit short of a vertical wall, which would be an infinite grade and a angle.
- Converting between views is exact: an angle of is always a 100% grade, and a small grade in percent is very close to the angle in degrees only for shallow slopes.