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

Shed & Two-Slope Roof Pitch Calculator | CalcSlope

Printed

Shed & two-slope roof pitch calculator

Enter the span with a ridge height or roof angles to get both slopes, the ridge position and both rafter lengths.

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

Wall to wall, outside faces.

From the top of the walls up to the ridge.

Optional. Draws the walls.

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

Ridge height

3.00 m

Ridge from left wall

4.00 m

Roof width along both slopes

10.00 m

Span 8.00 m; ridge 3.00 m high, 4.00 m from the left wall; angles 36.87° and 36.87°. Gable end drawn to one scale; each slope is labelled with its angle.

Left slope

Angle (°)
36.87°
Slope (%)
75.00%
US pitch (X/12)
9/12
Rise
3.00 m
Run
4.00 m
Rafter length
5.00 m

Right slope

Angle (°)
36.87°
Slope (%)
75.00%
US pitch (X/12)
9/12
Rise
3.00 m
Run
4.00 m
Rafter length
5.00 m
Planning only. Geometry tools for planning. Verify measurements and seek qualified advice before construction.

Display
Next: roof area & sheetsCarries: gable, span 8.00 m, pitch 36.87°
Recent calculations

Your last 10 calculations on this page appear here.

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

    Ridge height
    3.00 m

    Who this two-slope calculator is for

    Use it for a roof whose two sides meet at a ridge: a symmetric gable, or an uneven one where the ridge sits off-centre. Enter the span with the rise, or the two angles, and you get the ridge position, each side’s angle, percent, X/12 and rafter length side by side – the numbers you need to draw an extension, a garden building with a long and a short side, or to check a plan before ordering rafters.

    For a single slope (a lean-to or a mono-pitch shed) the one-slope calculator is quicker. Both sides are treated as flat planes; hips and valleys are not covered yet.

    How to use the two-slope roof calculator

    Treat the roof as two right triangles meeting at one ridge. Enter the rise and horizontal run for each side to compare their pitch and rafter lengths.

    Span 10.00 m; ridge 3.00 m high, 4.00 m from the left wall; angles 36.87° and 26.57°.

    One ridge, two independent slopes

    Horizontal run
    The two runs add up to the horizontal eave-to-eave span. A ridge away from the centre produces unequal runs.
    Vertical rise
    Equal rises mean level eaves at the common ridge. Different rises mean different eave heights; the diagram preserves that difference.
    Rafter length
    The straight distance from each eave to the ridge. Each side has its own length, excluding overhangs and construction allowances.

    Measure each side separately

    1. Measure the span: the level distance from the outside of one wall to the outside of the other.
    2. Symmetric roof: add the ridge height above the top of the walls, or the roof angle. Uneven roof: give the ridge height and its distance from the left wall, or the two roof angles.
    3. If the eaves sit at different heights, choose “Each side: rise + run” and measure each side from its own eave to the ridge. Do not assume half the span unless both runs are equal.
    4. Each field has its own unit. Read both angles, pitches and rafter lengths side by side; copy or share the link to reopen the same calculation.

    Step-by-step guides: How to measure roof pitch from the attic · Hip rafter pitch: why it differs from the roof slope

    Calculate A and B independently

    For each side, use its own rise h and run d in the same unit. Never average the two pitches before calculating the rafters.

    Slope (%) = 100 × h ÷ dUS pitch X/12: X = 12 × h ÷ dθ = arctan(h ÷ d) × 180 ÷ πl² = h² + d²
    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.

    Example: a ridge away from the centre

    Both sides rise 3 m. Side A runs 4 m and Side B runs 6 m, giving a 10 m horizontal span. The eaves are level, but the pitches and rafter lengths differ.

    Example: a ridge away from the centre
    Left slopeRight slope
    Angle (°)36.87°26.57°
    Slope (%)75.00%50.00%
    US pitch (X/12)9/126/12
    Rise3.00 m3.00 m
    Run4.00 m6.00 m
    Rafter length5.00 m6.71 m

    Pitch chart and local minimum pitches

    Each side of a gable is a single slope. To look up a side’s angle in percent or X/12, or the minimum pitch of a covering under the IRC, open the full roof pitch chart; to work on one side alone, use the one-slope calculator.

    Roof pitch chart: X/12, degrees and percent · Roof pitch and slope calculator

    Step-by-step guides: Lean-to roof pitch: calculate height before building · Single-slope roof framing: read the diagram

    Two-slope roof questions

    Can both sides have the same pitch?

    Yes. Equal rise-to-run ratios produce the same pitch. Their rafter lengths can still differ if the triangles have different sizes.

    Does the ridge have to be centred?

    No. Enter each run independently. The diagram places the ridge according to those runs and draws both sides using one scale.

    Does this calculate roof area or structural sizes?

    No. These results describe a roof cross-section. Roof area needs additional dimensions along the building; structural sizing and material suitability are outside this calculator.