BuildMetricLab

Roofing

Roof Pitch Calculator

Roof pitch in degrees, X:12, percent and slope factor from rise and run

Updated May 13, 2026 · Live

What this tool does

Converts a roof's rise and run into pitch in degrees, rise per 12 (X:12), percent slope, run:rise ratio, sloped length and the slope factor for roof area.

Converts a roof's rise and run into pitch in degrees, X:12 pitch, percent slope, the sloped length and the slope factor.

Inputs
ft
ft
Result

Roof Pitch

26.6°

Percentage
50.0%
Pitch (rise per 12 of run)
6.0:12
Ratio (run:rise)
2.00:1
Category
Low pitch (15°–30°)
Hypotenuse
13.42 ft
Slope Factor (roof area ÷ plan area)
1.118

Diagram

12 ft6 ft26.6°
Plain Estimate
From BrightScale Labs
Invoice maker
Quote at the door. Signed on the spot.
Estimates and invoices for trades, built while you are still in the room.
Scan to get
Get it onGoogle Play

People also use

Formula Used
θ=arctan⁡ ⁣(rR),X:12=12 rR,f=1+(r/R)2\theta = \arctan\!\left(\frac{r}{R}\right),\quad \text{X:12} = \frac{12\,r}{R},\quad f = \sqrt{1 + (r/R)^2}
θ\theta
Roof pitch angle
rr
Vertical rise
RR
Horizontal run
ff
Slope factor: sloped roof area ÷ plan area

How the roof pitch calculator works

Roof pitch is the steepness of a roof, and it can be given in several ways: as an angle, as a percentage, as a ratio, or as the rise for every 12 units of run. This calculator takes the vertical rise and the horizontal run, and gives all of them. The angle is θ = arctan(rise ÷ run). The percentage is rise ÷ run × 100, and the X:12 pitch is rise ÷ run × 12. It also gives the sloped length and a slope factor that turns a plan area into a roof area. The rise and run just need to use the same unit, and the page converts feet internally.

Example with the defaults on this page: a roof that rises 6 ft over a run of 12 ft. The angle is arctan(6 ÷ 12) = arctan(0.5) = 26.6°. The percent slope is 50.0%, the X:12 pitch is 6.0:12, and the run:rise ratio is 2.00:1. The sloped length, or hypotenuse, is √(6² + 12²) = 13.42 ft. The slope factor is 13.42 ÷ 12 = 1.118. In metric, the rise is 1.83 m over a run of 3.66 m.

The roof area follows from the slope factor. A house with a plan area of 1,200 ft² under a 6:12 roof has about 1,200 × 1.118 = 1,342 ft² of roof, before overhangs, hips and valleys. Common pitches and their slope factors are 4:12 (18.4°, 1.054), 6:12 (26.6°, 1.118), 8:12 (33.7°, 1.202), 10:12 (39.8°, 1.302) and 12:12 (45°, 1.414). A rise of 6.5 ft over a run of 10 ft is 7.8:12 or 33.0°.

Typical US roofing wastage

There is no wastage on a pitch, so the question is how pitch affects the materials you buy. A steeper roof has more surface for the same footprint, so it takes more covering. The slope factor shows how much: a 4:12 roof has 5% more area than its plan, a 6:12 roof 12%, an 8:12 roof 20% and a 12:12 roof 41%. Waste on the covering itself is separate and comes from cutting around hips, valleys and the ridge, and is usually allowed at 10 to 15% on a complex roof, which is a trade habit and not a published standard.

What this tool does not do

It does not check whether the pitch suits your roof covering. Every covering has a minimum pitch, set by its maker and the exposure, and a lower pitch than the minimum leaks. It does not work out the area of a whole roof, the rafter length or the angle of a hip or valley, and it does not account for snow, wind or the structure. The categories it gives (flat, shallow, low, standard and steep) are informal bands and not a code classification.

On-site considerations for roof pitch

Measure the rise and run from the building, not from a guess. For a gable roof the run is half the span, measured on the level from the wall plate to a point under the ridge, and the rise is the height from the plate to the ridge. You can also measure a pitch with a level and a tape: hold a level horizontal against the rafter, measure 12 in (or 300 mm) along it, and measure the drop to the rafter. Use a digital angle gauge for a quick reading, then convert it.

