Roof Pitch Calculator

Millimeters and degrees

Metric Roof Pitch Calculator

Plans drawn in millimeters describe slope in degrees or percent, while US suppliers and code tables use x/12. Enter your rise and run in millimeters or meters and the calculator gives the angle, percent slope, rafter length in millimeters and the equivalent x/12 pitch. The notes below cover metric conventions and how to convert a fall in millimeters per meter.

Roof pitch calculator

Results update as you type
What do you know?
Units

Measurements

For lean-to and shed roofs: enter the high wall, the low wall, and the horizontal distance between them.

Rise
in

The vertical height the roof gains.

High wall
in
Low wall
in
/12
degrees
%
Run
in

Horizontal distance from the outside wall to the point under the ridge. On a gable roof, that's half the span.

Rafter overhang and roof area
Overhang (optional)
in

Horizontal eave projection past the wall.

Building length (optional)
in

Length along the ridge. Adds roof area to your results.

Calculations run on your device. Nothing you type is stored or sent.

Example: 900 mm of rise over a 4,000 mm run.

4/12
Conventional

Metric roof pitch basics

In metric, roof slope is almost always given as an angle in degrees, or for low roofs as a percentage or a fall such as 1:40. The x/12 format is US-specific, but it's the same ratio scaled to a 12-unit run.

Angle = arctan(rise ÷ run)

Percent = rise ÷ run × 100

Pitch (x/12) = rise ÷ run × 12

Rafter length = √(rise² + run²)

Worked example

A rise of 900 mm over a run of 4,000 mm:

  • Ratio: 900 ÷ 4,000 = 0.225
  • Angle: arctan(0.225) = 12.68°
  • Percent: 22.5%
  • US pitch: 2.7/12
  • Rafter (no overhang): √(900² + 4,000²) = 4,100 mm

Common metric slopes and their US pitch

Angle Percent Fall x/12
1.43° 2.5% 1:40 0.3/12
2.86° 5% 1:20 0.6/12
10° 17.6% 1:5.7 2.12/12
15° 26.8% 1:3.7 3.22/12
22.5° 41.4% 1:2.4 4.97/12
30° 57.7% 1:1.7 6.93/12
35° 70.0% 1:1.4 8.40/12
45° 100% 1:1 12/12

Converting a fall in mm per meter

A fall of 25 mm per meter is 25 ÷ 1,000 = 2.5% (1:40), or 0.3 in per foot. That's slightly steeper than the 1/4 in per foot (about 2.1%) that US codes require for most low-slope membrane roofs. Our flat roof fall calculator handles low slopes in either system.

Minimum pitch outside the US

Roofing minimums vary by country and by product. UK, Australian and New Zealand standards and manufacturers publish their own figures, often in degrees. Use the product's installation instructions for your region rather than US IRC values.

How do I calculate roof pitch in degrees from millimeters?

Divide the rise by the run, both in millimeters, and take the arctangent. 900 mm over 4,000 mm is 12.68°.

What is 15 degrees as a roof pitch?

About 3.2/12, or a 26.8% slope.

How do I convert percent slope to degrees?

Take the arctangent of the percent divided by 100. A 50% slope is arctan(0.5) = 26.57°.