Roofs

Roof calculator

Roof area is the footprint including the overhangs times the pitch's rafter factor. A 40 × 28 ft house with 12 in eaves at 6/12 has 42 × 30 = 1,260 sq ft of footprint and 1,409 sq ft of roof, about 14.1 squares.

Framing Calculators editorial teamUpdated 2 sources

Calculator

Roof calculator

Footprint and pitch in; roof area, squares, shingle bundles and edge lengths out.

ft
ft
in 12
in
More options
%

Type lengths the way you read a tape: 8' 9", 7 3/4 or 7.75. Metric: 2667 mm or 2.667 m.

42′ 0″30′ 0″
Roof area1,409 sq ft1,260 sq ft footprint × 1.118
Squares to order15.5incl. waste
Shingle bundles47

Edges and trim

Eaves (drip edge)
84′ 0″
Rakes (drip edge)
67′ 1″
Ridge (ridge cap)
42′ 0″
Pitch
6/12 · 26.6°

Valleys, dormers and other roof planes are not included. Measure each extra plane and add it.

How it works. Roof area = (length + 2 × overhang) × (width + 2 × overhang) × √(1 + (pitch ÷ 12)²). Squares = area × (1 + waste) ÷ 100. Bundles = squares × bundles per square.

Roof calculator square feet: the one-line method

For any roof whose planes all share one pitch, the roof area is the footprint (with overhangs) times the rafter factor, whether it is a gable, a hip or a shed. The slope only stretches the plan area in one direction, and the factor √(1 + (pitch ÷ 12)²) is that stretch. You can measure the footprint on the ground, which is safer than walking the roof.

Roof area per 1,000 sq ft of footprint
PitchFactorRoof areaSquares
3/121.0311,031 sq ft10.31
4/121.0541,054 sq ft10.54
5/121.0831,083 sq ft10.83
6/121.1181,118 sq ft11.18
7/121.1581,158 sq ft11.58
8/121.2021,202 sq ft12.02
9/121.251,250 sq ft12.5
10/121.3021,302 sq ft13.02
12/121.4141,414 sq ft14.14

Shingle calculator: squares and bundles

A shingle calculator works in squares: one roofing square is 100 sq ft of roof. Divide the area by 100, add a waste allowance for cutting at hips, valleys and rakes, and multiply by the number of bundles in a square, which the shingle wrapper states. Hips and valleys waste more than a plain gable.

  • Asphalt shingles need a pitch of at least 2/12; from 2/12 to 4/12 the IRC requires double underlayment[1].
  • Ridge cap and hip cap are ordered by length; the tool lists both.
  • Drip edge runs along the eaves and the rakes.

Gable, hip and shed edges

Edge lengths the calculator reports
RoofEavesRakesRidgeHips
Gable2 × length4 × rafter lengthlength–
Hipfull perimeter–length − width4 × hip length
Shedlength2 × slope length––

Hip rafters on a regular hip roof rise at the same pitch over a run 1.414 times longer; the hip roof calculator gives their lengths. Below 3/12, the IRC wants ridges and hips designed as beams[2].

Measuring a complicated roof

Split it into rectangles that each have one pitch, run the calculator for each, and add them. Dormers, porch roofs and valleys between wings are separate planes. If the pitch is unknown, measure it first with the roof pitch calculator. For panel roofs the metal roof calculator counts panels instead of squares, and the rafter calculator gives the framing.

Stay off steep roofsFootprint measurements from the ground give the same area. Leave roof walking to people with fall protection.

Common roof measuring mistakes

Most roofing orders come up short because of the overhangs or the pitch:

  • Footprint without overhangs. Add the eave and rake overhangs to the length and width.
  • Squares of footprint. A square is 100 sq ft of roof surface, after the pitch factor.
  • No waste for hips and valleys. Cut roofs waste more than a plain gable.
  • Shingles on a low slope. Asphalt shingles need at least 2/12 (2021 IRC R905.2.2)[1].

Frequently asked questions

How do I calculate the square footage of my roof?

Multiply the footprint (length × width, including overhangs) by the rafter factor for your pitch. At 6/12 the factor is 1.118.

How many squares is a 2,000 sq ft roof?

20 squares, since one square is 100 sq ft. Add waste before ordering.

How many bundles of shingles do I need?

Squares (with waste) × bundles per square. The wrapper states how many bundles cover a square.

Is there a roof calculator app?

Yes: this page is built to work as one on a phone. It runs in any mobile browser with no sign-up, and you can add it to your home screen from the browser menu.

Does a hip roof have more area than a gable?

Not at the same pitch and footprint: both equal footprint × rafter factor. A hip roof does need more cutting, so allow more waste.

How many shingles do I need?

Roof area ÷ 100 gives squares; multiply by the bundles per square printed on the wrapper and add waste. A 1,400 sq ft roof is 14 squares: 42 bundles at 3 per square, before waste.

What is the minimum roof pitch for shingles?

2/12 under IRC R905.2.2, and between 2/12 and 4/12 two layers of underlayment are required.

Sources

  1. 2021 International Residential Code, Chapter 9: Roof Assemblies (R905 minimum slopes) · International Code Council, accessed November 13, 2026
  2. 2021 International Residential Code, Chapter 8: Roof-Ceiling Construction (R802 rafters) · International Code Council, accessed November 13, 2026