Roof pitch calculator

Enter the pitch as x in 12, in degrees, in percent, or as a rise over a run. The calculator shows it in the other forms and, from the size of the building, finds the rafter length and the roof area.

Your roof
Units
Enter the pitch as
Roof shape
Width is across the slope, outside wall to outside wall; length is along the ridge. Leave the width empty to convert the pitch only.
More options
Pitch
/12 = =
Roof multiplier
Rafter length with overhang
Ridge height above the walls
Roof area
Roofing squares
Area on plan, with overhangs
Cross-section across the ridge. The dashed lines mark the top of the walls and the height of the roof. The small triangle shows the rise per 12 of run.

How the calculator works

  1. Pitch. The slope is the rise divided by the run. Times 12 gives the pitch in x in 12, times 100 the pitch in percent, and its arctangent the angle in degrees.
  2. Roof multiplier. √(1 + slope²): the length along the roof for each unit of level run. It turns any length or area on plan into the length or area on the roof.
  3. Rafter length. The run of a gable rafter is half the width of the building; a shed rafter spans the whole width. The calculator adds the overhang (at both ends for a shed roof) and multiplies by the roof multiplier. The length runs to the center of the ridge, so where the rafters meet a ridge board, each is shorter by half the board's thickness times the multiplier.
  4. Ridge height. The run times the slope, measured from the top of the walls.
  5. Roof area. The area on plan with the overhangs, times the roof multiplier. A roofing square is 100 sq ft. A hip roof with the same pitch on all sides has the same area as a gable roof over the same plan, so the multiplier works for it too.

Worked example

A house 24 ft wide and 40 ft long has a gable roof at 6/12 with 12 in of overhang all around.

StepCalculationResult
Pitch6 ÷ 12 = 0.5; arctan 0.526.57°, 50%
Roof multiplier√(1 + 0.5²)1.118
Ridge height12 ft × 0.56 ft (1.83 m)
Rafter length(12 ft + 1 ft) × 1.11814 ft 6 7/16 in (4.43 m)
Area on plan26 ft × 42 ft1,092 sq ft (101.5 m²)
Roof area1,092 sq ft × 1.1181,221 sq ft (113.4 m²), 12.2 squares

Order roofing for a little more than the roof area: hips, valleys, ridge caps and cut pieces need extra material. The roofing calculator counts the bundles of shingles with waste, the underlayment, the starter strip, the ridge cap and the drip edge.

Roof pitch chart

Each pitch in x in 12 with its angle, its percent and the roof multiplier.

PitchDegreesPercentMultiplier
1/124.76°8.3%1.003
2/129.46°16.7%1.014
3/1214.04°25%1.031
4/1218.43°33.3%1.054
5/1222.62°41.7%1.083
6/1226.57°50%1.118
7/1230.26°58.3%1.158
8/1233.69°66.7%1.202
9/1236.87°75%1.250
10/1239.81°83.3%1.302
11/1242.51°91.7%1.357
12/1245°100%1.414
14/1249.40°116.7%1.537
16/1253.13°133.3%1.667
18/1256.31°150%1.803
24/1263.43°200%2.236

Common pitches in degrees:

DegreesPitchPercentMultiplier
15°3.22/1226.8%1.035
20°4.37/1236.4%1.064
22.5°4.97/1241.4%1.082
25°5.60/1246.6%1.103
30°6.93/1257.7%1.155
35°8.40/1270%1.221
40°10.07/1283.9%1.305
45°12/12100%1.414
50°14.30/12119.2%1.556

Questions

How do you calculate roof pitch?

Measure how much the roof rises over a level run, and divide the rise by the run. Times 12 gives x in 12: a roof that rises 4 ft over 12 ft has a 4/12 pitch, 18.43° or 33.3%.

How do I measure the pitch of my roof?

Hold a level against the underside of a rafter or on the roof, mark 12 in along the level, and measure straight up or down to the rafter. That height is the rise per 12. On a photo taken straight at the gable end, measure the rise and run of the roof edge in any unit and enter both.

What is a 6/12 roof pitch in degrees?

26.57°, which is 50%. Its roof multiplier is 1.118, so each 100 sq ft on plan is about 112 sq ft of roof.

How do I find the roof area from the square footage of the house?

Add the overhangs to the size of the house, multiply length by width for the area on plan, and multiply by the roof multiplier for your pitch. Divide square feet by 100 for roofing squares.

How long is a rafter with an overhang?

Half the building width plus the overhang, times the roof multiplier. For a 24 ft wide house at 6/12 with 12 in of overhang, that is 13 ft × 1.118, about 14 ft 6 7/16 in to the center of the ridge.

What is the lowest pitch for asphalt shingles?

2/12. The International Residential Code allows asphalt shingles on slopes of 2/12 or more, with double underlayment from 2/12 to 4/12.

Sources

Embed this calculator

Add this calculator to your website. Copy the code and paste it into your page.

<iframe src="https://simplehouseplanner.com/tools/roof-pitch-calculator/?embed" title="Roof pitch calculator" width="100%" height="760" style="border: 1px solid #d9d9d9; border-radius: 12px" loading="lazy"></iframe>
<p><a href="https://simplehouseplanner.com/tools/roof-pitch-calculator/">Roof pitch calculator</a> · Simple House Planner</p>

Checked on 15 November 2026. The calculator gives geometry only. Ask your local building department or a structural engineer about rafter sizes and roofing rules where you build.