TryBuildCalc

Shed Roof Rafter Calculator (Single-Slope Rafter Length & Count)

Size shed roof rafters instantly.

Inputs

ℹ️Gable: two equal slopes meeting at a center ridge. Shed/Lean-To: one continuous slope from a low wall to a high wall. Hip and valley roofs aren't modeled.

ℹ️Outside wall to outside wall — the full span is this shed roof's rafter run.

ℹ️The length running along the ridge (or along the low/high walls for a shed roof) — determines the rafter count.

in rise / 12 in run

ℹ️Rise per 12 inches of run — a 6/12 roof rises 6 inches for every 12 inches of horizontal run. Common residential pitches range roughly 4/12 to 12/12.

in

ℹ️Horizontal projection of the rafter tail past the outer wall face, before any fascia trim.

ℹ️Sets the rafter's actual depth, used for the birdsmouth notch-depth check and HAP — verify span adequacy separately against a span table.

ℹ️The wall this rafter lands on — sets the birdsmouth seat cut length (2x4 = 3.5", 2x6 = 5.5").

Waste & Lumber

%

ℹ️Accounts for cut-offs, damaged pieces, and layout adjustments — 10% is a common estimating default.

Cost

Enable Cost Estimation?

Total Rafters Needed

15

2x8, includes 10% waste — single slope

Rafter Length to Buy

14 ft

Cut length 160.8" (13.4 ft) including the overhang tail

Rafter Geometry

Pitch: 3/12 (14.04° from horizontal)

Run: 144" (12.00 ft)

Rise: 36" (3.00 ft)

Line length (ridge to wall): 148.43"

Overhang tail: 12.37" (12" horizontal overhang)

Total rafter length: 160.8"

Birdsmouth & Cuts

Plumb cut angle: 14.04° (speed square/saw bevel setting)

Seat cut length: 3.5" (2x4 plate)

Notch depth (perpendicular to rafter): 0.85"

Max notch depth (1/4 rule): 1.81"

Heel height (plumb rise of the heel cut): 0.88"

Height above plate (HAP): 6.6"

Rafter Count