Pitch affects how people work on the roof as well as the materials. The steeper the roof, the harder it is to stand on it, and the more it needs edge protection and roof ladders. In the United States the International Residential Code sets minimum slopes for roof coverings, and the minimum is higher for tiles and shingles than for membranes. OSHA treats a roof of 4:12 or less as low-slope for its fall-protection rules. In Great Britain, HSE guidance covers roof work. Never work on a roof without a safe way up and a way to stop a fall.

Codes and compliance

Pitch is a design choice, but codes and manufacturers set limits around it. Each roof covering has a minimum pitch, shown on its data sheet, and below it the roof needs a different covering or special detailing. Steep roofs and low roofs shed snow, water and wind differently. Changing a roof's pitch changes its structure, so it is a design and permit matter. Other countries have their own rules, so follow the ones where you build.

Before you order

Find the minimum pitch of the covering you want, and check that your roof meets it, with any extra underlay or detailing that a low pitch needs. Use the slope factor to turn the plan area into a roof area, add the overhangs, and then add waste for the covering. Ask your supplier for the quantity and the lap and fixing details for your pitch, because a steeper pitch can need extra fixings. Check the ridge, hip and valley parts for your pitch, since they are often made for a range of angles.

Adjusting the defaults

The rise and the run are editable. The rise must be zero or more and the run above zero, and both must be in the same unit. A blank field is refused instead of silently using a default. To convert an X:12 pitch, enter X as the rise and 12 as the run. To convert an angle, enter the rise as the tangent of the angle for a run of 1: for 30° the rise is 0.577.

Using this roof pitch calculator alongside other BuildMetricLab tools

Pair this tool with the roof area calculator for the whole roof, the rafter set-out calculator for the rafter length and cuts, and the underlayment and batten calculators for the covering. All BuildMetricLab tools run in your browser. Nothing you type is sent anywhere, and every formula is shown on the page so you can audit the maths.

Sources & methodology

Pitch angle θ = arctan(rise ÷ run), converted from radians to degrees. Percent slope = rise ÷ run × 100. The X:12 figure = rise ÷ run × 12, the rise for every 12 units of run. The run:rise ratio = run ÷ rise. The sloped length (hypotenuse) = √(rise² + run²), and the slope factor = hypotenuse ÷ run, which multiplies a plan area to give the area of the sloping roof. The page takes rise and run in ft and converts them, and the pitch values do not depend on the unit as long as both use the same one. The rise must be zero or more and the run above zero, and a blank field is refused. The category labels (flat, shallow, low, standard, steep) are informal bands and not a code classification. Minimum pitches for roof coverings, and the OSHA definition of a low-slope roof (4:12 or less in the US), come from the covering manufacturer and the rules where you build.

Frequently asked questions

Are roof pitch calculator results accurate enough to order materials?

The pitch itself is exact for the rise and run you enter. To order materials you need an area, which the slope factor gives: roof area = plan area × slope factor. For a 6:12 roof the factor is 1.118, so 1,200 ft² of plan is about 1,342 ft² of roof. Add the overhangs, ridge, hips and valleys, and confirm quantities with your supplier.

What do the percentage and ratio results mean?

The percentage is the rise divided by the run times 100, so a 6:12 roof is 50%. The ratio shows how many feet of run correspond to one foot of rise, so 6:12 is 2.00:1. The pitch row gives the X:12 figure directly, which is the rise in inches for every 12 inches of run. A rise of 0 is a flat roof, with no ratio.

Does this tool replace the need for professional advice?

No. It converts a rise and run into pitch values. It does not check the minimum pitch of a roof covering, the structure, snow or wind loads, or the code. For roof structure, consult a licensed contractor or engineer, and follow the covering manufacturer's minimum pitch.

Can I express the result as an X/12 pitch instead of degrees?

Yes. The tool shows the X:12 figure in its own row: rise ÷ run × 12. For the default rise of 6 ft over a run of 12 ft it is 6.0:12, which is 26.6°. A rise of 6.5 ft over a run of 10 ft would be 7.8:12, or 33.0°. Common pitches are 4:12 (18.4°), 6:12 (26.6°), 8:12 (33.7°) and 12:12 (45°).

Spotted something off?

Calculations or display — let us know.

Calculators from other categories that planners often reach for next.