Roofing calculators

Roof area calculator

Enter the building footprint, roof type, pitch and overhangs to get the roof surface in square feet and roofing squares, plus the ridge, hip, eave and rake lengths you need for cap, starter and drip edge.

Section
in/12
ft

Wall to wall, without overhang. E.g. 12' 6"

ft

Shed roof: low eave to high wall. E.g. 12' 6"

Overhangs
in

Horizontal projection past the wall. E.g. 6-1/2"

in

Ignored for hip roofs. E.g. 6-1/2"

Roof area

1,503 ft²

15.0 squares · 1 square = 100 ft² of roof surface

Roofing squares
15.0 squares
Plan area (footprint with overhangs)
1,344 ft²
Slope factor
1.118
√(1 + (6/12)²)
Roof angle
26.6°
Ridge
42.0 ft
Hip + ridge (cap length)
42.0 ft
Eaves
84.0 ft
Drip edge and starter strip along the eaves
Rakes
71.6 ft
Drip edge on the gable ends
Roof cross-section: gable, 6/12 pitch, 32' spanSpan 32' including overhangs, rise 8', slope length 17' 10-11/16" per side, eave overhang 12".32'018'0216' × 1.118 = 17' 10-11/16"0312"04
Default example: 40 × 30 ft gable at 6/12 with 12 in overhangs, drawn to scale. Hip roofs use the same section; their ends slope at the same pitch.
  1. 01 Overall span including overhangs
  2. 02 Rise at the ridge
  3. 03 Slope length = run × slope factor
  4. 04 Eave overhang

How roof area is calculated

Every plane of a gable, hip or shed roof with one pitch is tilted by the same angle, so the roof surface is the flat footprint stretched by one number: the slope factor. You never need the rafter lengths to find the area.

slope factor = √(1 + (pitch ÷ 12)²)

plan area = (length + 2 × rake overhang) × (width + 2 × eave overhang)

roof area = plan area × slope factor

squares = roof area ÷ 100

A hip roof has eaves on all four sides, so it uses the eave overhang on both dimensions: plan area = (length + 2 × eave overhang) × (width + 2 × eave overhang).

A house with a porch, garage or wing is several sections, each with its own type and pitch. Every section's plan area is multiplied by its own slope factor, and the results are added: roof area = sum of (plan area × slope factor) over all sections.

The linear measurements follow from the same overhang-inclusive footprint (L′ × W′):

gable ridge = L′ hip ridge = L′ − W′ (0 if W′ ≥ L′)

hip length = (W′ ÷ 2) × √(2 + (pitch ÷ 12)²), four per hip roof

eaves = 2 × L′ (gable, shed) 2 × L′ + 2 × W′ (hip)

rakes = 2 × W′ × slope factor (gable, shed)

Worked example: 40 × 30 ft gable at 6/12

The calculator opens on a 40 × 30 ft gable roof at 6/12 with 12 in eave and rake overhangs.

  1. Slope factor: √(1 + (6 ÷ 12)²) = √1.25 = 1.118. The roof angle is 26.6°.
  2. Footprint with overhangs: 40' + 2 × 12 in = 42' long, and 30' + 2 × 12 in = 32' wide.
  3. Plan area: 42 × 32 = 1,344 ft².
  4. Roof area: 1,344 × 1.118 = 1,503 ft², or 15.0 squares.
  5. Ridge 42.0 ft, eaves 84.0 ft, rakes 2 × 32 × 1.118 = 71.6 ft.

Roof pitch factor table

Multiply the footprint area, overhangs included, by the factor for your pitch. The angle is the roof slope in degrees.

Slope factor = √(1 + (pitch ÷ 12)²), rounded to 3 decimals.
PitchSlope factorAngle
1/121.0034.8°
2/121.0149.5°
3/121.03114.0°
4/121.05418.4°
5/121.08322.6°
6/121.11826.6°
7/121.15830.3°
8/121.20233.7°
9/121.25036.9°
10/121.30239.8°
11/121.35742.5°
12/121.41445.0°
13/121.47447.3°
14/121.53749.4°
15/121.60151.3°
16/121.66753.1°
17/121.73454.8°
18/121.80356.3°

Measuring tips

  • Measure the building along the walls, not the roof. Use the outside of the wall framing or siding and take the length along the ridge direction.
  • Measure the overhang horizontally, from the wall face to the outside of the fascia, at one eave and one gable end.
  • Find the pitch with a 12 in level and a tape: hold the level against the underside of a rafter tail or on the roof surface and measure the rise over 12 in of run.
  • For an L-shaped or T-shaped house, enter the main block as the first section and each wing with “+ Add another section”; each wing adds its own ridge and eaves.
  • A porch, garage or wing at a different pitch or roof type is its own section. Add it with “+ Add another section” and set its type and pitch; the calculator applies each section's slope factor before adding up the squares.

When to hire a pro

Get a roofer to measure if the roof is steeper than about 8/12, has several pitches, valleys or dormers, or if you are comparing bids. Many roofers use aerial or drone measurements, which pick up every facet and are a good check on a hand measurement. Never walk a wet, icy or steep roof without fall protection.

Sources

  • International Code Council, 2021 International Residential Code, Section R905.2.2 (asphalt shingle slope limits) and R905.1.1 (underlayment)
  • Slope factor: Pythagorean theorem on the rise and run of one roof plane, √(1 + (rise/12)²)
  • Industry convention: 1 roofing square = 100 ft² of roof surface

Frequently asked questions

What is a roofing square?

A roofing square is 100 square feet of roof surface, so a 1,500 ft² roof is 15 squares. Shingles, underlayment and many metal panels are sold and priced by the square.

What is the slope factor for a 6/12 roof?

The slope factor for a 6/12 roof is 1.118; for 12/12 it is 1.414. Multiply the footprint, including overhangs, by the factor to get the roof surface area. The factor is the square root of 1 + (rise ÷ 12)².

Does a hip roof have more area than a gable roof?

No, not when every plane has the same pitch and the overhangs match. A hip roof over the same footprint has the same surface area as a gable roof; the hips move material from the gable ends to the sides. It does have more hip and ridge cap and more eave length.

What is the minimum pitch for asphalt shingles?

The International Residential Code (IRC R905.2.2) allows asphalt shingles only on slopes of 2/12 or steeper. From 2/12 up to 4/12 it requires a double layer of underlayment (R905.1.1). Below 2/12, use a low-slope membrane or rolled roofing.

Do I need to climb on the roof to measure it?

Rarely. Measure the footprint from the ground along the walls, measure the overhang at one eave and one gable end, and read the pitch with a level and tape from a ladder, from the attic or from the plans. The slope factor does the rest.

Do valleys, dormers and cut-ups change the roof area?

Not much. They change waste more than area. Use this calculator for the surface, then add waste for valleys, dormers and hips in the shingle calculator’s waste setting.

Guides