🍱 Lunchbox Hands

Roof Pitch & Rafter Calculator

Pitch, angle, rafter length, and rise from span and slope

Enter the slope as

6 or 6:12

6:12 · 26.57°
Conventional slope — walkable, standard shingles
6:12
Pitch
26.57°
Angle
50%
Percent slope
1.118
Rafter multiplier
hip/valley 1.5
run 12rise 626.6°
Common rafter length

Outside wall to outside wall

e.g. 1 or 1' 6"

1.5 for a 2× ridge, 0 to ignore

11' 11 1/4"
Run (to ridge)
5' 11 5/8"
Rise
13' 4 3/16"
Rafter (no overhang)
14' 5 9/16"
Rafter + overhang
buy 16 ft stock

Line length along the top edge; add for the plumb cut at the ridge and the tail cut. Size rafters from IRC Table R802.4.1 — this tool does not check span.

Plan-view area including overhangs, e.g. 50 × 30 = 1500

Estimates only — verify quantities with your supplier and check local building codes.

Common rafter multipliers (per foot of run)
PitchAnglePercentMultiplierHip/valley
4.76°8.3%1.00351.4167
9.46°16.7%1.01381.4240
14.04°25%1.03081.4361
18.43°33.3%1.05411.4530
22.62°41.7%1.08331.4743
26.57°50%1.11801.5000
30.26°58.3%1.15771.5298
33.69°66.7%1.20191.5635
36.87°75%1.25001.6008
39.81°83.3%1.30171.6415
42.51°91.7%1.35661.6853
45°100%1.41421.7321
Formula: angle = atan(pitch ÷ 12); percent = pitch ÷ 12 × 100; multiplier = √(1 + (pitch ÷ 12)²). Rafter = (span ÷ 2 − half the ridge + overhang) × multiplier. Roof area = footprint × multiplier (same for every plane of a simple gable or hip roof at one pitch).

Convert roof pitch between the x:12 notation carpenters use, degrees, and percent slope, then turn a building span into common rafter length, rise, and run — including overhang and a ridge-board deduction. A diagram draws the slope to scale, and the multiplier table covers 1:12 to 12:12 with hip and valley factors for quick layout.

Once you know the pitch, the roofing calculator turns roof area into shingle bundles and underlayment, and the gutter calculator sizes the drainage. For any other angle or percentage math, try the percentage calculator.

Frequently asked questions

How do I convert roof pitch to degrees?

Roof pitch is the rise in inches for every 12 inches of horizontal run. The angle is the arctangent of pitch ÷ 12. A 6:12 roof is atan(0.5) = 26.57°, a 4:12 roof is 18.43°, and a 12:12 roof is exactly 45°. Percent slope is simply pitch ÷ 12 × 100, so 6:12 is a 50% slope. Pick any input style — pitch, degrees, percent, or a measured rise and run — and the calculator fills in all the others. Results update as you type.

How do I calculate rafter length?

Take half the building span as the run (less half the ridge board's thickness), add any horizontal overhang, and multiply by the rafter multiplier for your pitch: √(1 + (pitch ÷ 12)²). For a 24-foot-wide building at 6:12 with a 2× ridge and a 1-foot overhang, the run is 11.94 ft plus 1 ft, times 1.118 — about 14' 5½". That is the line length along the top edge; allow extra for the plumb and tail cuts when buying stock. Rafter size (2×6, 2×8, and so on) comes from the span tables, not this calculation.

What is a rafter multiplier?

It is the length of rafter per foot of horizontal run for a given pitch — the same numbers stamped on the rafter table of a framing square. A 4:12 roof has a multiplier of 1.054, 6:12 is 1.118, 8:12 is 1.202, and 12:12 is 1.414 (the square root of 2). The same factor turns a roof's plan-view footprint into its actual surface area, which is why it is also called the roof area or slope factor. The table on this page lists 1:12 through 12:12. Hip and valley rafters use a larger factor because they run diagonally across the plan; that column is in the table too.

How do I measure the pitch of an existing roof?

Hold a level horizontally against the roof or a rafter, mark 12 inches along it, and measure straight up from that mark to the roof surface — that number is the pitch. From the attic, measure along the underside of a rafter the same way. If you can only measure the building, the rise from wall plate to ridge divided by half the span, times 12, gives the pitch. Enter the rise and run directly and the calculator does the division.

What pitch do asphalt shingles need?

The IRC (R905.2.2) allows asphalt shingles on slopes of 2:12 or steeper, but roofs between 2:12 and 4:12 need double underlayment (R905.2.7). Below 2:12, use a low-slope system such as a membrane or modified bitumen. Metal panels, tile, and slate each have their own minimum slopes from the manufacturer and code, so check before choosing a material for a shallow roof. Steeper roofs shed water faster but cost more to build and are harder to walk on, so most homes land between 4:12 and 9:12. Very steep roofs may also need extra fasteners per shingle; follow the manufacturer's high-slope instructions.

Get weekly dev tools and tips