Apps Part of Pocketlab

Pocketlab Slope Converter (degrees, %, 1:n, mm/m)

Convert a slope between degrees, percent grade, 1 : n ratio and millimetres per metre.

Degrees, percent, n of 1 : n or mm per metre — as chosen above. Not used for rise and run.

Only for rise and run: height difference.

More options

Only for rise and run: horizontal distance, same unit as the rise.

Any unit; the height difference over it comes out in the same unit.

Try an example: · · ·

More about this tool

How it works

Converts a slope or tilt between the units builders, cyclists and DIYers use: degrees, percent grade, a 1 : n ratio, millimetres of rise per metre, or rise over run. Give a length to get the height difference over it and the length along the slope. The Pocketlab spirit level shows its readings in the same units.

  • Every unit is turned into the angle θ: grade = tan θ × 100 %, a 1 : n ratio means tan θ = 1/n, millimetres per metre = tan θ × 1000, rise/run = tan θ.
  • Over a horizontal length L the height difference is L × tan θ and the length along the slope L / cos θ. The angle from the vertical (plumb) is 90° − |θ|.

Sources

Part of Pocketlab

  • Pocketlab Phone sensor instruments & measurement log

    Your phone as 14 pocket instruments, with a measurement log you can export and share.

    Open Pocketlab

Related tools

How to use the Pocketlab Slope Converter

Convert a slope between degrees, percent grade, 1 : n ratio, millimetres per metre and rise over run, and get the height difference over a length.

What it is for

Slopes come in many units. A spirit level app shows degrees, a road sign shows percent, ramp rules use 1 : 12, a drain needs "2 cm per metre" and a carpenter thinks in rise and run. This tool takes a slope in any of these units and shows all the others. With a horizontal length it also gives the height difference and the length along the slope.

The Pocketlab spirit level uses the same conversion for its readings, so you can measure a tilt with the phone and turn it into the unit your plan or rule uses.

It converts numbers. It does not check whether a ramp, drain or roof meets the rules where you live.

Worked example

A garden path should have a fall of 8 % over a run of 25 m. Choose Percent as the unit, enter 8 and a horizontal length of 25. The tool reports:

  • Angle: 4.57°
  • Grade: 8 %
  • Ratio: 1 : 12.5
  • Per metre: 80 mm/m
  • From vertical: 85.43°
  • Height difference over the length: 2
  • Length along the slope: 25.08

So the path drops 2 m over its 25 m run, and the path itself is 25.08 m long — the length you need for edging stones.

The first example is a wheelchair ramp at 1 : 12 over 3.6 m. It gives 4.76°, 8.33 %, 83.3 mm/m and a rise of 0.3 m, with a sloped length of 3.612 m.

How to read the result

All the values describe the same slope. Angle is measured from the horizontal and From vertical from the plumb line, so the two add up to 90°. Grade is the rise per 100 of run, Per metre the rise in millimetres per metre of run, and Ratio 1 : n means one unit up for n units across.

The height difference and the length along the slope use the same unit as the length you typed. Type metres and you get metres, type feet and you get feet.

Tips and common mistakes

  • A 100 % grade is 45°, not 90°. Percent grows very fast near vertical — a 60° slope is already 173 %.
  • Length means the horizontal distance (the run), as on a plan. If you measured along the slope, the height is the measured length × the sine of the angle.
  • For a flat slope the ratio is empty: 1 : n has no meaning without a rise.
  • Building rules often give ramps as a ratio and roofs in degrees or "pitch". Check which one your rule uses before you compare.
  • For rise and run, both values need the same unit; the result does not depend on which unit that is.
  • Negative values describe a fall instead of a rise; every unit keeps the sign.

FAQ

How do I convert degrees to percent?

Percent grade is the tangent of the angle times 100. For 5° that is about 8.75 %. Choose Degrees, enter the angle and read Grade.

What does 1 : 12 mean in percent?

One unit of rise for twelve units of run: 1 ÷ 12 × 100 = 8.33 %, about 4.76°.

Is millimetres per metre the same as percent?

They describe the same thing on different scales: 10 mm/m is 1 %. Pipe and drain layers often use mm/m or cm/m.

Can I measure the slope with my phone?

Yes, with the Pocketlab spirit level. Lay the phone on the surface, read the slope and calibrate once by turning the phone 180° on the same spot.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://pocketlabslopeconverter.usefulweb.app/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://pocketlabslopeconverter.usefulweb.app/mcp · tool name pocketlab_slope_converter
Example request
curl -s -X POST https://pocketlabslopeconverter.usefulweb.app/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"unit":"ratio","value":12,"length":3.6}'
Feedback · ideas & bug reports welcome