Free online roofing calculator
Roofing material is sold by the square (100 sq ft of sloped surface). Enter your roof footprint and pitch to get sloped area, bundle count, ridge cap, and nails needed.
Saved to favorites
Your favorites live on the home page, under Your favorites. They're saved only on this device & browser — open the site on your phone or in another browser and you won't see them there. No account, no server.
How to use
- Enter roof length and width (the flat footprint).
- Select the roof pitch from the dropdown.
- Choose architectural or 3-tab shingles.
- Set the waste factor (10% for a simple gable).
- Read sloped area, squares, and bundle count.
Formulas
pitchFactor = sqrt(1 + (rise/run)²)
e.g. 6/12 → sqrt(1 + 0.5²) = sqrt(1.25) ≈ 1.118
baseSqFt = roofLength × roofWidth
slopedSqFt = baseSqFt × pitchFactor
squares = slopedSqFt × (1 + waste/100) / 100
bundles = ceil(squares × bundlesPerSquare)
3-tab: 3 bundles/square
architectural: 4 bundles/square
ridgeLength ≈ roofWidth / 2
ridgeBundles = ceil(ridgeLength / 35)
nails (lbs) = ceil(squares × 2.5)
Worked example
40 ft × 30 ft roof, 6/12 pitch, architectural shingles, 10% waste:
pitchFactor = sqrt(1 + (6/12)²) = sqrt(1.25) ≈ 1.118
baseSqFt = 40 × 30 = 1,200 ft²
slopedSqFt = 1,200 × 1.118 ≈ 1,342 ft²
squares = 1,342 × 1.10 / 100 ≈ 14.76 squares
bundles = ceil(14.76 × 4) = 60 bundles
ridge = 30 / 2 = 15 ft → ceil(15/35) = 1 bundle
nails = ceil(14.76 × 2.5) = 37 lbs
Notes
- Measure the flat footprint from the ground using the exterior wall dimensions. The pitch factor does the rest.
- Order a few extra bundles beyond the estimate; shingles from different lots may not match exactly if you run short mid-job.
- Drip edge runs along the eaves (roof length × 2) and rakes (roof width × 2 × pitchFactor) — order separately.
Frequently asked
What is a roofing square?
How does roof pitch affect the material quantity?
How many bundles of shingles per square?
What waste factor should I use for roofing?
How much ridge cap do I need?
How do I share my roofing calculation?
Embed this calculator
Add this free calculator to your own site. Copy the snippet — it works anywhere you can paste HTML, and stays in sync with this page.
Related calculators
- Framing calculator
Calculate studs and lumber for the walls below the roof.
- Gutter calculator
Size gutters and downspouts for the roof area you just calculated.
- Square footage calculator
Measure floor and wall area for other material estimates.
- Insulation calculator
Estimate attic insulation after the roof is on.
- Concrete calculator
Calculate concrete for the foundation footings.