Works on this device
Roofing Calculator
Find the pitch, the area and the rafter length of a roof, then count the materials: shingle bundles, metal panels, tiles, underlayment, trim and gutters. Every coverage figure is a box that you fill in from your own product.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Calculate.
Your result
How it was worked out
How to use this calculator
- Choose what you want to work out, for example Roof pitch, angle and pitch factor or Shingle roof: bundles and other materials.
- Choose the roof shape, or choose that you know the roof area already.
- Type the size of the building, the overhangs and the pitch. A length can be typed as feet and inches, such as 12 ft 6 in, or with a fraction, such as 10 1/2.
- Check each coverage box against your product: the bundles for one square, the cover width of a panel, the tiles for one square metre.
- Set the extra for waste, then choose Calculate. Use Copy the materials list to copy the list as plain text.
What each option does
- Roof pitch, angle and pitch factor converts between rise in 12, degrees, percent and a ratio such as 1 in 40. It also takes a rise and a run that you measured. It shows a conversion chart.
- Rafter length, roof height, hips and valleys gives the length of a common rafter, the height of the ridge, the cut angles, and the length of a hip or valley rafter.
- Roof area from the building size covers gable, hip, shed, flat and gambrel roofs, and a roof with two slopes that differ. It gives the area, the roofing squares and the lengths of the ridge, hips, eaves and rakes.
- Roof area from a list of roof planes adds up rectangles, triangles and trapezoids for a roof with many parts.
- Roofing squares and what a bundle covers turns an area into squares and bundles, and back.
- Shingle roof: bundles and other materials makes a list: shingles, ridge caps, starter, underlayment, drip edge and nails.
- Metal panels or roofing sheets counts panels from the cover width, with screws and trim.
- Roof tiles or slates and Batten gauge and courses count tiles, set out the battens and add up the batten length.
- Underlayment, felt, membrane, decking sheets or coating counts rolls, sheets or containers.
- Gutters and downspouts, Roof vents and Roof cost from your own prices cover three more tasks.
The formulas
- Slope = rise ÷ run. A pitch of 6 in 12 has a slope of 0.5.
- Angle = arctan(rise ÷ run). Percent = rise ÷ run × 100.
- Pitch factor = √(1 + (rise ÷ run)²). Roof area = area on plan × pitch factor. Rafter length = run × pitch factor.
- Hip or valley rafter = run × √(2 + (rise ÷ run)²), when both roof sides have the same pitch.
- Gable roof: area = 2 × (length + 2 × gable overhang) × (width ÷ 2 + eave overhang) × pitch factor.
- Hip roof with one pitch: area = (length + 2 × overhang) × (width + 2 × overhang) × pitch factor. Ridge = longer side − shorter side.
- One roofing square = 100 square feet. Bundles = squares × (1 + waste) × bundles for one square, rounded up.
- Panels across one roof side = length along the eave ÷ cover width, rounded up.
- Tiles = roof area × tiles for each square metre × (1 + waste), rounded up.
Roof pitch chart
The pitch factor is the number that turns a flat area into a roof area. The tool shows a longer chart with its result.
| Pitch | Angle | Slope | Pitch factor | Hip and valley factor |
|---|---|---|---|---|
| 1 in 12 | 4.76° | 8.33% | 1.0035 | 1.4167 |
| 2 in 12 | 9.46° | 16.67% | 1.0138 | 1.4240 |
| 3 in 12 | 14.04° | 25% | 1.0308 | 1.4361 |
| 4 in 12 | 18.43° | 33.33% | 1.0541 | 1.4530 |
| 5 in 12 | 22.62° | 41.67% | 1.0833 | 1.4743 |
| 6 in 12 | 26.57° | 50% | 1.1180 | 1.5000 |
| 7 in 12 | 30.26° | 58.33% | 1.1577 | 1.5298 |
| 8 in 12 | 33.69° | 66.67% | 1.2019 | 1.5635 |
| 9 in 12 | 36.87° | 75% | 1.2500 | 1.6008 |
| 10 in 12 | 39.81° | 83.33% | 1.3017 | 1.6415 |
| 12 in 12 | 45° | 100% | 1.4142 | 1.7321 |
Worked examples
A gable roof on a building 40 ft by 28 ft, with a 6 in 12 pitch and 12 inch overhangs. The pitch factor is √(1 + 0.5²) = 1.118. The run of one slope is 14 + 1 = 15 ft, so the rafter is 15 × 1.118 = 16.77 ft. The length along the eave is 40 + 2 = 42 ft. The roof area is 2 × 42 × 16.77 = 1,408.7 square feet, which is 14.09 squares.
Shingles for that roof. With 10% for waste the area is 15.50 squares. At 3 bundles for a square that is 46.5, so you buy 47 bundles. The ridge is 42 ft. With 5% extra and 25 ft for one bundle of caps, you need 2 bundles of caps. Underlayment at 400 square feet for a roll comes to 4 rolls.
Metal panels for that roof. One side is 42 ft along the eave. With a cover width of 36 inches, that is 14 panels for a side and 28 for the roof, each 16.77 ft long. With 10% for waste you buy 31.
A 4 in 12 pitch. The angle is arctan(4 ÷ 12) = 18.43 degrees, the slope is 33.33 percent and the pitch factor is 1.0541.
How to measure a roof
- From the ground: measure the length and the width of the building at the walls, then add the overhangs. Find the pitch from a rise and a run, for example with a level 12 inches long held against a rafter or a gable.
- On the roof: measure each roof plane and use the option that adds up planes. Measure the height of a plane up the slope, at a right angle to the eave.
- From a drawing: the area on plan times the pitch factor gives the roof area, when every slope has the same pitch.
- Work only where it is safe. This page does not say when a roof is safe to walk on.
About the coverage figures
- The numbers in the boxes for bundles, cover width, tiles for a square metre, roll coverage, laps, nails and screws are examples. Products differ. Read the real figure on the wrapper or the data sheet of the maker.
- A roofing square is a fixed trade unit of 100 square feet. The number of bundles in a square is not fixed.
- The cover width of a panel or a tile is less than its full width, because each one laps over the next.
- The ratio for roof vents, and the share of the vent area that goes high on the roof, are set by your building code or by the maker of your roofing. Those two boxes start empty. The Try an example button fills them with values only so that you can try the tool. They are not current rules.
Limits you should know
- This is a quantity estimate, not a roof design. It does not size rafters, trusses or joists, and it does not work out snow, wind or dead loads.
- It states no building-code rule: no lowest pitch for a covering, no head lap, no vent ratio, and no size for a gutter or a roof drain.
- It holds no prices. A cost is worked out only from prices that you type.
- The shapes are simple: a gable, a hip roof with one pitch, a shed roof, a flat roof, a gambrel and two slopes that differ. Dormers, valleys and curved roofs are not worked out. Use the list of roof planes for them.
- Counts are rounded up to whole bundles, rolls, panels and pieces. Cuts at hips and valleys can need more than the waste percent that you set.