Construction, Carpentry & Concrete Roofing & Rafters Slope-factor method; 1 roofing square = 100 ft²

Roof Area Calculator (From Footprint & Pitch)

You can take off an entire roof from the ground. Measure the building's length and width, read the pitch off a rafter or a gable end, add the overhangs, and multiply the resulting footprint by the slope factor — the ratio of sloped length to horizontal length for that pitch. This calculator does that for gable, hip and shed roofs, and returns the sloped area, the number of roofing squares to order after waste, and the ridge, hip or rake and eave lineal footages you need for cap, drip edge and flashing.

Calculator

This calculator runs in your browser. Enable JavaScript for live results — the inputs, formula and worked example below remain fully readable without it.

Inputs this calculator takes, with typical values
InputWhat to enterExample
Roof typePick the shape of the main roof; run wings and dormers as separate calculations and add them.Gable — two planes, vertical gable ends
Building length (ridge direction)The wall-to-wall dimension the ridge runs parallel to, measured outside face to outside face.40 ft
Building width (span direction)The dimension the rafters span across, outside face to outside face of the wall plates.30 ft
Roof pitch (rise per 12 in of run)Measure it with a level and tape in the attic, or read it from the plans as the x in x:12.6 in
Eave overhang (horizontal)Horizontal projection from the outside of the wall to the fascia — not the sloped length of the tail.12 in
Rake overhang (gable end)Horizontal projection past the gable end wall; a hip roof has none, so it is ignored there.12 in
Waste allowanceExtra material for starter course, cap, hip and valley cuts and off-cuts; crews commonly use 10% on a simple roof and more on a cut-up one.10 %
Additional sloped areaSloped area of dormers, porch roofs or wings you have already worked out separately; it is added as entered.0 ft²

It returns

  • Actual sloped roof area — The real surface a roofer walks and covers, including overhangs.
  • Roofing squares to order — Sloped area plus your waste allowance, divided by 100.
  • Footprint (plan) area — The shadow the roof casts on the ground, overhangs included.
  • Slope factor used
  • Ridge length — On a shed roof this is the high edge.
  • Hip or rake lineal length — Hip rafters on a hip roof; sloping rake edges on a gable or shed roof.
  • Eave (drip edge) length — Total run of the low, guttered edges.

The formula

Aroof=Aplanx2+14412
squares=Aroof(1+w)100
Lhip=Wplan2x2+28812

In plain text: A_roof = (L + 2·rake) × (W + 2·eave) × √(x² + 144) / 12

  • A_roofTrue sloped surface area of the roof (ft²)
  • A_planFootprint area including overhangs — the roof's shadow on the ground (ft²)
  • xRise in inches per 12 inches of run (the x in a pitch written x:12) (in)
  • LBuilding length in the ridge direction (ft)
  • WBuilding width in the span direction (ft)

The slope factor scales area as well as length because each roof plane is stretched only in the direction of steepest slope; the horizontal dimension across the slope is unchanged. A hip roof uses the eave overhang on all four sides and has no rake.

Updated Category Roofing & Rafters Verified against published test cases Reading time 10 min

How pitch turns a footprint into roof area

A roof plane is a rectangle tilted about one edge. Tilting stretches it in the direction of steepest slope and leaves the perpendicular dimension alone, so its true area is its horizontal projection multiplied by a single number that depends only on pitch. That number is the slope factor, √(x² + 144)/12 for a pitch of x:12. At 6:12 it is 1.118, so a roof covers 11.8 percent more surface than the ground it shades. At 12:12 it is 1.414 — 41 percent more.

This is what lets you estimate a roof without setting foot on it. Everything you need is measurable from the ground or from the attic: the outside dimensions of the walls, the horizontal projection of the overhangs, and the pitch. The roof pitch calculator converts a measured angle or a taped rise and run into the x:12 form this page wants.

The result matters because roofing is sold and priced by the square — 100 square feet of finished roof surface. Asphalt shingles come three bundles to the square for most architectural products; underlayment, ice barrier and synthetic felt are all sold in rolls rated in squares. Order against the footprint instead of the sloped area and your quantity is short by the slope factor: 11.8 percent on a 6:12 roof, which is more than one bundle in ten, and 41.4 percent at 12:12.

How each roof shape uses the footprint

Gable. Two rectangular planes meeting at a ridge, with vertical gable ends. The eave overhang widens the span direction and the rake overhang lengthens the ridge direction, so the plan rectangle is (L + 2·rake) by (W + 2·eave). The gable end walls are vertical and contribute no roof area at all — a point that catches people who try to add the triangles.

Hip. Four planes, no gable ends, and an eave on every side, so the plan rectangle is (L + 2·eave) by (W + 2·eave) and there is no rake. The important and slightly surprising result: a hip roof and a gable roof over the same plan rectangle at the same pitch have identical surface area. The two trapezoids and two triangles of the hip reassemble into the same projected rectangle. What changes is the linework — the ridge shortens to the difference between the plan dimensions, and you gain four hip rafters.