Rafters per side: 13 (16" O.C. over 16 ft)

Total with 10% waste: 15

Assumptions Used

Standard US residential common-rafter framing (gable or shed, no hip/valley rafters). Rafter length, run, rise, and cut angles are direct trigonometry from your entered pitch, span, and overhang — not a code-table lookup, so they apply regardless of your local code edition. Notch depth (perpendicular to the rafter) and heel height (the vertical rise of the heel cut) are two distinct birdsmouth measurements — the 1/4 notch-depth limit is commonly cited as required by IRC R802.7.1 (some code editions cross-reference the equivalent R502.8 floor-joist rule) — verify against your locally adopted code edition before cutting. Rafter count uses the same on-center spacing formula as field studs, and total rafter length is rounded up to a real stock lumber length where one covers it — a rafter exceeding the longest standard stock length (24 ft) is flagged for a special-order, spliced, or engineered solution instead. This is a reference estimate for a material takeoff, not a structural design — snow load, wind uplift, and rafter size adequacy for your span must be verified against the adopted code and a structural professional.

Bill of Materials

Main material: 15 pcs + recommended tools

+

Computed items reflect your entered span, pitch, and length; consumables below are general recommendations — actual needs vary by product, wind/seismic zone, and site conditions.

For Your Job

Rafters

15 pcs

2x8 × 14 ft

Find suppliers

General Tools & Consumables

Framing nails / rafter fasteners

consumable

Hurricane ties / rafter-to-plate connectors

site-dependent

Rafter ties or collar ties (lumber)

consumable

Framing nailer or hammer

tool

Circular saw or miter saw

tool

Speed square / framing square

tool

Tape measure

tool

Chalk line

tool

4 ft level

tool

Roof/ridge bracing or temporary supports

site-dependent

Safety glasses, work gloves & fall protection

consumable
Shed Roof Framing3/12Building Span14 ft rafters15 rafters total

Diagram simplified for clarity (not to scale)

Looking for the verification checklist, reference tables, tips, or common mistakes?See the complete Rafter Calculator.

Shed roof rafter sizing

A shed (lean-to) roof has a single slope running the full building span from a low wall to a high wall — common on additions, porches, sheds, and modern single-slope designs.

This page defaults to a 12 ft span shed roof — edit the inputs above to match your actual structure.

  • Uses the full building span as the rafter run — no ridge board or ridge deduction, unlike a gable roof.
  • Rafter count is not doubled (only one slope), unlike a gable roof.
  • Common for additions, porches, and outbuildings where a single slope is simpler to frame and flash.

Rafter Calculator Formula: How Is It Determined?

Rafter geometry, birdsmouth cuts, and rafter count, calculated separately and combined into a material takeoff.

Step 1 — Rafter Run, Rise & Length

Run = Gable: (Span − Ridge Thickness) ÷ 2 | Shed: full Span

Angle = arctan(Pitch ÷ 12)

Rise = Run × (Pitch ÷ 12)

Line Length = Run ÷ cos(Angle)

Tail Length = Overhang ÷ cos(Angle)

Total Rafter Length = Line Length + Tail Length

This is direct trigonometry applied to your entered span, pitch, and overhang — a Pythagorean relationship between run and rise, not a code-table lookup, so it applies regardless of code edition. Total length is then rounded up to the nearest real stock lumber length.

Step 2 — Birdsmouth & Cuts

Seat Cut = Wall Plate Width

Plumb Cut Angle = Angle (from horizontal)

Notch Depth = Seat Cut × sin(Angle)

Heel Height = Seat Cut × tan(Angle)

Max Notch Depth (1/4 rule) = Rafter Depth ÷ 4

HAP = (Rafter Depth ÷ cos(Angle)) − Heel Height

The seat cut rests flat on the top plate. Notch depth (measured perpendicular to the rafter, the figure the 1/4 rule applies to) and heel height (the vertical rise of the plumb heel cut) are two distinct measurements — HAP (Height Above Plate) is the rafter's full vertical extent minus the heel height the notch removes. The 1/4 notch-depth rule is commonly cited as required by IRC R802.7.1 — this calculator flags any pitch/lumber combination that exceeds it, but verify against your locally adopted code edition.

Step 3 — Rafter Count & Ridge Board

Rafters per Side = ceil((Building Length in inches) ÷ Spacing) + 1

Total Rafters = Gable: Rafters per Side × 2 | Shed: Rafters per Side

Ridge Board Length = Building Length (Gable roofs only)

Rafter count uses the same on-center spacing formula as field studs. A gable roof doubles the count to cover both slopes; a shed roof has only one slope and no ridge board.

Worked Example

This example walks through your current inputs above, using the same steps as the Formula section.

Input Values Used

InputValueWhy it is used
Roof type / spanShed / 12 ftSets whether run is half or full span
Pitch3/12 (14.04°)Sets rise, length, and cut angles
Rafter lumber / wall plate2x8 / 2x4Sets birdsmouth notch depth check and HAP

Step 1 — Rafter Run, Rise & Length

CalculationResult
Run144"
Rise36"
Line length148.43"
Overhang tail12.37"
Total rafter length160.8" (14 ft stock)

Step 2 — Birdsmouth & Cuts

CalculationResult
Seat cut3.5"
Plumb cut angle14.04°
Notch depth (max 1.81")0.85"
Heel height0.88"
HAP6.6"

Step 3 — Rafter Count & Ridge Board

CalculationResult
Rafters per side13
Total rafters (with 10% waste)15

Therefore, this 12 ft span, 3/12 pitch roof needs approximately 15 rafters (14 ft stock).

Related Calculators

Disclaimer: This calculator provides approximate results for planning and estimation purposes only. Actual requirements may vary based on site conditions, materials, workmanship, and local building regulations. Always consult a qualified engineer, architect, or construction professional before making final decisions.

FAQ

A shed roof's run is the FULL building span (low wall to high wall) — there's no ridge board and no splitting the span in half, since there's only one continuous slope.
No — this calculator doesn't compute a ridge board for shed roofs, since the rafters run directly between the two walls at different heights.