FramersMath

FramersMath › Roofing

Roofing Calculator

Roof area from the footprint and pitch, then the materials: squares, 4×8 sheathing sheets, shingle bundles, underlayment rolls, drip edge and ridge cap.

Roof

Roof
Along the ridge, wall to wall
Eave wall to eave wall
6 or 6/12
Inches, measured level
10% gable, 15% hip or cut-up
Roof area—
Squares (no waste)—
Squares to order (with waste)—
Slope factor—
4×8 sheathing—
Shingle bundles (3 per square)—
Synthetic underlayment (10 sq rolls)—
#15 felt (≈4 sq rolls)—
Drip edge—
Starter strip (eaves)—
Ridge + hip cap—

Material counts are estimates and round up. Assumes every roof plane has the same pitch and a simple rectangular footprint. Add dormers, valleys and other roofs separately. Check coverage on the product label: bundles per square varies by shingle.

⚠ Check all math and verify with a licensed engineer and your local building department before cutting or building. Results are estimates.

Sources: Roofing

  1. Right-triangle geometry (Pythagorean theorem and trigonometry)Standard mathRoof area = plan area × slope factor √(1 + (pitch/12)²); hip length uses √(2 + (pitch/12)²).
  2. Roofing material conventionsIndustry rule of thumb (check product labels)1 square = 100 sq ft; 3 shingle bundles per square; 4×8 sheet = 32 sq ft; 10-square synthetic and ~4-square #15 felt rolls; 10' drip edge pieces.

Code tables are copied from the documents above and checked against a second copy where noted. Your local code, its edition and amendments govern. Check all math and verify with a licensed engineer and your building department. See the terms & disclaimer.

How to use the roofing calculator

  1. Pick the roof type. Gable roofs have two slopes and gable ends. Hip roofs slope on all four sides. Shed roofs have one slope.
  2. Enter the footprint wall to wall: length along the ridge and width across it. Use 40' or 40' 6.
  3. Enter the pitch, like 6 or 6/12. Not sure? Use the roof pitch calculator.
  4. Enter the overhangs, measured level from the wall. On a hip roof the eave overhang is used on all four sides.
  5. Add waste. About 10% for a plain gable and 15% for a hip or a cut-up roof with valleys.

The math

Roof area is the footprint, including overhangs, times the slope factor for the pitch. The slope factor is the rafter length per foot of run: √(1 + (pitch ÷ 12)²). For 6/12 it's 1.118. When every plane has the same pitch, this works for gable, hip and shed roofs alike, because each plane's area is its plan area times the same factor.

Example: a 40' × 30' house with a 6/12 gable roof and 12" overhangs. With overhangs the plan is 42' × 32' = 1,344 sq ft. Times 1.118 that's 1,503 sq ft, or 15.03 squares. Add 10% and you need 52 sheets of 4×8 sheathing and 50 bundles of 3-bundle-per-square shingles.

Roofing terms

What it doesn't include

Valleys, dormers, skylights, chimneys and wall flashing all need their own material. Ice-and-water membrane along the eaves and in valleys is required in many cold climates. Check your local code and the shingle maker's installation instructions, since following them is often a warranty condition.

FAQ

How do I calculate roof squares?

Multiply the footprint, including overhangs, by the slope factor for your pitch, then divide by 100. A 42' × 32' plan at 6/12 (slope factor 1.118) is 1,503 sq ft, or about 15 squares before waste.

How many bundles of shingles are in a square?

Three for most 3-tab and architectural shingles. Some heavy or designer shingles take 4 or 5 bundles per square, so check the wrapper.

How many sheets of plywood do I need for my roof?

Divide the roof area by 32 (one 4×8 sheet) and add about 10% for waste. A 1,503 sq ft roof needs 52 sheets with 10% waste.

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

Not with the same footprint, pitch and overhangs. Both equal plan area times the slope factor. A hip roof does have more waste from cutting and more ridge cap, so plan on about 15% waste instead of 10%.

Disclaimer: Results are estimates for planning and layout only. Check all math yourself and verify with a licensed engineer and your local building department before cutting or building. FramersMath is not a substitute for engineered plans, span tables or code review. See the full disclaimer.