Math

Slope percentage calculator

Settings
Reset
Share
Save
Embed
Report a bug

Share calculator

Add our free calculator to your website

Please enter a valid URL. Only HTTPS URLs are supported.


Use as default values for the embed calculator what is currently in input fields of the calculator on the page.


Input border focus color, switchbox checked color, select item hover color etc.


Please agree to the Terms of Use.

Preview

Save calculator

Calculator Settings

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Please enter a value within the allowed range.

Share calculator

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 nn”, 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:

grade=riserun×100%\text{grade} = \frac{\text{rise}}{\text{run}} \times 100\%

The angle that the slope makes with the horizontal comes from the inverse tangent of the same ratio:

θ=arctan ⁣(riserun)\theta = \arctan\!\left(\frac{\text{rise}}{\text{run}}\right)

And the ratio is the reciprocal of the slope, written as one unit of rise per nn units of run:

ratio=1:runrise\text{ratio} = 1 : \frac{\text{run}}{\text{rise}}

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 0°.
  • A 100% grade rises as fast as it runs; the angle is exactly 45°45°.
  • A grade above 100% is steeper than 45°45° — a 173.2% grade corresponds to a 60°60° 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 33 and a run of 44:

grade=34×100%=75%\text{grade} = \frac{3}{4} \times 100\% = 75\% θ=arctan ⁣(34)=36.87°\theta = \arctan\!\left(\frac{3}{4}\right) = 36.87°

The ratio is 1:1.3333331 : 1.333333 — one unit up for every one-and-a-third units forward.

Example 2: a gentle 5% road grade

For a rise of 11 over a run of 2020:

grade=120×100%=5%\text{grade} = \frac{1}{20} \times 100\% = 5\% θ=arctan ⁣(120)=2.86°\theta = \arctan\!\left(\frac{1}{20}\right) = 2.86°

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 1:201 : 20.

Example 3: a 100% grade is 45 degrees

For an equal rise and run of 55 each:

grade=55×100%=100%\text{grade} = \frac{5}{5} \times 100\% = 100\% θ=arctan(1)=45°\theta = \arctan(1) = 45°

When the rise equals the run the incline is exactly 45°45°, regardless of the actual lengths involved. The ratio is 1:11 : 1.

Example 4: a downhill slope

For a rise of 3-3 over a run of 44:

grade=34×100%=75%\text{grade} = \frac{-3}{4} \times 100\% = -75\% θ=arctan ⁣(34)=36.87°\theta = \arctan\!\left(\frac{-3}{4}\right) = -36.87°

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 1:121 : 12 ratio).
  • Railways — gradients are quoted as a percentage or as “1 in nn”; 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 90°90° angle.
  • Converting between views is exact: an angle of 45°45° is always a 100% grade, and a small grade in percent is very close to the angle in degrees only for shallow slopes.

Report a bug

This field is required.