1. Home
  2. Calculators
  3. Roof Pitch Calculator

Roof Pitch Calculator

For roofers and builders: get the real surface of a roof from its footprint and pitch, and the material to order.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Roof Pitch Calculator

  1. Enter your numbers, or press a sample to see an example.
  2. Read the results and the table under them.
  3. Copy the results or download the table as a CSV file.

Features

  • Pitch as rise per 12 or as an angle
  • Slope factor, rafter length and ridge height
  • Roof surface in square metres and feet
  • Squares and bundles with waste
  • Table of common pitches

Supported formats

Input

  • Typed numbers

You get

  • On-screen results
  • Copyable text
  • CSV table

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Roof Pitch Calculator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It models a simple gable roof; hips, valleys, dormers and chimneys need extra material.
  • It is a calculation aid. Electrical, structural and gas work must follow local codes and be checked by a qualified person.

Guide

Roof pitch, rafter length, roof area and shingle bundles for a gable roof

A roof is a plane tilted over a plan, and almost every number a roofer needs follows from one ratio: the pitch. This calculator turns the pitch and the size of the building into the length of the rafters, the height of the ridge and the area of the roof, then into squares and bundles of shingles, so that you can order materials and plan cuts without drawing a section.

Pitch and angle

Pitch is written as rise over run in a 12-unit run, such as 6:12, where the roof climbs 6 units for every 12 units horizontally. Its angle is the arctangent of the ratio: atan(6 ÷ 12) = 26.565°. You can type a pitch or an angle: a 30° roof is the same as 6.93:12. A table at the end shows the angle, the slope factor and the rafter length for the common pitches from 3:12 to 12:12 on your building.

The slope factor

The slope factor is √(1 + (rise ÷ 12)²), the ratio of the length along the slope to the horizontal run. At 3:12 it is 1.031, at 6:12 it is 1.118 and at 12:12 it is 1.414. Multiply a horizontal distance by it and you have the distance along the roof. The roof surface is the footprint, including overhangs, times the slope factor.

Rafters and ridge

For a gable roof with two equal slopes, the horizontal run of a rafter is half the width of the building plus the eave overhang. A building 26 ft wide with a 1 ft overhang has a run of 14 ft, and at 6:12 the rafter length is 14 × 1.118 = 15.652 ft, or 4.771 m. The ridge sits above the top of the walls by half the width times the rise ratio, 13 × 0.5 = 6.5 ft. The rafter length is measured along the top edge and includes the overhang but not the thickness of the ridge board.

Roof area, squares and bundles

The surface of a gable roof is two slopes, each as long as the rafter and as wide as the building plus the overhangs at both gable ends: 2 × 15.652 × (40 + 2) = 1,314.8 ft², 122.15 m². A roofing square is 100 ft², so that is 13.15 squares. At three bundles per square and 10% waste you need 44 bundles. Ridge and hip caps, starter strips, underlayment and flashing are not included.

Other examples

A shallow 3:12 roof on a 20 × 30 ft building has 11.34 ft rafters, 725.67 ft² of roof and needs 24 bundles. A metric roof of 30° on an 8 × 12 m building with 0.5 m eaves and 0.3 m gable overhangs has rafters of 5.196 m, a ridge 2.309 m above the walls and 130.94 m² of surface, 14.09 squares and 47 bundles. Choose metres for the units and angle for the slope.

Waste, hips and valleys

Ten per cent suits a simple gable roof. Roofs with hips, valleys, dormers or chimneys have more cuts, and 15% or more is normal. Shingles on a roof with many small areas waste a lot. Count the number of valleys and hips and plan the extra, and always compare with a measured area if the roof is complicated.

Limits

The tool models a simple gable roof with two equal slopes on a rectangular building. It does not size rafters or check snow and wind loads, and it does not cover hip roofs, valleys, dormers, chimneys or the thickness of the ridge. Roof work is dangerous: work with proper access and fall protection, or hire a roofer.

Checked against the current version of the Roof Pitch Calculator on .

Frequently asked questions

What does the slope factor do?

It converts a horizontal measurement into a distance along the slope. A flat plan area times the slope factor gives the roof surface, and a horizontal run times it gives the rafter length. At 6:12 the factor is 1.118, so a roof is 11.8% larger than the footprint it covers, and at 12:12 (45°) it is 1.414. Steeper roofs need noticeably more material, which is why the factor matters for the quantity of roofing.

How many bundles of shingles make a square?

Most three-tab and many architectural asphalt shingles are packed three bundles to a square, a square being 100 square feet or 9.29 m². Some heavier products use four or more bundles. The field in the tool lets you enter the figure on your pack, and the page adds a waste allowance for cuts, starter courses and hips and valleys. Always check the manufacturer's coverage, since it depends on the exposure.

What is a 6:12 pitch in degrees?

It rises 6 units for every 12 of run, an angle of 26.57°, with a slope factor of 1.118, so the roof surface is 11.8% bigger than its footprint.

What is a roofing square?

An area of 100 square feet (9.29 m²). Most asphalt shingles need three bundles per square, but check the pack.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.