Site maths

Slope Calculator

Convert between rise and run, percent grade, angle in degrees and ratio (1 in n). Use it for ramps, roofs, drainage falls, embankments and road gradients.

Inputs
m
m

Rise and run can be in any unit, as long as both use the same one.

ResultGentle
Grade 0% –
Angle
–
Ratio
–
Rise per metre run
–
Rise / run
–
Sloping length / distance
–
Show working

How slope is expressed

The same slope can be written four ways. Engineers, architects and road designers each tend to use a different one, so it helps to convert quickly.

Grade (%) = rise ÷ run × 100
Angle (°) = arctan(rise ÷ run)
Ratio = 1 in (run ÷ rise)
Sloping length = √(rise² + run²)

Worked example: a wheelchair ramp

A ramp climbs 0.6 m over a horizontal run of 7.2 m. The grade is 0.6 ÷ 7.2 × 100 = 8.33%. That is a ratio of 1 in 12 and an angle of 4.76°. The ramp surface itself is √(0.6² + 7.2²) = 7.22 m long.

Typical slopes on site

UseGradeRatioAngle
Flat roof and balcony falls1–2%1:100 – 1:500.6–1.1°
Drainage pipes (100–150 mm)1–2.5%1:100 – 1:400.6–1.4°
Accessible ramp (common maximum)8.33%1:124.8°
Car park ramp12–15%1:8 – 1:6.76.8–8.5°
Pitched tile roof40–100%1:2.5 – 1:122–45°
Stable embankment in firm soil50%1:226.6°

These are general guides. Always follow the project specification and the local authority code, such as the Dubai Universal Design Code for ramps.

Frequently asked questions

How do I find the slope between two points?

Use m = (y₂ − y₁) ÷ (x₂ − x₁). For the points (2, 3) and (6, 11), m = (11 − 3) ÷ (6 − 2) = 8 ÷ 4 = 2, which is a 200% grade or 63.43°. The line through them is y = 2x − 1.

Is a 100% slope the same as 90 degrees?

No. A 100% grade means the rise equals the run, which is 45°. A vertical face would be an infinite grade.

How do I convert 1 in 12 to a percentage?

Divide 1 by 12 and multiply by 100: 8.33%.

Should I measure run along the slope or horizontally?

Horizontally. Grade and ratio use the horizontal run. The sloping length is calculated separately.

Add this calculator to your website

Running a blog, a supplier site or a course page? You can show this calculator on your own page for free. Copy the code and paste it into an HTML block. It works in WordPress, Wix, Squarespace and plain HTML.

All calculator widgets