EN

Calculation is not ready. Values below may be the worked example; reopen the link and wait for the calculation before using this document.

CalcSlopecalcslope.com

Planning calculation report

Roof Pitch & Slope Calculator: X/12, Degrees, % | CalcSlope

Printed

Roof pitch and slope calculator

Roof pitch is the rise of a slope divided by its horizontal run. Enter rise and run to get the angle, percent, X/12 pitch and rafter length.

New calculation· not savedNew
Projects

No saved projects yet.

Saved in this browser only · up to 50

Save this calculation first?

It isn't saved as a project yet. Save it, or open the other project without saving.

Try an example

Vertical height.

Horizontal distance, not full span.

Use a decimal point or comma (2.5 or 2,5). No thousands separators or fractions.

Common pitches

Roof angle

26.57°

Slope (%)

50.00%

US pitch (X/12)

6/12

Rise 6.00 in; run 12.00 in; rafter 13.42 in; angle 26.57°. Drawn to one scale. Use the numbers for exact lengths.
Rafter length
13.42 in
Rise
6.00 in
Run
12.00 in
Complementary angle
63.43°
Grade ratio (rise : run)
0.50 : 1
1 in X (run per rise)
1 in 2.00
Slope factor (rafter ÷ run)
1.118
Planning only. Geometry tools for planning. Verify measurements and seek qualified advice before construction.

Display
Next: roof area & sheetsCarries: pitch 26.57°
Recent calculations

