Slope calculator online

Convert slope between degrees, percent, and rise over run. Enter a known value to compare formats and check roof, ramp, or site gradients before setting out work.

DOC_REF // CALC-SLOPE-CALCULATOR

Input data

Calculation diagram
Calculation diagram

Substrate B0 mm
Height H:0 mm
Slope0
Result Length L0 mm

Results are estimates. Check the dimensions and verify the design against local requirements before construction.

01 / Calculation method

Slope angle and vertical rise

This calculator converts between horizontal run, vertical rise, and the slope of an inclined surface.

Slope is an important technical parameter in the design and construction of:

  • roof slopes (for snow and wind load calculations under EN 1991-1-3 and EN 1991-1-4);
  • internal gravity drainage and wastewater systems in buildings (under EN 12056);
  • external sewer, drainage, and stormwater networks (under EN 752);
  • ramps, stairs, roads, and pedestrian routes.

Geometric model

The calculation uses a right triangle:

  • the horizontal leg is the run BB, the horizontal projection of the sloping section in mm;
  • the vertical leg is the rise HH in mm;
  • the hypotenuse is the sloped length LL, such as a roof slope or pipe length, in mm;
  • the angle between run BB and hypotenuse LL is the slope angle α\alpha.

Sloped length follows from the Pythagorean theorem:

L=B2+H2L = \sqrt{B^2 + H^2}

Slope conversion formulas

Slope is expressed as the ratio of rise to run (H/BH/B) in these units:

1. Angle in degrees (∘^\circ)

The geometric angle relative to the horizontal plane is:

α=arctan⁡(HB)⋅180∘π\alpha = \arctan\left(\frac{H}{B}\right) \cdot \frac{180^\circ}{\pi}

2. Percent (%\%)

Rise per 100 units of horizontal run:

i%=HB⋅100%i\% = \frac{H}{B} \cdot 100\%

3. Per mille (\permil\permil)

Rise per 1000 units of horizontal run, often used for pipe and road slopes:

i\permil=HB⋅1000\permili\permil = \frac{H}{B} \cdot 1000\permil

4. Ratio (1:n1:n)

Horizontal distance nn for each unit of vertical rise:

n=BH  ⟹  Slope=1:nn = \frac{B}{H} \implies \text{Slope} = 1:n

Calculation modes

Depending on the selected task, the calculator uses one of these methods.

Mode A: Find rise HH from known run BB and slope

  1. Convert the entered slope to the ratio k=H/Bk = H/B:

    • For degrees α\alpha: k=tan⁡(α⋅π180∘)k = \tan\left(\alpha \cdot \frac{\pi}{180^\circ}\right)
    • For percent i%i\%: k=i%100k = \frac{i\%}{100}
    • For per mille i\permili\permil: k=i\permil1000k = \frac{i\permil}{1000}
    • For ratio 1:n1:n: k=1nk = \frac{1}{n}
  2. Calculate vertical rise:

    H=B⋅kH = B \cdot k

Mode B: Find run BB from known rise HH and slope

  1. Calculate ratio kk as in Mode A.

  2. Calculate the horizontal projection:

    B=HkB = \frac{H}{k}

Mode C: Find slope from known BB and HH

  1. Calculate the ratio:

    k=HBk = \frac{H}{B}
  2. Convert kk to the requested result unit:

    • Degrees: α=arctan⁡(k)⋅180∘π\alpha = \arctan(k) \cdot \frac{180^\circ}{\pi}
    • Percent: i%=k⋅100%i\% = k \cdot 100\%
    • Per mille: i\permil=k⋅1000\permili\permil = k \cdot 1000\permil
    • Ratio: 1:n1:n, where n=1kn = \frac{1}{k}

02 / Frequently asked questions

What is the difference between degrees, percent, per mille, and a 1:n ratio?

These units all describe the ratio of vertical rise HH to horizontal run BB, in different formats:

  • Percent (%\%) is the rise per 100 units of run. A 2%2\% slope rises 2 cm per 100 cm (1 m).
  • Per mille (\permil\permil) is the rise per 1000 units of run. A 20\permil20\permil slope equals 2%2\% (20 mm per meter) and is used for pipes and roads.
  • Degrees (∘^\circ) measure the geometric angle α\alpha to the horizontal. A 45∘45^\circ slope is 100%100\% or 1:11:1, because the two legs are equal.
  • Ratio 1:n shows the horizontal distance needed to rise one unit. For example, 1:501:50 equals 2%2\% (20\permil20\permil).

How do I convert a slope from percent to degrees and back?

The relationship is nonlinear and uses trigonometric functions:

  • Degrees to percent:

    i%=tan⁡(α)⋅100%i\% = \tan(\alpha) \cdot 100\%

  • Percent to degrees:

    α=arctan⁡(i%100)⋅180∘π\alpha = \arctan\left(\frac{i\%}{100}\right) \cdot \frac{180^\circ}{\pi}

For example, a 10%10\% slope is arctan⁡(0.1)≈5.71∘\arctan(0.1) \approx 5.71^\circ. A 30∘30^\circ slope is tan⁡(30∘)⋅100≈57.74%\tan(30^\circ) \cdot 100 \approx 57.74\%.

What slope should a sewer pipe have?

Sewer pipe slope is governed by construction standards, such as EN 12056 and EN 752, and depends on pipe diameter DD:

  • For D=50D = 50 mm, a recommended slope is 3%3\% (30\permil30\permil or 3 cm per meter).
  • For D=110D = 110 mm, a recommended slope is 2%2\% (20\permil20\permil or 2 cm per meter).
  • For D=160D = 160 mm, a recommended slope is 0.8%0.8\% (8\permil8\permil or 8 mm per meter).

A slope that is too small can cause blockages because water velocity is low. If the slope is too steep, water may flow faster than solids and leave them behind in the pipe.

What are typical slopes for roofs and roofing materials?

Roof pitch depends on the covering and climate:

  • Metal tile: minimum 12∘12^\circ–14∘14^\circ;
  • Profiled steel sheet: minimum 8∘8^\circ–12∘12^\circ;
  • Bituminous shingles: minimum 11∘11^\circ–12∘12^\circ;
  • Slate and ceramic tile: minimum 22∘22^\circ.

Steeper roofs (over 30∘30^\circ) shed snow more readily and reduce snow load, but experience greater wind pressure.

Under European accessibility guidance:

  • A wheelchair ramp slope of 5% (1:201:20 or about 2.9∘2.9^\circ) to 8% (1:121:12 or about 4.8∘4.8^\circ) is recommended.
  • A short ramp for a small rise may reach 10% (1:101:10 or 5.7∘5.7^\circ).
  • Any ramp steeper than 5% should have handrails on both sides.