★ CONSTRUCTION · ROOFING · RAFTERS

Rafter Calculator: 13.42 ft Rafter for a 24 ft Span

On the defaults — a 24 ft span at 6/12 pitch, no overhang — your rafter is 13.42 ft long. This is the rafter tool: measure the span once, read the pitch once, and cut the rafters once — a half-framed roof waits for no second delivery.

2406

Rafter calculator

Put your roof span, pitch and overhang in: a 24 ft span at 6/12 pitch has a 12 ft run and a 6 ft rise — a 13.42 ft rafter.

How far the roof spans from wall plate to wall plate, in feet — 24 ft on the defaults. The rafter run is half the span, so the span moves the rafter length through the run, not directly: doubling the span does not double the rafter.

How many inches the roof rises per foot of run — 6 on the defaults, written 6/12. Pitch moves the rise exactly like span moves the run, so a steeper pitch lengthens every rafter on the same span.

How far the rafter extends past the wall plate, in feet — 0 ft on the defaults. Overhang adds slope length, not flat length: each foot of overhang adds the slope factor, about 1.12 ft at 6/12 pitch.

Rafter (24 ft span, 6/12 pitch, 0 ft overhang)Rafter length 13.42 ft (12 ft run, 6 ft rise, 6/12 pitch, 0 ft overhang).Run 24 ÷ 2 = 12 ft; rise 12 × 6 ÷ 12 = 6 ft; rafter √(12² + 6²) = √180 = 13.42 ft.

Roof span: 24 ft

Roof pitch: 6/12

Overhang: 0 ft

Run: 12 ft

Rise: 6 ft

Rafter length: 13.42 ft

30 ft span, same pitch and overhang: Rafter length 16.77 ft (15 ft run, 7.5 ft rise, 6/12 pitch, 0 ft overhang).

8/12 pitch, same span and overhang: Rafter length 14.42 ft (12 ft run, 8 ft rise, 8/12 pitch, 0 ft overhang).

4/12 pitch, same span and overhang: Rafter length 12.65 ft (12 ft run, 4 ft rise, 4/12 pitch, 0 ft overhang).

2 ft overhang, same span and pitch: Rafter length 15.65 ft (12 ft run, 6 ft rise, 6/12 pitch, 2 ft overhang).

Span behind 13.42 ft: 24 ft

At the star the figures are: Rafter length 13.42 ft (12 ft run, 6 ft rise, 6/12 pitch, 0 ft overhang).

At the lower neighbor the figures are: Rafter length 11.18 ft (10 ft run, 5 ft rise, 6/12 pitch, 0 ft overhang).

At the upper neighbor the figures are: Rafter length 16.77 ft (15 ft run, 7.5 ft rise, 6/12 pitch, 0 ft overhang).

Reverse verdict: STEP

Pitch behind 13.42 ft: 6 in per ft

At the star the figures are: Rafter length 13.42 ft (12 ft run, 6 ft rise, 6/12 pitch, 0 ft overhang).

At the lower neighbor the figures are: Rafter length 12.65 ft (12 ft run, 4 ft rise, 4/12 pitch, 0 ft overhang).

At the upper neighbor the figures are: Rafter length 14.42 ft (12 ft run, 8 ft rise, 8/12 pitch, 0 ft overhang).

Reverse verdict: STEP

No span at all: Rafter length 0 ft (0 ft run, 0 ft rise, 6/12 pitch, 0 ft overhang).

Negative span: Span — 0 ft or more.

Negative pitch: Pitch — 0 in per ft or more.

Negative overhang: Overhang — 0 ft or more.

Flat roof (0 pitch): Rafter length 12 ft (12 ft run, 0 ft rise, 0/12 pitch, 0 ft overhang).

Rafter length 13.42 ft (12 ft run, 6 ft rise, 6/12 pitch, 0 ft overhang).

30 ft span, same pitch and overhang: Rafter length 16.77 ft (15 ft run, 7.5 ft rise, 6/12 pitch, 0 ft overhang).

8/12 pitch, same span and overhang: Rafter length 14.42 ft (12 ft run, 8 ft rise, 8/12 pitch, 0 ft overhang).

4/12 pitch, same span and overhang: Rafter length 12.65 ft (12 ft run, 4 ft rise, 4/12 pitch, 0 ft overhang).

2 ft overhang, same span and pitch: Rafter length 15.65 ft (12 ft run, 6 ft rise, 6/12 pitch, 2 ft overhang).

Reverse: Span behind 13.42 ft: 24 ft — at 24 ft the figures are Rafter length 13.42 ft (12 ft run, 6 ft rise, 6/12 pitch, 0 ft overhang)..; at the lower neighbor the figures are Rafter length 11.18 ft (10 ft run, 5 ft rise, 6/12 pitch, 0 ft overhang)..; at the upper neighbor the figures are Rafter length 16.77 ft (15 ft run, 7.5 ft rise, 6/12 pitch, 0 ft overhang).. — verdict: STEP. Reverse: Pitch behind 13.42 ft: 6 in per ft — at 6 in per ft the figures are Rafter length 13.42 ft (12 ft run, 6 ft rise, 6/12 pitch, 0 ft overhang)..; at the lower neighbor the figures are Rafter length 12.65 ft (12 ft run, 4 ft rise, 4/12 pitch, 0 ft overhang)..; at the upper neighbor the figures are Rafter length 14.42 ft (12 ft run, 8 ft rise, 8/12 pitch, 0 ft overhang).. — verdict: STEP.

Edges: No span at all gives Rafter length 0 ft (0 ft run, 0 ft rise, 6/12 pitch, 0 ft overhang).. Negative span gives Span — 0 ft or more.. Negative pitch gives Pitch — 0 in per ft or more.. Negative overhang gives Overhang — 0 ft or more.. Flat roof (0 pitch) gives Rafter length 12 ft (12 ft run, 0 ft rise, 0/12 pitch, 0 ft overhang)..

