Workspace
The calculator's own fields, action and results arrive with the verified pack when you load it. Nothing is computed in this page.
From building width, length, pitch and overhangs to the two numbers a gable roof job runs on: common rafter length and the total area of both planes.
The calculator's own fields, action and results arrive with the verified pack when you load it. Nothing is computed in this page.
The rafter run is the horizontal distance a common rafter covers, and on a gable it is half the building width — each rafter reaches from an eave to the ridge — plus whatever the eave overhangs. The overhang matters more than its size suggests: it is roof beyond the footprint, so an estimate that starts from plan area alone has already left it out, on both sides, along the whole length.
Multiplying that run by the slope factor — the quantity the pitch conversion page in this cluster exists to explain — stretches the horizontal distance into the true length along the slope. That is the common rafter length: what the lumber must be at least as long as, before a plumb cut at the ridge and a birdsmouth at the plate consume their share. It is a centreline geometric length, not a cut list.
The plane area comes from the same stretch applied sideways. Each of the two roof planes is a rectangle: as long as the building plus the rake overhang hanging past each gable end, and as deep as the rafter is long. Two planes, symmetric about the ridge, and the total is the surface that must be decked, papered and shingled. Because the rafter length already contains the slope factor, this area is genuinely the sloped surface — larger than the footprint, increasingly so as pitch climbs.
It is worth seeing what the arithmetic quietly assumes: a full, symmetric gable with the ridge on the centreline. An off-centre ridge (a saltbox) has two different runs; a roof that turns a corner has hips or valleys this rectangle-based layout does not describe. The pack carries separate declared layouts for hip, shed and gambrel roofs, and a valley-and-hip rafter calculator, because those are different geometries, not adjustments to this one.
The area figure is the hand-off of the whole cluster. Sheathing sheets and shingle bundles are both ordered against roof-plane area, and both take-offs accept this page’s primary output as their first input. An error in this number is inherited by every material count that follows it.
The cluster’s reference building, straight from the pack’s anchor vector: 24 ft wide eave to eave, 40 ft long gable to gable, a 6-in-12 pitch, a foot of overhang at eaves and rakes.
Four figures come back. The run shows how far each rafter reaches horizontally. The slope factor is the pitch page’s multiplier reappearing inside this calculation. The rafter length is run stretched by that factor — the minimum the stock must accommodate before cuts. The plane area, the primary output, is what the sheathing and shingle pages take as their opening input.
Set both overhangs to zero to see what overhangs alone contribute — the difference is roof the footprint never shows. Then raise the pitch and watch area climb while width and length stand still: the slope factor working sideways.
The horizontal distance across the building in the direction the rafters span, to the outside faces of the eave walls — not including the overhangs, which enter separately. Half this width is each rafter’s share.
The horizontal distance along the ridge, again to the outside wall faces. The planes run this full length and continue past each gable end by the rake overhang, which is why the two dimensions are kept apart rather than pre-added.
The pitch in carpenter’s notation, exactly as the pitch conversion page describes it. The default is the commonly cited 6-in-12; a measured or specified pitch for the actual building should replace it, because the slope factor it produces multiplies both principal outputs.
How far the roof projects horizontally past the eave walls, extending the rafter run directly. The one-foot default is only a common residential value — porches, deep-soffit designs and minimal-eave sheds all differ, and the plans win.
How far the roof projects past each gable-end wall, extending both planes at both ends. It is separate from the eave overhang because the two are set by different details — a ladder-framed rake can be shallow on a building with generous eaves.
Standard rafter-length and roof-plane arithmetic for symmetric gable roofs
Rafter run as half the span plus the eave overhang; rafter length as run multiplied by the Pythagorean slope factor of the declared pitch; total plane area as two rectangles of that rafter depth spanning the building length plus both rake overhangs.
Geometry and quantity reference to be verified against the construction documents and the professionals responsible for the structure; member sizes are inputs elsewhere, never outputs here. The signed pack carries its own citation, and the page reports the verification state of the release it mounted.