Skip to content

Slope calculator: per cent, degrees, 1 in X, ramps and roof pitch

Enter a horizontal run and a rise, or a slope to convert. The calculator gives the slope as a percentage, in degrees and as a 1 in X gradient, the true length along the slope, and checks an access ramp or a waste pipe against the Approved Documents for England.

What you enter stays on this device.

Method and sources checked on by the Brikalo editorial team · Our method

A slope in per cent is the rise divided by the horizontal run, times 100. A 100% slope is 45°, 1% means 10 mm of rise per metre, and a gradient of 1 in 20 is a 5% slope.

Triangle of a 30% slope: a rise of 1.20 m over a horizontal run of 4 m. The angle is 16.7 degrees and the sloping side measures 4.18 m. Slope in % = rise ÷ horizontal run × 100.

Four ways to write the same slope

The same slope can be written in several ways. Roofers give a pitch in degrees, drainage drawings give gradients such as 1 in 40 or 1 in 80, plumbers talk about millimetres of fall per metre, and many data sheets use a percentage. A 2% slope is a rise of 20 mm for every metre measured horizontally, which is also a gradient of 1 in 50.

The formula is: slope in % = rise ÷ horizontal run × 100. A roof slope with a 4 m run that rises 1.20 m is at 1.20 ÷ 4 × 100 = 30%. Both measurements must be in the same unit: 1,200 mm over 4,000 mm still gives 30%. To turn a percentage into 1 in X, divide 100 by it: 5% is 1 in 20.

Conversion table: percentage, degrees, mm per metre and 1 in X

Each row gives the same slope written four ways. Example: a 30% slope is 16.70°, a rise of 300 mm for every metre measured horizontally, or 1 in 3.3. A ramp at 1 in 12 is 8.33%.

Slope in %In degreesRise per metreGradient
1%0.57°10 mm1 in 100
2%1.15°20 mm1 in 50
3%1.72°30 mm1 in 33.3
4%2.29°40 mm1 in 25
5%2.86°50 mm1 in 20
8%4.57°80 mm1 in 12.5
10%5.71°100 mm1 in 10
15%8.53°150 mm1 in 6.7
20%11.31°200 mm1 in 5
25%14.04°250 mm1 in 4
30%16.70°300 mm1 in 3.3
35%19.29°350 mm1 in 2.9
40%21.80°400 mm1 in 2.5
45%24.23°450 mm1 in 2.2
50%26.57°500 mm1 in 2
60%30.96°600 mm1 in 1.7
70%34.99°700 mm1 in 1.4
80%38.66°800 mm1 in 1.3
100%45.00°1,000 mm1 in 1

From percentage to degrees

Degrees are not proportional to the percentage. The angle is the arctangent of the slope: 30% is 16.70°, 50% is 26.57° and 100% is exactly 45°, where the rise equals the run. The other way round, the slope in % is the tangent of the angle times 100: a 35° roof pitch is a 70.02% slope.

The classic mistake is to read 30% as 30°. A roof pitched at 30° has a slope of 57.74%, almost twice as steep. Always check which unit a quote or a data sheet is using.

Roof pitch and rafter length

For a pitched or lean-to roof you need two figures: the pitch, which decides which tiles or sheets you can use, and the true length of the slope, used to order rafters, battens and membrane. The true length comes from Pythagoras: a 4 m run with a 1.20 m rise gives √(4² + 1.20²) = 4.18 m.

A lean-to with a 4 m run and a 2.80 m rise is at 70%, a pitch of 34.99°. The minimum pitch of a tile or a sheet depends on the product and on how exposed the roof is, and it is printed on the manufacturer's data sheet, so the calculator does not apply one figure to every roof.

Access ramps: Approved Document M, Table 1

In England, Approved Document M (Volume 2, buildings other than dwellings) links the steepest gradient to the going of each flight: 1 in 12 for a going of 2 m (166 mm rise at most), 1 in 15 for 5 m (333 mm) and 1 in 20 for 10 m (500 mm). Between 2 m and 10 m you may interpolate, which gives 1 in 14 for a 4 m going and 1 in 19 for a 9 m going. No flight should have a going of more than 10 m or a rise of more than 500 mm. Landings at the foot and head must be at least 1.2 m long, intermediate landings at least 1.5 m, and a total rise of more than 2 m calls for another way up, such as a lift. Wales and Scotland publish their own guidance.

Example: a 280 mm rise over a 4 m going is 7%, or 1 in 14.3, within the 1 in 14 allowed for that going. The same rise over 3 m would be 9.33%, steeper than the 1 in 13 allowed at 3 m. An approach less steep than 1 in 20 is treated as a gently sloping approach rather than a ramp, with a level landing for every 500 mm of rise.

Waste pipes: Approved Document H, Table 2

Unventilated branch pipes have their own limits in Approved Document H. A WC branch is laid at 18 to 90 mm of fall per metre and can run up to 15 m. A 30 mm washbasin or bidet branch also starts at 18 mm per metre, but its upper limit drops as the pipe gets longer: 87 mm per metre up to 0.7 m, 44 mm up to 1.1 m and 22 mm up to 1.7 m. Beyond the table, the branch needs venting.

Example: a WC 3 m from the stack laid at 20 mm per metre needs 3 × 20 = 60 mm of fall. Below ground, Table 6 of the same document gives 1 in 40 as the flattest gradient for a 100 mm drain with a peak flow under 1 litre per second, and 1 in 80 above that flow when at least one WC is connected.

Common mistakes

  • Measuring along the slope instead of horizontally: on a 30% roof, the 4.18 m slope length would give 28.7% instead of 30%.
  • Mixing units: 60 mm over 3 m is 2%, not 20%. The calculator lets you pick a unit for each measurement.
  • Confusing degrees and per cent, especially above 20%, where the gap grows quickly.
  • Reading 1 in 12 as 12%: it is 8.33%.

For the next steps, the mitre angle calculator turns a roof pitch into rafter cuts, the wall area calculator helps when ordering materials, and the cubic metres to tonnes converter works out the gravel for a path.

Method and sources

References used:

This tool is checked by automated tests against known cases. Spotted a mistake? Report it on the contact page.

Last updated

Frequently asked questions

How do I calculate a slope as a percentage?
Divide the rise by the horizontal run and multiply by 100. A path that drops 500 mm over 10 m is at 0.5 ÷ 10 × 100 = 5%, a gradient of 1 in 20.
What is a 1 in 12 gradient in per cent and degrees?
8.33%, or 4.76°. Divide 100 by 12 for the percentage, then take the arctangent of 0.0833 for the angle.
What is the maximum gradient for a wheelchair ramp?
In England, Approved Document M allows 1 in 12 for a flight with a going of up to 2 m, 1 in 15 at 5 m and 1 in 20 at 10 m, interpolated in between, with no flight longer than 10 m or rising more than 500 mm.
What fall does a WC waste pipe need?
18 to 90 mm per metre for an unventilated WC branch, according to Table 2 of Approved Document H. A 3 m run at 20 mm per metre needs 60 mm of fall.
How do I convert a roof pitch in degrees to a percentage?
Take the tangent of the angle and multiply by 100: 22.5° is 41.42%, 35° is 70.02% and 45° is 100%.
Is a 100% slope vertical?
No. 100% is 45°: the rise equals the horizontal run. A vertical wall would have an infinite slope.
How long does a ramp need to be for a 150 mm step?
At 1 in 12, 150 × 12 = 1,800 mm of going. That is within the 2 m going for which Approved Document M allows 1 in 12, with level landings at the top and bottom.