Embed this calculator

What does rafter length 13.42 ft mean?

It means each rafter on a 24 ft span at 6/12 pitch is 13.42 feet long, measured along the slope. The run is half the span, 12 feet, and the rise is the run times the pitch over 12, which is 6 feet; the rafter is the hypotenuse of that right triangle, the square root of 144 plus 36, which is the square root of 180, or 13.42 feet. The overhang is zero on the defaults, so nothing is added past the wall plate; with a 2 ft overhang the same rafter would be 15.65 feet, since overhang adds slope length, not flat length.

Output · formula · meaning

OutputFormulaWhat it means
Runspan ÷ 212 ft — 24 ÷ 2.
Riserun × pitch ÷ 126 ft — 12 × 6 ÷ 12.
Rafter length√(run² + rise²) + overhang × slope factor13.42 ft — √180, overhang 0.

Three things to check before you trust the number

First, check the span you measured: it is wall plate to wall plate, and the run is half of it, not the whole span — using the full span as the run nearly doubles the rafter. Second, read the pitch off the roof, not off a habit: 6/12 means 6 inches of rise per foot of run, and the roof pitch chart converts slope to angle and rise. Third, judge the overhang honestly: it adds slope length at the pitch factor, about 1.12 ft per foot at 6/12, not one flat foot per foot.

Worked example

24 ft span, 6/12 pitch, 0 ft overhang. Run: 24 ÷ 2 = 12 ft. Rise: 12 × 6 ÷ 12 = 6 ft. Rafter: √(12² + 6²) = √180 = 13.42 ft. In practice that means cutting each rafter 13.42 ft long along the slope, and trimming the birdsmouth on site rather than shortening the plan length. If the same span carried an 8/12 pitch instead, the rise would be 8 ft and the rafter 14.42 ft — the span alone would be identical.

Every branch, checked

With a 30 ft span instead of 24 ft, the run rises to 15 ft, the rise to 7.5 ft, and the rafter to 16.77 ft. With an 8/12 pitch, the run stays 12 ft but the rise rises to 8 ft and the rafter to 14.42 ft. With a 4/12 pitch, the rise falls to 4 ft and the rafter to 12.65 ft. With a 2 ft overhang, the run and rise stay 12 ft and 6 ft but the rafter rises to 15.65 ft, since overhang adds slope length. Span, pitch and overhang each move the length on their own, so a wrong pitch is as costly as a wrong span.

The reverses, worked backwards

The span behind 13.42 ft is 24 ft: at 20 ft the rafter is 11.18 ft (10 ft run, 5 ft rise, 6/12 pitch, 0 ft overhang); at 30 ft it is 16.77 ft (15 ft run, 7.5 ft rise, 6/12 pitch, 0 ft overhang). The pitch behind 13.42 ft is 6 in per ft: at 4 the rafter is 12.65 ft (12 ft run, 4 ft rise, 4/12 pitch, 0 ft overhang); at 8 it is 14.42 ft (12 ft run, 8 ft rise, 8/12 pitch, 0 ft overhang). Each reverse moves one input and holds the rest, so the step is exactly one span or one pitch change. The overhang has no lower neighbor on the defaults, since it already sits at zero — its branch above shows the upward step instead.

What the defaults assume

The defaults assume a gable roof spanning 24 ft from wall plate to wall plate, a 6/12 pitch, and no overhang past the plate. They do not assume a ridge board, birdsmouth cuts, collar ties or fasteners — a rafter cut on site is trimmed at the birdsmouth, and the ridge board is bought by the length, not by the rafter.

Who uses this

Accuracy & limitations

The arithmetic is exact for the inputs entered; the judgement is the span measurement and the pitch. Real rafters are cut with a birdsmouth that shortens the effective bearing length slightly, and the lumber on the shelf overrides any planning figure; a span measured outside the plates over-orders, and a pitch read off a different roof under-orders length. Treat 13.42 ft as the planning length for a 24 ft span at 6/12 pitch, and cut long, trimming on site.

Cite this calculator

Bright Side Kit, “Rafter Calculator: 13.42 ft Rafter for a 24 ft Span”, https://brightoolbox.com/rafter-calculator/, accessed 3 November 2026. Students and researchers: cite the calculator name, the page URL and the date you used it, and quote the defaults (24 ft span, 6/12 pitch, 0 ft overhang) so the 13.42 ft result can be checked.

Frequently asked questions

How long is a rafter for a 24 ft span at 6/12 pitch?

13.42 ft with no overhang. The run is 12 ft, the rise is 6 ft, and √(12² + 6²) = √180 = 13.42 ft.

How do I work out rafter length from span and pitch?

Halve the span for the run, multiply the run by pitch over 12 for the rise, then take the square root of run squared plus rise squared. A 24 ft span at 6/12 is a 12 ft run, a 6 ft rise, and a 13.42 ft rafter.

What does 6/12 pitch mean?

6 inches of rise per 12 inches of run. The roof pitch chart converts pitch to angle and slope factor for any roof.

Does overhang add flat or slope length?

Slope length: each foot of overhang adds the slope factor, about 1.12 ft at 6/12 pitch. A 2 ft overhang takes this rafter from 13.42 ft to 15.65 ft.

Does this include the birdsmouth cut?

No — this calculator gives the slope length before cuts. The birdsmouth is cut on site, and the plan length is trimmed to fit, not shortened in advance.

Should I cut rafters exact or long?

Cut long and trim on site: a rafter cut exact leaves nothing for the birdsmouth, and a short rafter cannot be stretched.