Skip to content

Slope & Grade Calculator

Convert rise and run to percent grade, degrees, a 1:x ratio or roof pitch with rafter length, and check a ramp against the 1:12 limit of the NBC and ADA.

Calculator Details

Grade:8.33%See results ↓

Enter the slope as rise and run, a percentage, an angle, a 1:x ratio or a roof pitch (x in 12)

Unit for rise, run and slope length

Vertical height gained

Horizontal distance (not the length along the slope)

The accessibility rule to check a ramp against

Your Results

Grade: 8.33%

Grade

8.33%

4.76° · 1:12

Angle

4.76°

Ratio

1:12

Rise

600 mm

Slope length

7,225 mm

along the surface (rafter line length for a roof)

Roof pitch

1 in 12

Pitch factor 1.0035

Within the 1:12 ramp maximumOne ramp run, with level landings at the top and bottom (NBC 2020 (same in NBC 2025): barrier-free ramp (Canada)).

Diagram

run 7,200 mmrise 6004.76°
Side view: the hypotenuse is the slope length.

Common slopes compared

Common slopes as ratio, percent and degrees, with the rise over your run
SlopeRatioGradeAngleRise over 7,200 mm
Max cross slope (ADA)1:482.08%1.19°150 mm
Ramp threshold; lot drainage (IRC)1:205%2.86°360 mm
Max accessible ramp1:128.33%4.76°600 mm
1 in 101:1010%5.71°720 mm
1 in 81:812.5%7.13°900 mm
4/12 roof1:333.33%18.43°2,400 mm
1:1 (45°)1:1100%45°7,200 mm

A rise of 600 mm over a run of 7200 mm is a 8.33% grade, 4.76°, 1:12 or a 1 in 12 roof pitch; the length along the slope (rafter length) is 7225 mm. As a ramp it is within the 1:12 maximum of NBC 2020 (same in NBC 2025): barrier-free ramp (Canada).

Compare scenarios

Save these inputs as a scenario, change them, and compare the results side by side.

Loading, available in a moment

How This Calculator Works

How Slope Is Calculated

Grade % = rise ÷ run × 100
Angle = arctan(rise ÷ run)
Ratio 1:x, x = run ÷ rise
Slope length = √(rise² + run²)
Roof pitch = 12 × rise ÷ run (x in 12); rafter length = run × √(1 + (pitch ÷ 12)²)

Your numbers: 600 ÷ 7,200 × 100 = 8.33%; arctan(600 ÷ 7,200) = 4.76°; 7,200 ÷ 600 = 12, so 1:12. Slope length √(600² + 7,200²) = 7,225 mm. Roof pitch 12 × 600 ÷ 7,200 = 1 in 12; as a rafter over a run of 7,200 mm that is 7,200 × 1.0035 = 7,225 mm of line length, before the overhang and the ridge-board deduction.

Ramp check: NBC 2020 (same in NBC 2025): barrier-free ramp (Canada) allows at most 1:12 (8.33%, 4.76°). To climb 600 mm at that slope you need 600 × 12 = 7,200 mm of run. Level landings are needed at least every 9 m along the ramp.

Frequently Asked Questions

How do I convert rise and run to a percent grade?

Divide the rise by the run and multiply by 100. Both must be in the same unit, and the run is the horizontal distance, not the length along the slope. A rise of 1 m over 10 m of run is a 10% grade.

How do I convert a percent grade to degrees?

Take the arctangent of the grade as a decimal: angle = arctan(grade ÷ 100). A 10% grade is 5.71°, and a 100% grade is 45°, not 90°. Percent and degrees are not proportional, so you can't just multiply by a constant.

What does a 1:12 slope mean?

One unit of rise for every 12 units of horizontal run: 8.33% or 4.76°. In imperial terms, 1 in of rise needs 1 ft of ramp. It is the steepest slope allowed for an accessible ramp under the NBC 2020, CSA B651 and the 2010 ADA Standards.

What is the maximum wheelchair ramp slope in Canada?

The National Building Code of Canada 2020 allows a barrier-free ramp a slope of not more than 1 in 12, with level landings at intervals of not more than 9 m along its length, and CSA B651-18 uses the same 1:12 maximum. Provinces adopt the NBC with amendments (Ontario, Quebec and British Columbia have their own codes), so check the code in force where you build. A gentler slope such as 1:15 or 1:20 is easier for many users.

What is the ADA ramp slope and rise limit?

The 2010 ADA Standards limit a ramp's running slope to 1:12 (section 405.2) and any single ramp run to a rise of 30 in, 762 mm (405.6), with a level landing between runs. A 36 in rise therefore needs two runs and an intermediate landing.

When does a sloped path count as a ramp?

When it is steeper than 1:20 (5%). Gentler walking surfaces are not treated as ramps, so they don't need ramp handrails or landings, although the code may still limit their cross slope.

How much should the ground slope away from my foundation?

