Roof Pitch Calculator

Enter the pitch as a rise and run, an angle or a percent slope. You get the angle in degrees, the percent, the x:12 ratio on the imperial setting, the rafter length and the roof area for the building you give.

Free Runs in your browser Checked Tuesday, November 10, 2026

Units
Pitch given as

How far the roof climbs. Use the same unit as the run.

How far the roof goes across. For a roof of x:12, the run is 12 and the rise is x.

The width of the building from one eave to the other. Metres, or feet on the imperial setting.

The length of the building the ridge runs along.

How far the roof sticks out past the walls. Use 0 for no overhang.

Result

Angle — In degrees from the horizontal.
Slope in percent — Rise as a percentage of run.
Pitch in x:12 — Inches of rise for every 12 inches of run.
Rafter length — From the ridge to the outside of the eave, along the slope, with the overhang.
Roof area, gable roof — Both slopes, with the overhang on all sides.
Common pitches

This tool runs in your browser. What you enter is not sent to us.

How to use it

  1. Choose Pitch given as and type the rise and the run, the angle, or the percent slope from your drawing.
  2. Type the Building width, across the ridge and the Building length, along the ridge from your plan.
  3. Enter the Overhang at the eaves and the gables, or 0 for none.
  4. Read the angle, the percent and the rafter length. Use Common pitches to compare with a standard roof.

How the pitch is converted

A roof pitch is a slope, the rise divided by the run. The angle is the arctangent of that slope, the percent is the slope times 100, and the x:12 ratio is the slope times 12, which is how a roof is written in the imperial system. A slope of 1 is 45°, which is 100 %, and 12:12.

The rafter runs from the ridge to the outside of the eave. Half the building width plus the overhang is its horizontal length; the slope adds the factor √(1 + slope²). A gable roof has two such slopes over the footprint.

slope = rise ÷ run = tan(angle) = percent ÷ 100
angle = arctan(slope)
x:12 = slope × 12
rafter = (span ÷ 2 + overhang) × √(1 + slope²)
roof area = 2 × rafter × (length + 2 × overhang)

What this calculator does not include

  • Hips, valleys, dormers and a roof that is not a simple gable, for which the area differs.
  • The rafter's cut, the ridge board, the birdsmouth and the material for the boards and battens.
  • Snow and wind loads, and the minimum pitch the roof covering needs; check the tile or sheet maker's rules.

Worked example: a 4:12 roof on a building 8 m wide and 12 m long

The slope is 4 ÷ 12 = 0.333. The angle is arctan(0.333) = 18.43°, and the percent is 33.3 %.

The rafter is (8 ÷ 2 + 0.5) × √(1 + 0.333²) = 4.5 × 1.054 = 4.74 m. The roof area is 2 × 4.74 × (12 + 2 × 0.5) = 123.33 m².

Angle Slope Roof area
4:12 (this example) 18.43° 33.3 % 123.33 m²
6:12 26.57° 50.0 % about 131 m²

Frequently asked questions

How do I convert a pitch of 6:12 to degrees?

Divide the rise by the run: 6 ÷ 12 = 0.5. The angle is the arctangent of 0.5, which is 26.57°, and the slope is 50 %.

What is the difference between a slope in percent and an angle?

They describe the same roof. A 100 % slope is 45°, but 50 % is not 50°: a percent is the rise per 100 units of run, and an angle is measured from the horizontal, so 50 % is 26.57°.

Why is the rafter longer than the half-width of the building?

The rafter is the sloping side of the roof, so it is longer than the horizontal half-width by the factor √(1 + slope²). The overhang adds to the horizontal length before that factor is applied.

How do I measure the rise and run of an existing roof?

Hold a spirit level or a straight board flat up the slope, then measure the vertical drop from its far end to the roof, and the horizontal length of the board. The two give the rise and the run.

Does the tool store what I enter?

No. The calculation runs in your browser and nothing you type is sent to us or stored.

Sources

Figures and text last checked on Tuesday, November 10, 2026.

We use necessary cookies to run the site. With your consent, Google also uses advertising cookies to show personalised ads. If you reject them, you still see ads, but they are not personalised.