Shed. One plane sloping across the width. Plan area is the same rectangle as a gable; you get one high edge, one eave, and two rake edges. Shed roofs are the usual choice on additions and outbuildings, and they are where you most often meet slopes below 4:12.

Dormers, cross-gables and porch roofs are separate rectangles. Work each out on its own, then enter the total in the additional-area field. A cross gable also removes a little area from the main roof where it intersects, but the valley cuts create waste that more or less offsets it, which is why estimators leave both out and raise the waste factor instead.

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

A single-storey house measures 40 ft along the ridge and 30 ft across the span, outside face to outside face. The eaves and the rakes both project 12 in. The pitch is 6:12 and you want a 10 percent waste allowance.

  1. Slope factor. 6² = 36; 36 + 144 = 180; √180 = 13.4164; ÷ 12 = 1.118034.
  2. Plan length. 40 + 2 × 1 ft rake = 42 ft.
  3. Plan width. 30 + 2 × 1 ft eave = 32 ft.
  4. Footprint. 42 × 32 = 1,344 ft².
  5. Sloped area. 1,344 × 1.118034 = 1,502.6 ft².
  6. Squares to order. 1,502.6 × 1.10 = 1,652.9 ft², ÷ 100 = 16.53 squares. Round up to 17 squares, or 51 bundles of a three-bundle-per-square shingle.
  7. Linework. Ridge = 42 ft. Eaves = 2 × 42 = 84 ft of drip edge and gutter. Rakes = 2 × 32 × 1.118034 = 71.6 ft of rake trim.

Change nothing but the roof type to hip and the area stays at 1,502.6 ft² while the linework changes completely: the ridge drops to 42 − 32 = 10 ft, the four hips total 2 × 32 × 1.5 = 96 ft, and the eave runs the full 148 ft perimeter. That is why hip roofs cost more to shingle without covering more area — cap shingles, cut waste and labour all scale with linework, not surface.

Reading the result and choosing a waste factor

Squares are the unit that matters. Suppliers quote by the square and by the bundle. Round the squares figure up to the next whole square, then convert to bundles using the wrapper on the product you are buying — most architectural shingles are three bundles per square, some heavyweight products are four or five. The shingle bundle calculator takes the area from this page and handles starter, cap and the bundle count.

Waste is a judgement, not a formula. A simple gable with two rakes and no penetrations wastes very little; roofers commonly work at 10 percent. Every valley, hip, dormer, skylight and chimney adds cuts, and cut-up roofs are commonly estimated at 15 percent and sometimes more. Diagonal-pattern or staggered products waste more again. Whatever number you pick, record it — the difference between 10 and 15 percent on this example is 0.75 of a square, about two bundles.

The lineal figures drive their own materials. Ridge and hip lengths set the ridge cap quantity and the ridge vent run. Eave length sets drip edge, gutter and any ice barrier at the eave. Rake length sets rake drip edge and trim. Buy those from the lineal outputs, not from the area.

Sanity-check against the plan. With the additional-area field at zero, dividing sloped area by footprint area must give the slope factor back exactly; the two areas are equal only on a dead-flat roof, where the factor is 1. Anything you type into the additional-area field is added on top and breaks that check, which is the first thing to look at if the ratio comes out wrong. If your measured roof area from a satellite report differs from this calculation by more than a few percent, the usual causes are an overhang you did not include or a second pitch on part of the roof.

Roof area per 1,000 square feet of footprint

Sloped roof area and squares for every 1,000 square feet of measured footprint, including overhangs. Scale linearly: a 2,400 ft² footprint at 6:12 carries 2.4 × 1,118 = 2,683 ft² of roof.
PitchSlope factorRoof area per 1,000 ft² footprintSquares at 10% waste
1:121.00351003 ft²11.04
2:121.01381014 ft²11.15
3:121.03081031 ft²11.34
4:121.05411054 ft²11.60
5:121.08331083 ft²11.92
6:121.11801118 ft²12.30
7:121.15771158 ft²12.73
8:121.20191202 ft²13.22
9:121.25001250 ft²13.75
10:121.30171302 ft²14.32
11:121.35661357 ft²14.92
12:121.41421414 ft²15.56

Slope factor is √(x²+144)/12. The squares column includes a 10 percent waste allowance; drop it by dividing by 1.10 if you want measured squares.

