3D Visualizer · Construction

Roof Pitch Calculator 3D

Convert pitch, angle and slope, and size the rafters, hips and ridge of a gable, hip or shed roof – with the roof in 3D

Quick Answer:Roof pitch is the rise in inches for every 12 in of horizontal run. A 6/12 roof is 26.57° (a 50% slope) and its surface is 11.8% larger than its footprint (pitch factor 1.118); 4/12 is 18.43°, 8/12 is 33.69° and 12/12 is 45°. To measure yours, hold a level 12 in long against the roof and measure straight down from its end to the surface – that many inches over 12 is the pitch.

--

Roof pitch

--

--

Angle

--

Slope

--

Pitch factor

--

What this pitch suits

    Pitch and building

    Find your pitch from a measurement

    --

    Length and width are to the outside of the walls. The ridge of a gable or hip roof runs along the length; a shed roof slopes across the width.

    Roof pitch chart: degrees, slope and multipliers

    Multiply a horizontal run by the pitch factor to get the length along the slope, or a footprint area by it to get the roof's surface area. The hip/valley column is the length of a regular hip or valley rafter for each foot of common run, as printed on a rafter square.

    Roof pitch to angle, percent slope, pitch factor and hip/valley length
    PitchAngleSlopePitch factorHip/valley per ft runType
    1/124.76°8.3%1.00317.00 inmembrane
    2/129.46°16.7%1.01417.09 inlow slope
    3/1214.04°25.0%1.03117.23 inlow slope
    4/1218.43°33.3%1.05417.44 instandard
    5/1222.62°41.7%1.08317.69 instandard
    6/1226.57°50.0%1.11818.00 instandard
    7/1230.26°58.3%1.15818.36 instandard
    8/1233.69°66.7%1.20218.76 instandard
    9/1236.87°75.0%1.25019.21 instandard
    10/1239.81°83.3%1.30219.70 insteep
    11/1242.51°91.7%1.35720.22 insteep
    12/1245.00°100.0%1.41420.78 insteep
    13/1247.29°108.3%1.47421.38 insteep
    14/1249.40°116.7%1.53722.00 insteep
    15/1251.34°125.0%1.60122.65 insteep
    16/1253.13°133.3%1.66723.32 insteep
    17/1254.78°141.7%1.73424.02 insteep
    18/1256.31°150.0%1.80324.74 insteep
    19/1257.72°158.3%1.87325.48 insteep
    20/1259.04°166.7%1.94426.23 insteep
    21/1260.26°175.0%2.01627.00 insteep
    22/1261.39°183.3%2.08827.78 insteep
    23/1262.45°191.7%2.16228.58 insteep
    24/1263.43°200.0%2.23629.39 insteep

    How the Roof Pitch Calculator 3D works

    Roof pitch is the rise in inches for each 12 in of horizontal run. The calculator converts it to an angle (the arctangent of rise ÷ 12), a percent slope (rise ÷ 12 × 100) and a pitch factor – the length along the slope for each unit of horizontal run – which also turns a footprint into roof surface area, since every plane of the roof has the same pitch.

    For the building you enter it works out the run (half the width for gable and hip roofs, the full width for a shed roof), the ridge height above the wall plate, the common rafter length with and without the eave overhang, the ridge length, and for a regular hip roof the hip rafters, which run at 45° in plan. The 3D model is built from the same numbers, with the ridge, hips and one common rafter highlighted and a 12-to-rise pitch triangle drawn four times full size on the gable end.

    Angle = atan(rise ÷ 12); slope % = rise ÷ 12 × 100

    Pitch factor = √(12² + rise²) ÷ 12; rafter = run × pitch factor

    Hip rafter = run × √(2 + (rise ÷ 12)²); hip per ft of run = √(288 + rise²) in

    Roof area = plan area (with overhangs) × pitch factor

    Worked example

    A 40 × 30 ft house with a 6/12 gable roof and 12 in overhangs.

    1. Angle = atan(6 ÷ 12) = 26.57°; slope 50%; pitch factor √(144 + 36) ÷ 12 = 1.118.
    2. Run = 30 ÷ 2 = 15 ft, so the ridge is 15 × 0.5 = 7 ft 6 in above the wall plate and the common rafter is 15 × 1.118 = 16 ft 9¼ in (17 ft 10 11/16 in with the 1 ft overhang).
    3. Plan area with overhangs = 42 × 32 = 1,344 sq ft; × 1.118 = 1,503 sq ft, or 15.0 squares before waste.

    Result: Rafters about 17 ft 10 11/16 in long, a 42 ft ridge 7 ft 6 in above the plates and 15 squares of roofing. As a regular hip roof, each hip rafter would be 22 ft 6 in from plate to ridge.

    Assumptions and limits

    • Rafter lengths are measured along the top edge from the outside of the wall plate (the building line) to the centre of the ridge. Deduct half the ridge board thickness, and lay out the birdsmouth from the same line.
    • The hip roof is a regular hip: the same pitch on all four sides. A hip roof on a square building has no ridge (a pyramid roof).
    • Minimum slopes follow the US International Residential Code: asphalt shingles 2/12 (double underlayment below 4/12), clay and concrete tile 2½/12, metal panels 3/12 except standing seam. Check the manufacturer's instructions and local code.

    Sources

    Last reviewed November 8, 2026 · How we build and check our calculators

    Frequently Asked Questions About Roof Pitch

    How do I find the pitch of my roof?

    Hold a level horizontally against the roof surface (or the underside of a rafter in the attic), mark 12 in along it, and measure straight down from that mark to the roof. That number of inches is the pitch over 12: 6 in means a 6/12 roof. If your level is shorter, divide: a 4.5 in drop over 9 in is 6/12.

    How many degrees is a 6/12 roof pitch?

    A 6/12 pitch is 26.57°, a 50% slope. Other common pitches: 4/12 is 18.43°, 5/12 is 22.62°, 8/12 is 33.69°, 10/12 is 39.81° and 12/12 is exactly 45°. The angle is the arctangent of rise ÷ run.

    What is the minimum roof pitch for asphalt shingles?

    The US International Residential Code (R905.2.2) allows asphalt shingles on slopes of 2/12 or more. Between 2/12 and 4/12 they need two layers of underlayment; from 4/12 up a single layer is enough. Below 2/12 use a membrane such as EPDM or TPO, or standing-seam metal rated for low slopes.

    What is a pitch factor?

    The number you multiply a roof's footprint (plan area) by to get its actual surface area: √(12² + rise²) ÷ 12. A 6/12 roof has a factor of 1.118, so a 1,200 sq ft footprint has 1,342 sq ft of roof. The same factor turns a horizontal run into rafter length.

    Browse all 20 home & construction calculators →

    Copied!