Slope calculator: percent, degrees and 1:n

Convert a slope between percent, degrees and a 1:n ratio, and work out the rise, the horizontal distance and the length along the slope.

What do you know?

Enter the horizontal projection L — measured on a plan or level, not along the ground.

Direction

The direction is only a label: the calculation uses absolute values.

Result

Enter the values and press “Calculate”.

The tool converts slope values and works out the geometry. It does not say whether a slope is acceptable for a crane: check that against the manual of the specific machine.

FAQ: how the slope is calculated

Which formulas are used?

The gradient is the rise divided by the horizontal distance; the other values follow from it:

  • i = Δh / L
  • p = 100·i, %
  • θ = atan(i), °
  • 1:n with n = L / Δh
  • s = √(L² + Δh²)
  • along the slope: L = √(s² − Δh²), only when s > Δh

Lengths in mm, cm or m are converted to metres first. The calculation uses absolute values; uphill or downhill is only a label.

How do percent and degrees differ?

Percent is the rise per 100 units of horizontal distance; degrees are the angle between the slope and the horizontal. They are not proportional: 5 % is about 2.862405°, while 5° is about 8.748866 %. 100 % is 45°, and 90° (vertical) has no percent value.

What is 1:n?

A ratio 1:n means a rise of 1 over a horizontal distance of n, so n = L / Δh = 100 / p. For example, 1:12 is 8.333333 % or 4.763642°, and 1:1 is 45°. The tool accepts n as 12 or as 1:12.

Should I enter the horizontal distance or the length along the slope?

Use the mode that matches what you measured. A distance taken from a plan or with a level is the horizontal projection L — the first mode. A tape laid along the ground gives the length along the slope s — the second mode, where L = √(s² − Δh²) is worked out. Mixing them gives a wrong slope; the difference grows with the slope.

Why is there no 1:n for a horizontal surface?

For a horizontal surface Δh = 0, so n = L / Δh is not a finite number. The tool shows 0 % and 0° and writes “not defined (horizontal)” instead of infinity. The opposite case, L = 0 with a rise, is vertical: the slope is not defined and the tool says so instead of dividing by zero.

What does the tool not check?

It does not say whether a slope is acceptable for a crane, for travelling with a load or for setting up. It gives no colour zones or typical allowable values, and no advice on levelling, mats or site preparation. Whether a slope is acceptable for a specific machine is set by that machine’s manual.