The International Residential Code (R401.3) asks for a fall of at least 6 in within the first 10 ft, which is 5%. The National Building Code of Canada requires the ground around a house to be graded so water drains away from it (Subsection 9.14.6) without setting a percentage; many municipal lot-grading guides use 5% or more next to the house. Check your municipality’s lot-grading standard.

Is slope percentage the same as roof pitch?

They describe the same thing differently. Roof pitch is rise per 12 units of run (4/12 means 4 in of rise per 12 in of run), which is a 33.33% grade or 1:3. Use the ratio mode with x = 12 ÷ pitch, or the roofing calculator for full roof areas.

Converts a slope between rise and run, percent grade, degrees and a 1:x ratio, and checks the running slope of a straight ramp, the rise per run and the landings it needs. Not checked: ramp width, cross slope, landing sizes, handrails, guards, edge protection and surfaces. Provinces, territories, states and cities adopt these codes with amendments; your local building official decides.

NBC 2020 (same in NBC 2025): barrier-free ramp (Canada): National Building Code of Canada 2020, Division B, Sentence 3.8.3.5.(1): a ramp in a barrier-free path of travel has a slope not more than 1 in 12 and landings at intervals not more than 9 m along its length; a ramp is a path of travel steeper than 1 in 20

CSA B651-18: accessible design (Canada): CSA B651-18 Accessible design for the built environment, clause 5.5 (ramps): running slope between 1:20 and 1:12, level landings not more than 9 000 mm apart, clear width at least 920 mm

2010 ADA Standards (US): 2010 ADA Standards for Accessible Design: 405.2 running slope not steeper than 1:12; 405.6 rise for any ramp run 30 in (762 mm) maximum, with a level landing between runs (405.7); 106.5 a ramp is a walking surface with a running slope steeper than 1:20

