This roof pitch calculator turns rise and run into the pitch, the angle, the true roof area and the shingle shopping list. No sign-up. The working is shown under every number.
Quick example: a 6/12 pitch is a 26.6° angle with a 1.118 slope multiplier; on a 30 × 20 ft building that means 671 sq ft of roof and 21 shingle bundles.

| Item | Buy | Cost |
|---|---|---|
| Estimated total | $0.00 |
Pitch, angle, multiplier, rafter length and roof area lines are measurements, so they show $0.00 — the cost lines are the shingles and underlayment.
Estimate only — not a guarantee. Mistakes are possible, so always check the quantities with your supplier or a builder before you buy or build.
You do not need to climb the roof to measure its pitch. Easiest is the attic: hold a 12 in level horizontally against the underside of a rafter, and at exactly 12 in along the level from where it touches the rafter, measure straight down to the rafter — that drop, in inches, is the rise of your pitch. No attic access? Stand back and use a pitch-finder phone app against a gable end, or measure from a ladder at the eaves with the same level method on the top of a rafter tail. Measure in two places and use the larger reading if they differ; older roofs often sag slightly between rafters. The building dimensions, on the other hand, are measured at the walls — length along the eaves and width across the gable — because this calculator works from the flat footprint and applies the slope for you. Note the overhangs separately: the calculator's area is the wall footprint, so a roof with deep eaves covers a few percent more than the figure it prints.
Pitch is rise over run: a 7/12 roof climbs 7 in for every 12 in of horizontal distance. The angle comes from that triangle — a 7/12 pitch is 30.3°. The number that does the practical work is the slope multiplier: √(run² + rise²) ÷ run. For 7/12 that is √(144 + 49) ÷ 12 = 13.89 ÷ 12 = 1.158. Multiply the flat footprint of the building by 1.158 and you have the true roof surface. From there it is shopping: area ÷ 100 = squares, squares rounded up × 3 = shingle bundles, and area ÷ 400 = underlayment rolls. Rafter length is half the building width × the same multiplier.
Footprint = 40 × 24 = 960 sq ft. True roof area = 960 × 1.158 = 1,111 sq ft, which is 11.11 squares, rounded up to 12 squares. Shingles: 12 × 3 = 36 bundles. Underlayment: 1,111 ÷ 400 = 2.78, so 3 rolls. One rafter is 12 ft (half the width) × 1.158 = 13.9 ft before overhangs. At this page's example prices — $35 a bundle and $50 a roll — the materials total $1,410.00. Put rise 7, run 12 and the 40 × 24 ft building into the calculator above and it will show the same working, line by line.
Buy all the shingles in one order, from one production run if you can — color lots vary, and a roof patched from two lots shows it from the street. Ask about delivery to the roof (rooftop loading) if it is offered; it costs a little and saves carrying 36 bundles up a ladder. Keep one bundle back after the job for future repairs, stored flat and out of the sun — a discontinued color is unmatchable in five years, and a single stored bundle is cheap insurance.
If the two ends of the roof give you different pitches, trust the measurement taken twice, not the one taken once — and if the building has a rear addition, measure its pitch separately, because additions are often shallower than the main roof and a single averaged pitch under-orders both slopes. The rafter figure is worth a sanity check too: hold the longest rafter length the calculator gives you against the lumber your yard actually stocks. Rafter lengths come in 2 ft steps, and a 13.9 ft rafter means 16 ft stock and planned offcuts, not a 14 ft board that nearly fits.
A 6/12 pitch — the roof rises 6 in for every 12 in of horizontal run — is an angle of 26.6 degrees. Its slope multiplier is 1.118, the number you multiply a flat (plan) area by to get the true roof area.
Pitch is written as rise over run: how many inches the roof climbs over a horizontal distance. A 6/12 roof climbs 6 in over a 12 in run, and 12 in is the standard run this calculator starts from, though any rise and run can be entered.
At a 6/12 pitch, a 30 × 20 ft building has 671 sq ft of gable roof, which rounds up to 7 squares. At 3 bundles per square that is 21 bundles, plus 2 rolls of underlayment — $835.00 in total at this calculator's example prices.
The slope multiplier converts the flat footprint of a building into the true sloped roof area: true area = flat area × multiplier. This calculator works it out as √(run² + rise²) ÷ run, which gives 1.054 for a 4/12 pitch, 1.118 for 6/12, 1.202 for 8/12 and 1.414 for 12/12.
| Pitch | Angle | Multiplier | Roof area | Shingle bundles | Total |
|---|---|---|---|---|---|
| 4/12 | 18.4° | 1.054 | 632 sq ft | 21 | $835.00 |
| 6/12 | 26.6° | 1.118 | 671 sq ft | 21 | $835.00 |
| 8/12 | 33.7° | 1.202 | 721 sq ft | 24 | $940.00 |
| 12/12 | 45.0° | 1.414 | 849 sq ft | 27 | $1,095.00 |
Roof area is for a simple gable roof (both slopes). Totals include the shingle bundles and underlayment rolls at the example prices above.
These figures are planning estimates only — not a guarantee and not professional advice. Mistakes are possible, including through an error in this calculator. Always check the quantities, sizes, spacings and depths with your supplier, a licensed builder, and your local building code before you buy materials or start work. The owner of this site accepts no responsibility or liability for any loss, cost, damage, injury, wasted material or failed inspection that results from using these estimates. Prices are examples to start from, not live prices or quotes.