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.
| Rule | Maximum slope | Breaks in a long ramp |
|---|---|---|
| NBC 2020, Sentence 3.8.3.5.(1) | 1 in 12 | level landings at intervals of not more than 9 m along the ramp |
| CSA B651-18, clause 5.5 | 1:12 (1:20 to 1:12 range) | level landings not more than 9 000 mm apart |
| 2010 ADA Standards, 405.2 and 405.6 | 1:12 | each 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.
- Grade: 600 ÷ 7,200 × 100 = 8.33%.
- Angle: arctan(600 ÷ 7,200) = 4.76°.
- Ratio: 7,200 ÷ 600 = 12, so 1:12.
- 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
- 2010 ADA Standards for Accessible Design, U.S. Access Board (sections 403 and 405)
- National Building Code of Canada 2020, National Research Council Canada
- Ramps: a guide to the building code requirements for barrier-free ramps, City of Winnipeg
- 2021 International Residential Code, Section R401.3 Drainage, ICC
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.