Roof Pitch Calculator

Enter a pitch in x/12, degrees or percent, or measure rise over run. Add the building span to get rafter length, ridge height, roof area and squares.

Free · No sign-up · Runs in your browser

How to use the roof pitch calculator

Roof pitch drives a surprising amount of a design: which roofing materials you can use, how the roof sheds rain and snow, the height of the ridge against planning limits, whether the loft is usable and how much material to order. This calculator converts between the ways pitch is written and turns it into the dimensions you need for drawings and estimates.

  1. Enter the pitch the way you have it. Use x/12 for US drawings, degrees for most metric projects, percent grade for low-slope roofs, or a measured rise and run from site or an existing drawing (use the same unit for both).
  2. Add the building span, measured wall to wall across the roof, and the building length along the ridge.
  3. Add the eave overhang measured horizontally from the wall face, so the rafter length and roof area include it.

The results show the pitch in all three formats, the slope factor, the rafter length from wall plate to ridge plus overhang, the ridge height above the wall plate, the area of a simple gable roof and the number of roofing squares. A note tells you which roofing materials usually suit that pitch.

Roof pitch formulas

Pitch (x/12) = Rise ÷ Run × 12
Angle = atan(Rise ÷ Run) · Grade % = Rise ÷ Run × 100
Slope factor = √(1 + (Rise ÷ Run)²)
Rafter length = (Span ÷ 2 + Overhang) × Slope factor
Ridge height = Span ÷ 2 × Rise ÷ Run
Gable roof area = 2 × Rafter length × Building length

The slope factor is the number to remember. Multiply any horizontal measurement by it to get the true length along the roof surface, and multiply any plan area by it to get the true roof area. For a hip roof of a single pitch, the plan-area method still works: roof area is the plan area including overhangs times the slope factor.

PitchAngleGradeSlope factor
2/129.46°16.7%1.014
4/1218.43°33.3%1.054
6/1226.57°50%1.118
8/1233.69°66.7%1.202
10/1239.81°83.3%1.302
12/1245°100%1.414

Worked examples

A US gable roof at 6/12

The house is 30 ft wide and 40 ft long with a 1 ft overhang. The run to the ridge is 15 ft, so the rafter covers 15 + 1 = 16 ft horizontally. With a slope factor of 1.118, each rafter is about 17.89 ft long. The ridge sits 15 × 6 ÷ 12 = 7.5 ft above the wall plate, and the roof surface is 2 × 17.89 × 40 ≈ 1,431 ft², or about 14.3 squares before waste.

A metric roof at 35°

An 8 m wide, 12 m long house with a 0.5 m overhang. tan 35° = 0.700, so the pitch is about 8.4/12 or a 70% grade. The rafter is 4.5 m ÷ cos 35° ≈ 5.49 m, the ridge is 4 × 0.700 = 2.80 m above the plate and the roof area is 2 × 5.49 × 12 ≈ 131.8 m².

Measuring an existing roof

Holding a level 24 inches long against the rafter in the attic, you measure 9 inches from the level up to the rafter. 9 ÷ 24 × 12 = 4.5, so the roof is 4.5/12, about 20.6° or a 37.5% grade.

Who this calculator helps

  • Architects setting roof pitches in early massing, checking ridge heights against planning limits and coordinating sections.
  • Architecture students converting between degrees and x/12 on international projects and getting roof sections right.
  • Roofers and contractors estimating squares, rafter lengths and material quantities for quotes.
  • Carpenters and framers checking rafter lengths before cutting.
  • Solar installers converting pitch to the tilt angle used for panel output estimates.
  • Homeowners comparing roofing quotes, planning a loft conversion or checking whether a material suits their roof.

Choosing a pitch: practical tips

  • Check the material minimum first. Under the IRC, asphalt shingles need at least 2/12 (with double underlayment up to 4/12), clay and concrete tile 2.5/12, wood shingles 3/12, and slate and wood shakes 4/12. Manufacturers' instructions can be stricter.
  • Steeper roofs shed snow and rain faster and create usable attic space, but they add roof area, cost and ridge height.
  • Rafter lengths here are line lengths. Allow for the ridge board, birdsmouth and tail cuts, and order material in standard lengths.
  • Add 10–15% waste to the roof area for a gable roof and more for hips, valleys and dormers.
  • Get the floor area under the roof with the square footage calculator, draw the section to scale with the architectural scale converter, and size the loft stair with the stair calculator.

Want to compare a steeper roof, new tiles or a different colour on the actual house? Upload a photo and try it with Exterior Redesign.

From numbers to pictures

See the space before it's built.

Once the plan works on paper, BasedFrame turns a sketch, a massing model or a site photo into a photoreal render in seconds. Try Sketch to Render or Room Redesign with free credits.

Try BasedFrame free

FAQ

Roof Pitch Calculator FAQ

How do I calculate roof pitch?

Measure the vertical rise over a horizontal run and scale it to 12. If a roof rises 9 inches over 24 inches of level run, the pitch is 9 ÷ 24 × 12 = 4.5, so 4.5/12 (often written 4.5:12). In metric countries, pitch is usually given in degrees instead.

How do I convert roof pitch to degrees?

Divide the rise by 12 and take the arctangent. A 6/12 pitch is atan(6 ÷ 12) = 26.57°. Going the other way, pitch = tan(angle) × 12, so a 35° roof is about 8.4/12.

What does 6/12 roof pitch mean?

The roof rises 6 inches for every 12 inches it runs horizontally. That's a 50% grade and an angle of about 26.6°, one of the most common pitches on houses in North America.

How do I calculate rafter length from pitch?

Multiply the horizontal run (half the span plus any overhang) by the slope factor, √(1 + (pitch ÷ 12)²). For a 6/12 roof the factor is 1.118, so a 16 ft run needs a rafter about 17.89 ft long, before ridge and seat cuts.

What is the minimum roof pitch for asphalt shingles?

The International Residential Code (R905.2.2) allows asphalt shingles down to 2/12, but slopes from 2/12 up to 4/12 need double underlayment. Most manufacturers prefer 4/12 or steeper. Below 2/12, use a low-slope membrane or a suitable metal roof.

How do I calculate roof area from the floor plan?

Multiply the plan area covered by the roof, including overhangs, by the slope factor. A 6/12 roof over 32 × 40 ft of plan (1,280 ft²) is 1,280 × 1.118 ≈ 1,431 ft². That works for gable and hip roofs of a single pitch.

What is a roofing square?

A roofing square is 100 square feet of roof surface, the standard unit for ordering shingles and pricing roofing work in the US. Divide roof area in square feet by 100, or square metres by about 9.29.

What roof pitch is considered steep?

Roofers generally treat anything above about 9/12 (roughly 37°) as steep, because it needs roof jacks and safety lines to walk on. Pitches below 3/12 or 4/12 count as low slope and need different materials and detailing.

Keep exploring

More free tools for architects

Turn any listing
into rooms that sell

Start with a Zillow link or a single photo. Redesign, stage, relight and walk buyers through every room, ready to list today.