Reference slopes: 2010 ADA Standards 403.3, 405.2 and 106.5 (https://www.access-board.gov/ada/); NBC 2020 3.8.3.5; IRC 2021 R401.3 Drainage: 'The grade shall fall a minimum of 6 inches (152 mm) within the first 10 feet (3048 mm)' (https://codes.iccsafe.org/content/IRC2021P2/chapter-4-foundations)

Slope Percentage Calculator: Grade, Degrees, Ratios and Ramp Limits

By FindMySum · Last reviewed

A slope percentage calculator answers one question in several languages. Builders talk about rise and run, road engineers about percent grade, surveyors and phone apps about degrees, and accessibility codes about ratios such as 1:12. They all describe the same thing: how much height you gain for each unit of horizontal distance. This article explains the conversions, shows why percent and degrees are not proportional, and walks through the ramp limits in the National Building Code of Canada 2020, CSA B651 and the 2010 ADA Standards.

The four ways to write a slope

Everything starts from the slope as a plain number, rise divided by run. The run is always the horizontal distance, not the length measured along the surface.

  • Percent grade = rise ÷ run × 100. A rise of 1 over a run of 10 is 10%.
  • Angle = arctan(rise ÷ run). The same 1 in 10 is about 5.71°.
  • Ratio 1:x, where x = run ÷ rise. The same slope is 1:10.
  • Slope length = √(rise² + run²), the distance along the surface, useful for ordering material such as ramp decking.
  • Roof pitch = 12 × rise ÷ run, written "x in 12" or x/12: the inches of rise for every 12 inches of run.

The calculator lets you enter whichever form you know, including a roof pitch. If you enter a grade, an angle or a ratio, it also needs a run so it can tell you the rise in real units.

Percent and degrees are not proportional

A common mistake is to treat 100% as 90°. A 100% grade means the rise equals the run, which is 45°. A vertical wall has an infinite grade. Because the conversion goes through the tangent function, gentle slopes look similar in both units (1% is about 0.57°), but the gap widens quickly: 50% is 26.57° and 200% is 63.43°. Whenever you read a number off a level app, a road sign or a drawing, check which unit it uses before comparing it to a limit.

Accessible ramp limits

The three rule sets the calculator checks agree on the headline figure: an accessible ramp may be no steeper than 1:12, which is 8.33% or 4.76°. They differ in how they break long ramps up.

RuleMaximum slopeBreaks in a long ramp
NBC 2020, Sentence 3.8.3.5.(1)1 in 12level landings at intervals of not more than 9 m along the ramp
CSA B651-18, clause 5.51:12 (1:20 to 1:12 range)level landings not more than 9 000 mm apart
2010 ADA Standards, 405.2 and 405.61:12each run may rise at most 30 in (762 mm), with a level landing between runs

Both the NBC and the ADA Standards define a ramp as a walking surface steeper than 1:20 (5%). Anything gentler is a sloped walk, which does not need ramp handrails or landings, though limits on cross slope still apply. Provinces adopt the NBC with amendments, and Ontario, Quebec and British Columbia publish their own building codes, so treat the calculator's check as a planning aid rather than an approval.

Worked example: the calculator's defaults

The calculator opens with a 600 mm rise over a 7,200 mm run, checked against the NBC 2020.

  1. Grade: 600 ÷ 7,200 × 100 = 8.33%.
  2. Angle: arctan(600 ÷ 7,200) = 4.76°.
  3. Ratio: 7,200 ÷ 600 = 12, so 1:12.
  4. Slope length: √(600² + 7,200²) = 7,225 mm.

The ramp is exactly at the 1:12 maximum, so it passes. Its sloped length of about 7.2 m is under the 9 m limit between landings, so it needs landings only at the top and bottom. Raise the rise to 1,000 mm at the same slope and the run becomes 12 m, the sloped length about 12.04 m, and the NBC check calls for one intermediate landing. Switch the standard to the ADA and enter a 36 in rise over 432 in of run: still 1:12, but because each ADA run may rise only 30 in, the ramp needs two runs and a landing between them.

Choosing a comfortable slope

The maximum is not the target. Many wheelchair users, people pushing strollers and older adults find 1:12 tiring over any distance, and design guides recommend 1:15 or 1:20 where space allows. A gentler ramp is longer, so use the comparison table on the calculator: it shows the rise you would get over your run at each common slope, which makes it easy to see how much more run a gentler design needs.

Roof pitch and rafter length

North American carpenters write a roof's slope as its pitch: inches of rise per 12 inches of horizontal run. The calculator gives the pitch for any rise and run, and accepts a pitch as an input. A 6 in 12 roof rises 6 units per 12 of run, which is 50% or about 26.57°; a 4 in 12 roof is 1:3, 33.33% or 18.43°; a 12 in 12 roof is 45°.

For a roof, measure the run as the horizontal distance the rafter covers, which for a simple gable is half the building's width, from the outside of the wall to the centre of the ridge. The slope length is then the rafter's line length, √(rise² + run²), and the ratio of the two, √(1 + (pitch ÷ 12)²), is the "pitch factor" roofers multiply a plan area by. A 6 in 12 rafter over a 12 ft run rises 6 ft and is 12 × 1.1180 = 13.416 ft long on the line. That is the measurement along the top edge from the ridge line to the wall line: add the overhang beyond the wall and subtract half the ridge board's thickness (measured square to the ridge, so slightly more along the slope) before you cut. Roofing materials also set minimum pitches; the roofing calculator covers shingle quantities and those limits.

Other slopes around the house

The same arithmetic answers everyday questions. The International Residential Code asks that ground fall at least 6 in within the first 10 ft from a foundation, which is 5%. Roof pitch is written as rise per 12 of run, so a 4/12 roof is 1:3 or 33.33%. Driveways, drainage pipes and patio slabs all have their own recommended ranges from manufacturers and municipalities; convert them to the same unit before you compare.

More questions

Why does my phone's level app show a different number from my tape measure?

Level apps usually report degrees, while a tape measure gives you rise and run that convert to a percentage. A 5% grade is only about 2.9°, so the two numbers look very different even though they describe the same slope. Also check that the app is reading along the direction of travel, not across it.

How accurate does my measurement of run need to be?

Errors in the run matter most on gentle slopes. If you measure 7.0 m instead of 7.2 m under a 600 mm rise, the grade moves from 8.33% to 8.57%, enough to fail a 1:12 check. Measure the run horizontally with a level line or a laser, and measure rise as the vertical difference between the two ends.

Can a ramp be steeper for a short distance?

Some codes allow steeper slopes for very short rises in existing buildings, and the ADA Standards have exceptions for alterations where space is limited. New construction normally has to meet 1:12 across the whole ramp. Check the alteration provisions of the code that applies before relying on an exception.

What is cross slope, and does this calculator check it?

Cross slope is the slope perpendicular to the direction of travel, the tilt from one edge of a ramp or path to the other. Accessible routes limit it to about 2% (1:48) so wheelchairs do not drift sideways. This calculator checks the running slope only; use it a second time with the width as the run to work out a cross slope.

How do I work out a roof pitch and rafter length?

Measure the rise and the horizontal run of the rafter (half the span of a simple gable roof), enter them, and read the roof pitch as inches of rise per 12 of run: a 4 ft rise over a 12 ft run is a 4 in 12 pitch. The slope length is the rafter's line length, √(rise² + run²), here 12.649 ft. You can also choose "Roof pitch" and type the pitch directly. Add the overhang and subtract half the ridge board yourself; for shingle quantities use the roofing calculator.

How do I set out a slope on site?

Drive a stake at each end, run a string between them and level it with a line level. Measure down from the string at the high end and the low end; the difference is the rise and the horizontal distance between stakes is the run. For long distances a builder's level or laser level is more reliable than a string.

Sources

This article explains how the calculator works and is general information, not financial, tax, legal or medical advice. Rules change; check the sources above or a qualified professional before you act.

Spotted a wrong result or a bug? Report a problem

May we count your visits with Invoker Analytics? It keeps a random visitor number in your browser. Your calculator inputs are never sent. Privacy policy