Errors that make a takeoff short

  • Leaving out the overhangs. A 12 in eave and rake on a 40 × 30 house adds 1,344 − 1,200 = 144 ft² of footprint, about 1.6 squares of roof. It is the most common shortfall of all.
  • Using the sloped tail length as the overhang. The overhang input is horizontal projection. A 16 in tail measured along a 6:12 rafter projects only 14.3 in.
  • Adding the gable triangles. Gable ends are vertical wall, not roof. The plan rectangle already accounts for both roof planes.
  • Assuming a hip roof has more area than a gable. It does not, at equal pitch and equal plan. It has more linework and more cutting waste.
  • Missing a second pitch. Porches and additions are routinely framed flatter than the main roof. Run them separately and enter the result as additional area.
  • Ordering exactly the calculated squares. Round up, and keep a bundle or two for repairs — shingle colour lots shift between production runs.

Where this method stops, and what to use instead

The slope-factor method is exact for any roof made of planes of a single pitch over a rectangular plan. It stays exact for L-shaped and T-shaped buildings if you break the plan into rectangles and add them. It stops being exact for curved roofs, for barrel and gambrel forms, and for any roof where planes of different pitch meet at an irregular valley — there you measure or model each plane.

It also says nothing about structure. Whether the framing carries the roof is a question of rafter span, species, grade, spacing and load, answered by the span tables in IRC section R802 or by an engineered design; the rafter length calculator gives you the geometry those tables key on. Snow and wind loads on the same area come from ASCE 7 through the roof snow load calculator.

For insurance and solar work, aerial measurement reports do the same arithmetic from photogrammetry and will usually agree with a careful hand takeoff to within a percent or two. Use this page to check one, or to price a job before the report arrives. Once the area is settled, the cost per square foot calculator turns it into money.

Frequently asked questions

How many squares of shingles do I need for a 2,000 square foot house?

It depends on the pitch, but for a 2,000 ft² footprint at a common 6:12 pitch the roof is 2,000 × 1.118 = 2,236 ft², which is 22.4 squares measured and about 24.6 squares with a 10 percent waste allowance — call it 25 squares. At 4:12 the same footprint needs 23.2 squares with waste; at 12:12 it needs 31.1. Add your overhangs to the footprint before you start.

Is a hip roof bigger than a gable roof?

No — over the same plan rectangle and at the same pitch, the two have exactly the same surface area. The hip's four planes project onto precisely the same footprint. What differs is linework: the hip has a shorter ridge, four hip rafters, and eaves on all four sides, so it uses more ridge cap and generates more cutting waste. Estimators usually raise the waste factor on a hip roof rather than the area.

Do I measure the overhang along the roof or across the ground?

Across the ground — the horizontal projection from the outside face of the wall to the fascia. If you have measured the rafter tail along its length instead, divide by the slope factor to get the projection. A 16 in tail on a 6:12 roof projects 16 ÷ 1.118 = 14.3 in horizontally.

What waste percentage should I use?

Ten percent is the usual starting point for a simple gable with no valleys. Cut-up roofs with multiple hips, valleys, dormers and penetrations are commonly estimated at 15 percent, because every one of those features means cutting shingles at an angle and discarding the offcut. Whatever you use, order in whole squares and keep the leftovers — shingle colour varies between production lots.

Can I get roof area from Google Maps or a satellite image?

You can get the footprint from an aerial image, but not the roof area — a photograph from directly overhead shows the plan projection, which is exactly the number you still have to multiply by the slope factor. Measure the pitch separately, in the attic or with a pitch gauge on a rake board. Commercial aerial reports solve this with stereo photogrammetry, which recovers the pitch as well.

How do I handle a dormer or a cross gable?

Work it out as its own small roof and enter the result in the additional sloped area field. A shed dormer is a shed roof over its own plan rectangle; a gable dormer is a small gable. The area the dormer removes from the main roof is small and is normally left in, because the valley cuts it creates waste more material than it saves.

What is a roofing square?

One hundred square feet of finished roof surface. It is the trade unit for every steep-slope roofing material: shingles, underlayment, ice barrier and synthetic felt are all quoted per square. Most architectural asphalt shingles come three bundles to the square, so 25 squares is 75 bundles, but heavier products run four or five bundles, so check the wrapper before you convert.

Does this calculator include the fascia, soffit or gutters?

No, but it gives you the lineal figures those trades price from. The eave length is your drip edge and gutter run and the fascia length on the eave sides; the rake length is the rake trim; the ridge length is the ridge cap and any ridge vent. Soffit area is the eave length times the horizontal overhang, which you can work out from the same two numbers.

Why does my roof area differ from my insurance adjuster's report?

The two usual causes are overhangs and mixed pitches. Adjusters' aerial reports measure to the drip edge and pick up every plane, including porch and dormer roofs at their own pitches, while a hand takeoff often uses wall dimensions and one pitch. Check that you added both overhangs and that you have not applied the main roof's pitch to a flatter porch.

References

  • 2021 International Residential Code, Section R905 — Requirements for Roof Coverings — International Code Council
  • The NRCA Roofing Manual: Steep-slope Roof Systems — National Roofing Contractors Association
  • Architectural Graphic Standards, 12th ed. — John Wiley & Sons