Roofing calculators
Roofing numbers start with the pitch. Once you know how many inches the roof rises for every 12 inches of run, you can work out the length of each rafter, the true area of the roof and how many bundles of shingles to order. These four calculators follow that order: roof pitch, rafter length, roof squares and shingles.
Measure from the ground or the attic where you can. The roof pitch calculator works from rise and run or from an angle in degrees. The rafter calculator adds the overhang and gives the plumb and seat cut angles. The roof square calculator turns the footprint into roof area in squares of 100 square feet, and the shingle calculator adds starter, ridge cap and waste.
These tools give lengths, areas and quantities, not structural sizes. Rafter size, spacing and roof loads come from your local building code, and work on a roof is safer left to a professional when you are unsure.

Calculators
Roof Pitch Calculator
Pitch, angle in degrees, slope and multiplier.
Open calculatorRafter Length Calculator
Rafter length, lumber to buy and plumb cut angle.
Open calculatorRoof Square Calculator
Roof area and roofing squares from the footprint.
Open calculatorShingle Calculator
Shingle bundles, starter strip and ridge cap.
Open calculator
Which roofing calculator do I need?
Start with the roof pitch calculator if you don't know your pitch, because every other roofing number depends on it. You can measure the rise over 12 inches of run in the attic, or enter an angle from a phone app.
Building or replacing rafters? The rafter length calculator gives the length of each rafter, including the overhang, plus the plumb and seat cut angles. It does not size the lumber. Rafter size and spacing come from your local code span tables.
Getting a quote or pricing a reroof? The roof square calculator turns the house footprint and pitch into roof area in squares of 100 sq ft, the unit roofers quote in. A hip roof has the same area as a gable roof on the same footprint, but it wastes more, so plan on about 15% extra instead of 10%.
Buying shingles? The shingle calculator turns roof area into bundles, usually 3 per square, and adds starter strip, ridge cap and rolls of underlayment.
Guides
- reference
How Many Bundles of Shingles in a Square? Type & Weight
How many bundles of shingles in a square: 3 for 3-tab and architectural, 4 or 5 for designer. Coverage per bundle, weight and counts for common roofs.
Read guide - how-to
How to Calculate Rafter Length: 3 Methods by Hand
How to calculate rafter length by hand: rise and run with a tape, the framing square table, or stepping off with a speed square, plus the birdsmouth.
Read guide - reference
Roof Pitch Chart: x/12 to Degrees
Roof pitch chart from 1/12 to 24/12: angle in degrees, percent grade, area multiplier and rafter per foot, plus a degrees-to-pitch lookup.
Read guide - how-to
Shed and Lean-To Roof Pitch Guide
Shed roof pitch guide: pick a pitch by roofing type, find how much taller the high wall must be, and fit a lean-to under a house ledger.
Read guide
Frequently asked questions
What is a roofing square?
A square is 100 square feet of roof surface. Shingles, underlayment and roofing labor are usually priced per square, so the roof square calculator gives its answer in squares as well as square feet.
Can I measure roof pitch without climbing on the roof?
Often, yes. You can measure the rise over 12 inches of run on a rafter in the attic or on the gable end with a level and tape. The roof pitch calculator also accepts an angle in degrees from a phone app.
Do these calculators tell me what size rafters to use?
No. They give rafter length and cut angles only. Lumber size and spacing depend on the span, the wood species and grade, and the snow and wind loads where you build, so take them from your local code span tables or an engineer.