← All tools/Tools/Home & DIY/Roof Pitch Calculator

Roof Pitch Calculator

A roof’s pitch, angle, grade and rafter length — from rise and run.

ft
ft

Roof pitch

—

Rise
6 ft
Run
12 ft
Grade 50% — the roof rises 6 ft for every 12 ft across
All roof measurements

How it works

Pitch (x:12) = (rise ÷ run) × 12 — the rise in inches for every 12 inches of run.
Angle = arctan(rise ÷ run), in degrees.
Grade = (rise ÷ run) × 100%.
Rafter length = √(rise² + run²) — the hypotenuse of the rise/run triangle.
Slope factor = √(1 + (rise ÷ run)²) — multiply a flat (plan) area by this to get the true roof area.

Five numbers come out of two measurements. The pitch, written as x:12, is the rise divided by the run and multiplied by 12 — the inches the roof climbs for every 12 inches across. The angle is the same slope as degrees, found with arctan(rise ÷ run). The grade is the same slope again as a percentage, rise ÷ run × 100. The rafter length is the hypotenuse of the rise-and-run triangle, √(rise² + run²). The slope factor, √(1 + (rise ÷ run)²), turns a flat plan area into true roof area: multiply the footprint by it to get the roofing to buy. Rise and run can be in feet, metres or centimetres, as long as both use the same unit, because the ratio is what matters. The formulas suit a simple gable roof. They do not cover hip or valley rafters, which run diagonally and are longer, or curved and flat roofs.

Worked example: a rise of 6 ft over a run of 12 ft is a 6:12 pitch. The angle is arctan(0.5) = 26.57°, the grade is 50%, the rafter length is √(36 + 144) = 13.42 ft, and the slope factor is 1.118 — so 100 sq ft of floor plan needs 111.8 sq ft of roofing. A rise of 8 ft over the same 12 ft run is an 8:12 pitch, 33.69°, 66.67% grade, a 14.42 ft rafter and a 1.2019 slope factor.

Second example: a house in Pune with a rise of 1.2 m over a run of 3 m. The ratio is 1.2 ÷ 3 = 0.4, so the pitch is 4.8:12 and the angle is arctan(0.4) = 21.8°. The grade is 40%, the rafter length is √(1.2² + 3²) = 3.23 m, and the slope factor is √(1 + 0.4²) = 1.077. A 100 m² floor plan therefore needs 100 × 1.077 = 107.7 m² of roofing, before adding waste for cuts and overlaps.

Frequently asked questions

What does 6:12 pitch mean?

The roof rises 6 inches for every 12 inches it runs horizontally. It is the standard way roofers describe slope in the US and India — a 12:12 pitch is a 45° roof, and a 4:12 pitch is a low slope.

What pitch is best for rain?

Steeper sheds water faster: below 4:12, water can sit and leak through shingles, so low-slope roofs need special membranes. Above 6:12, most roofing materials drain well, and in heavy-rain areas such as Kerala and the Konkan coast, 6:12 to 9:12 is common. The trade-off is cost — a steeper roof needs more material and more labour, so do not go steeper than your rainfall needs.

How do I measure rise and run on my roof?

From inside the attic: measure horizontally from the wall plate to the ridge (the run), then vertically from that point up to the underside of the ridge (the rise). Or measure a 12-inch level run on the roof surface and read the vertical drop.

What is the slope factor used for?

To turn a flat plan area into true roof area. Measure the building footprint, multiply by the slope factor, and you have the area of roofing material to buy — before adding waste for cuts and overlaps. A factor of 1.118 on a 100 sq ft plan means 111.8 sq ft of roofing, so ordering by the plan area alone would leave you short by about 12 sq ft.

Can I use this for a hip or valley rafter?

No — this gives the common rafter length for a simple gable roof. Hip and valley rafters run diagonally across the corner of the roof, so they are longer than a common rafter on the same pitch. They need their own calculation, using the diagonal run instead of the straight run. A carpenter usually works these out from the roof plan, not from this calculator.

What the result means

The pitch decides how your roof behaves in Indian weather. Below 4:12, rainwater drains slowly and can sit on the surface, so low-slope roofs need membrane waterproofing and are best avoided where the monsoon is heavy. Between 6:12 and 9:12, most tiles and metal sheets shed water well, which is why that range is common in heavy-rain areas such as Kerala and coastal Maharashtra. Above 9:12, the roof sheds rain faster still, but it uses more material, costs more to build and is harder to walk on for repairs. The slope factor is the number to use when ordering: a 1.077 factor means 7.7% more roofing than the floor plan, and a 1.2 factor means 20% more, so ordering by floor area alone always leaves you short. Add 5–10% on top for cutting waste, and more again on a roof with many valleys. The rafter length tells the carpenter how long each common rafter must be cut — always confirm it on site, because the actual ridge height can differ from the plan by a few centimetres.

More tools

Tell us what you think

Loving this tool, or stuck on something? Tell us — it takes a minute.

We’ll only use your name and email to reply if needed. The tool and page are filled in for you.