Your last 10 calculations on this page appear here.

    Saved on this device only (last 10); Clear removes them.

    Roof angle
    26.57°

    Who this roof pitch calculator is for

    Use it when you know two measurements of one roof slope – rise and run, an angle and a length, or a rafter and one leg – and need the rest: the angle in degrees, the slope in percent, the US X/12 pitch and the rafter length. Homeowners use it to read a roof from the attic, DIYers to set out a shed or lean-to, and roofers and carpenters to check plans drawn in another notation.

    It is geometry only. It does not decide whether a covering is allowed at that pitch or size any timber; the guide below links the IRC minimum pitches, and the next step carries your pitch into the roof area calculator.

    How roof pitch works

    A roof pitch describes how steeply a roof rises over a horizontal distance. This tool connects rise and run to degrees, percent and US X/12 notation.

    How do you figure roof pitch?

    Measure the rise of one slope over a known horizontal run and divide the rise by the run. Multiply by 12 for the US X/12 pitch, by 100 for the slope in percent, or take the arctangent for the angle in degrees. In the attic, hold a level flat against the underside of a rafter: the vertical drop from the rafter to the level, 12 inches out, is the X in X/12.

    What is the slope of a roof?

    The slope of a roof is how steeply one roof plane rises over its horizontal run. In the US it is written as an X/12 pitch, in Europe mostly as a percentage or an angle; all three describe the same ratio, and the calculator shows them side by side together with the rafter length.

    Rise 6.00 in; run 12.00 in; rafter 13.42 in; angle 26.57°.

    Rise, run and rafter: three different lengths

    Rise
    Vertical difference between the ends of one slope, not the whole building height.
    Horizontal run
    The level projection of that slope, not its sloping length. Half a building span applies only to known symmetric geometry; the calculator never halves your input.
    Rafter length
    The straight sloping side, excluding overhang, cuts and construction allowances.
    Pitch, percent and angle
    Degrees measure the angle above horizontal. Percent means rise per 100 horizontal units; US X/12 uses 12. X/12 is a convention, not a building rule.

    Choose and enter your measurements

    1. Identify both ends of one straight slope. Use their height difference and horizontal projection from the same reference, on an existing drawing or at accessible measurement points.
    2. Use Pitch for rise and run. Use Lengths when you know a rafter length or an angle plus a length. Each field has its own unit, so convert feet and inches through the selectors rather than entering a mixed expression.
    3. Read X/12 alongside degrees and percent. Changing the display unit preserves the physical measurement; changing precision only rounds the displayed answer. Changing a mode or known-value selection starts fresh.

    Step-by-step guides: How to measure roof pitch from the attic · Roof area from Google Maps: measure and correct for pitch

    When the steps are done, one page combines the pitch, the covering and the timber into a printable material list: Roof project summary.

    The formulas and their units

    Use the same length unit for h (rise) and d (horizontal run). Let l be the geometric rafter and θ the angle above horizontal. The tool converts mixed input units before solving.

    Slope (%) = 100 × h ÷ dUS pitch X/12: X = 12 × h ÷ dθ = arctan(h ÷ d) × 180 ÷ πl² = h² + d²Slope (%) = 100 × tan(θ × π ÷ 180)
    Degrees and percent are not interchangeable: 45° is 100%, while 30° is about 57.74%. Inclination alone determines proportions, not the size of a roof. A known length sets the scale. Two inclination inputs only check agreement.

    Three worked examples

    These examples use the same calculation engine as the tool. Values shown here are rounded to two decimal places; choose four decimal places in the calculator for a closer view.

    Attic method: a 7 in drop over a 12 in level

    Known values: Rise: 7 in · Run: 12 in

    Roof angle
    30.26°
    Slope (%)
    58.33%
    US pitch (X/12)
    7/12
    Rafter length
    13.89 in
    Rise
    7.00 in
    Run
    12.00 in

    Open with these values

    Span and ridge height: 24 ft span, ridge 5 ft above the plates

    Known values: Rise: 5 ft · Run: 12 ft

    Roof angle
    22.62°
    Slope (%)
    41.67%
    US pitch (X/12)
    5/12
    Rafter length
    13.00 ft
    Rise
    5.00 ft
    Run
    12.00 ft

    Open with these values

    Rafter and run: a 14 ft rafter over a 12 ft run

    Known values: Run: 12 ft · Rafter: 14 ft

    Roof angle
    31.00°
    Slope (%)
    60.09%
    US pitch (X/12)
    7.21/12
    Rafter length
    14.00 ft
    Rise
    7.21 ft
    Run
    12.00 ft

    Open with these values

    Reference table: common pitches

    The same inclination in degrees, percent and X/12, rounded to two decimals.

    Reference table: common pitches
    Angle (°)Slope (%)US pitch (X/12)
    4.76°8.33%1/12
    9.46°16.67%2/12
    14.04°25.00%3/12
    18.43°33.33%4/12
    22.62°41.67%5/12
    26.57°50.00%6/12
    30.26°58.33%7/12
    33.69°66.67%8/12
    36.87°75.00%9/12
    39.81°83.33%10/12
    42.51°91.67%11/12
    45.00°100.00%12/12

    4/12 is one of the most common house pitches: the 4/12 roof pitch page lists its angle, rafter lengths for common spans and the coverings it suits.

    Local rules

    In the United States, roof coverings follow the International Residential Code (IRC) as adopted by your city or county. Chapter 9 sets minimum slopes per covering; asphalt shingles, for example, need at least 2/12, with extra underlayment between 2/12 and 4/12.

    Check which IRC edition your jurisdiction has adopted, any local amendments and the manufacturer’s installation instructions. CalcSlope reports geometry only and does not check code compliance.

    Minimum roof pitch by roofing material (IRC)
    Roofing materialMinimum pitchSame slopeCondition and source
    Modified bitumen, EPDM, TPO and PVC membranes≥ 0.25/121.19° · 2.08%Thermoset and thermoplastic single-ply roofs included. IRC R905.11–R905.13
    Standing-seam metal panels≥ 0.25/121.19° · 2.08%Lapped, non-soldered panels: 3/12 without lap sealant, 1/2:12 with sealant. IRC R905.10
    Asphalt shingles≥ 2/129.46° · 16.67%Double underlayment from 2/12 up to 4/12. IRC R905.2
    Clay and concrete tile≥ 2.5/1211.77° · 20.83%Double underlayment from 2½/12 up to 4/12. IRC R905.3
    Wood shingles and wood shakes≥ 3/1214.04° · 25.00%IRC R905.7–R905.8

    Full roof pitch chart and every roofing material →

    Roof pitch questions

    Does this work for shed roofs?

    Yes, for the geometric triangle of one straight slope. Enter the actual horizontal distance between its endpoints and their height difference. No dedicated roof-form drawing, material takeoff or structural design is produced.

    Is run the same as building width?

    Only if that width is the horizontal projection of the particular slope you are measuring. For two roof sides, measure each slope separately unless the geometry is known to be symmetric.

    Why no lengths in Convert mode?

    An angle, percentage or X/12 pitch describes a proportion. Many differently sized triangles share that proportion. Use Lengths with a known length to get dimensions.

    What does 1 in X mean?

    It gives one unit of vertical rise for X units of horizontal run. It is a length ratio, not a percentage. With zero rise the slope is flat and this reciprocal has no finite value.

    Can this choose my roofing material?

    The result describes geometry only. It does not specify a minimum pitch, loading, member sizes or a compliant roof covering. Those choices require the relevant project information and product guidance.