Roof Square Foot Calculator: How to Measure
- Roofing squares
- 100 sq ft
- Result
- Building length
- 40 ft
- You entered
- Building width
- 30 ft
- You entered
This roof square footage calculator works out the total area of a simple gable or hip roof from your home’s footprint and roof pitch. You enter the building length, building width, and roof pitch (rise per 12 inches), and it returns the total roof surface area in square feet, plus the number of roofing squares (100 sq ft units) you would order. The calculator uses the standard formula for sloped roof area: footprint area divided by the cosine of the roof pitch angle.
Formula
The roof area is calculated by dividing the flat footprint area by the cosine of the roof pitch angle:
Roof Area = (L × W) / cos(θ)
where:
- L = building length (feet)
- W = building width (feet)
- θ = roof pitch angle = arctan(pitch / 12), where pitch is the rise in inches per 12 inches of horizontal run
For a gable roof, this gives the total area of both slopes combined. For a hip roof, the formula is a close approximation for moderate pitches; the exact area depends on the hip geometry and overhang.
Worked Example
Using the default values: building length = 40 ft, width = 30 ft, pitch = 6/12.
- Calculate the footprint area: 40 × 30 = 1200 sq ft.
- Convert pitch to angle: arctan(6/12) = arctan(0.5) ≈ 26.565°.
- Cosine of angle: cos(26.565°) ≈ 0.8944.
- Roof area = 1200 / 0.8944 ≈ 1341.6 sq ft.
- Roofing squares = 1341.6 / 100 ≈ 13.4 squares.
The calculator rounds the area to one decimal, giving 1341.6 sq ft and 13.4 squares.
Why Roof Area Differs from Floor Area
Many homeowners are surprised that the roof area is larger than the house footprint. The pitch (slope) is the main reason. A 6/12 pitch adds about 12% to the area; a 12/12 pitch (45°) adds 41%. The steeper the roof, the more surface area for the same footprint. Overhangs (eaves) also add area, but the calculator does not include them. If your roof has a 1-foot overhang on all sides, add 2 feet to both length and width before entering values for a more accurate estimate.
Roof area matters for estimating materials: shingles, underlayment, flashing, and ventilation. It also affects cost, since contractors price by the square (100 sq ft).
How to Measure Your Roof for the Calculator
You need two measurements: the building footprint (length and width) and the roof pitch. Here’s how to get them safely:
- From the ground: Measure the exterior walls length and width with a tape measure. Add overhang if you want it included.
- From blueprints: If you have house plans, the dimensions are listed on the floor plan.
- Roof pitch: Use a pitch gauge tool, or measure with a level and tape: hold a 12-inch level horizontally against the roof, measure the vertical rise at the 12-inch mark. That number is the pitch (e.g., 6 means 6/12).
- From inside the attic: Place a level against a rafter and measure the rise over a 12-inch run.
Never climb onto a roof without proper safety equipment and a partner. If you are unsure, use satellite measurement apps or hire a professional.
Common Mistakes and How to Avoid Them
- Using floor area instead of footprint: The calculator wants the building footprint (outer walls), not the interior living space.
- Mixing units: If you measure in feet, keep everything in feet. If you measure in meters, convert to feet (1 m = 3.281 ft) before entering.
- Forgetting overhangs: For a roof with 1-ft eaves, add 2 ft to each dimension. Not doing so can undercount by 10–15%.
- Assuming hip and gable are the same: The formula works for gable roofs exactly. For hip roofs, it’s an approximation; the error grows with pitch and hip length. For complex roofs (multiple valleys, dormers), break the roof into sections and add them.
- Rounding too early: Keep decimals during calculation; round only the final result.
Understanding the Output: Squares and Waste
Roofing materials are sold by the square (100 sq ft). The calculator gives you the net area. In practice, you need to add waste: about 10% for shingles on a simple roof, up to 20% for complex roofs with valleys and hips. For example, a 13.4-square roof might require 15 squares after waste. Also, ridge caps, starter strips, and underlayment are sold separately. The calculator does not include these; use it as a planning tool, not a final order.
Limits of This Calculator
This calculator assumes a simple gable roof (two flat slopes) with no overhang, no valleys, no dormers, and no other features. Real roofs are often more complex. For a hip roof, the formula is an approximation that works well for pitches up to about 8/12. For complex roofs, the most accurate method is to measure each plane (each flat section) separately and add them. If you have a multi-section roof, use the calculator for each section and sum the results. Always have a professional contractor verify measurements before purchasing materials.
Frequently Asked Questions
How do I find my roof pitch if I can’t climb up?
You can measure pitch from the attic: place a level against a rafter, hold it level, and measure the rise over a 12-inch run. Or use a pitch gauge on the underside of the roof sheathing. If you can’t access either, estimate from a photo using an app, or hire a professional.
What is a roofing square?
A roofing square is 100 square feet of roof surface. It’s the standard unit for ordering shingles and estimating labor. For example, a 1,500 sq ft roof is 15 squares.
Does the calculator include the overhang?
No, it does not. To include a 1-foot overhang on all sides, add 2 feet to both the length and width before entering them. For example, a 40×30 house with 1-ft overhangs becomes 42×32.
Why is my roof area bigger than my house area?
Because the roof is sloped, its surface area is larger than the flat footprint. The steeper the pitch, the larger the difference. A 6/12 pitch adds ~12%, a 12/12 pitch adds ~41%.
Can I use this for a flat roof?
Yes, set the pitch to 0. The calculator will return the footprint area as the roof area, which is correct for a flat roof with no slope.
How much waste should I add when ordering shingles?
For a simple gable roof, add 10% waste. For a hip roof or one with valleys, add 15–20%. This accounts for cutting, trimming, and mistakes. Always round up to the next full square.
Related
Formula used
in l | Building length | ft | 40 | 0 in w | Building width | ft | 30 | 0 in p | Roof pitch (rise/12) | in/ft | 6 | 0 out area | Roof area | sq ft | (l * w) / cos(atan(p / 12)) | 1 out squares | Roofing squares | 100 sq ft | (l * w) / cos(atan(p / 12)) / 100 | 1
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.