Rafter Length & Stock Planner

Plan the geometry of one common-rafter shape for a symmetric roof, then compare up to six board offers for the number of identical rafters you enter. See the rafter in elevation, inspect its entered seat cut, and rotate its outline into board coordinates to understand why the complete layout blank is longer than the top edge. Millimetres and inches share one quantity-preserving model. This is a geometric layout and purchasing comparison: it does not size structural members, approve a birdsmouth or bearing length, specify saw dial settings, or optimize nesting and splices.

Common-rafter layout and stock planning

See the cuts inside the board

Connect roof pitch, ridge allowance, overhang and an entered seat cut. Compare the full layout blank with your stock lengths before preparing a cutting plan.

Set the reference dimensions

One common rafter in a symmetric gable. Enter actual dimensions from your design. The geometric check does not size a structural member or approve a notch, bearing, connection or span.

Authored lengths accept up to six decimals in mm or five in inches. Converted displays may show more digits; the exact quantity is retained until that field is edited. No feet/inch fractions or nominal lumber sizes are inferred.

Across the roof, outside face to outside face. Supported equivalent: 100–100,000 mm.

0.01–24 units of rise per 12 horizontal units. This is a ratio, not degrees.

0–1,000 mm equivalent, smaller than the building span. Half is deducted horizontally from each side’s run.

0–5,000 mm equivalent, from the outside wall to the final plumb tail line. Exclude any separate fascia deduction.

10–1,000 mm equivalent, measured perpendicular to the long edges. Not the vertical plumb-face dimension.

1–1,000 mm equivalent. The entered seat must fit within this width.

0 means an unnotched reference outline. A positive value lays out the seat and heel; it does not establish compliant bearing or notch depth.

0–1,000 mm equivalent along the board. Include your intended trimming/kerf allowance; no allowance is inferred.

1–10,000 whole rafters. Stock comparison uses one board per rafter, without nesting or splicing.

Stock offers · 3

Enter up to six lengths and prices for the same actual cross-section and material. The lowest-priced fitting offer is identified; tied prices prefer shorter stock, then stable offer ID.

Stock 1

1–60 characters.

1–200,000 mm equivalent. Fit uses the exact accepted dimension, not its rounded display.

0–1,000,000 USD, up to two decimals. Use comparable entered prices; taxes/delivery are not added automatically.

Stock 2

1–60 characters.

1–200,000 mm equivalent. Fit uses the exact accepted dimension, not its rounded display.

0–1,000,000 USD, up to two decimals. Use comparable entered prices; taxes/delivery are not added automatically.

Stock 3

1–60 characters.

1–200,000 mm equivalent. Fit uses the exact accepted dimension, not its rounded display.

0–1,000,000 USD, up to two decimals. Use comparable entered prices; taxes/delivery are not added automatically.

Layout updated. At least one entered stock offer fits.

Complete top edge

3,835.9746 mm

Full uncut layout blank

3,977.9746 mm

Lowest-priced fitting stock

Standard · 360 USD for 20

Inspect the layout from three views

Outside wall to ridge face, with horizontal overhang
  • Solid blue: finished board outline.
  • Gray dashed: uncut plumb-end outline. Rose: entered notch removal.
  • Dark line: plate-width reference at y=0. Plate thickness is not modeled.

Both axes share one scale. The seat view crops the full rafter to show the cut detail. Extreme length-to-depth ratios can make a true-scale overview thin; use the detail and numerical ledger. Geometry does not establish structural acceptability.

Why the blank is longer than the top edge

Top edge 3,835.9746 mm + plumb-end offset 92 mm + two allowances of 25 mm = full layout blank 3,977.9746 mm.

This allows the complete uncut plumb-end layout before the birdsmouth is removed. It is not an optimized enclosing blank of a pre-notched shape or a multiple-board cutting plan. The measurement is along the stock, not horizontal roof span.

Seat depth and geometric angles

Roof angle from horizontal: 26.565051°

Plumb line to top edge: 63.434949°

Notch depth perpendicular to board: 26.832816 mm (14.583052% of depth)

Remaining perpendicular depth: 157.16718 mm

A positive remaining depth only means the entered notch does not cut through the entire board. No structural notch percentage or minimum bearing is approved here. Angles describe geometry; they are not a saw’s miter or bevel dial settings.

Compare stock and entered costs

Rafter stock offer comparison
OfferLength (mm)Geometric fitLayout surplus (mm)Total cost (USD)Inspect
Standard · lowest priced fit4,000Fits22.025385360
Longer4,200Fits222.02538420
Longest4,800Fits822.02538540

Costs cover 20 boards, one per rafter. A too-short offer is not a feasible purchase even if its price is lower. Fit uses exact accepted dimensions; small signed surpluses are retained.

Complete measurement ledger

Common-rafter measurements
MeasurementValue (mm)
Horizontal wall-to-ridge-face run2,981
Rise from wall line to ridge face1,490.5
Top-edge height above plate175.71825
Wall-to-ridge-face top edge3,332.8593
Sloped tail length503.11529
Complete top-edge length3,835.9746
Full plumb-cut face205.71825
Vertical heel cut30
Notch depth perpendicular to board26.832816
Remaining perpendicular board depth157.16718
Full uncut layout blank3,977.9746

Elevation face area: 704,919.33 mm². Full blank face area: 731,947.33 mm². These are side-profile areas, not roof covering area or timber volume.

Coordinate ledger

World origin is the outside-wall seat point. Positive x runs toward the ridge; y=0 is the plate plane. Stock coordinates run along the board and up through its depth.

Rafter reference point coordinates
Pointx (mm)y (mm)
tailTop-450-49.281746
wallTop0175.71825
ridgeTop2,9811,666.2183
ridgeBottom2,9811,460.5
tailBottom-450-255
heelBottom0-30
seatHeel00
seatToe600
Finished outline in stock coordinates
VertexAlong stock (mm)Across depth (mm)
1117184
23,952.9746184
33,860.97460
4595.197330
5541.531726.832816
6528.115290
7250

Keep the complete layout

CSV includes exact canonical inputs in mm, current display text, all measurements, ordered outline coordinates and every stock offer. Changing the view does not shorten the export.

How to use this calculator

  1. Enter Outside-wall building span, Pitch: rise per 12, Ridge thickness and Horizontal overhang. Use the full outside-wall span of the symmetric roof, not a structural clear span.
  2. Enter Actual board depth perpendicular to its long edges, Plate width and your designed Horizontal seat length. The tool checks that the seat is no longer than the plate and does not cut through the board; those geometric checks are not design approval.
  3. Set Extra blank allowance at each end along the board and Number of rafters. Expand Stock offers to enter up to six lengths and USD prices per board.
  4. Switch Geometry view between elevation, seat detail and stock layout. Inspect stock offer changes the illustrated board without changing the lowest-priced fitting offer.
  5. Read the stock comparison and Complete measurement ledger. The full blank includes plumb-end layout and both allowances; signed surplus exposes offers that are slightly too short.
  6. Download rafter layout CSV or Show copyable CSV for all inputs, geometric measurements, coordinates and stock comparisons. Length units can change without changing the entered physical quantities; finish incomplete lengths before switching.

The Formula

The mathematical logic powering this calculation is:

All lengths use one consistent unit.
R = (outside-wall span − ridge thickness) / 2
s = pitch rise / 12; k = √(1 + s²)
Wall-to-ridge top edge = Rk
Complete top edge = (R + horizontal overhang)k
Full uncut layout blank = complete top edge + board depth × s + 2 × end allowance

Board depth D is measured perpendicular to its long edges.
Seat length B is horizontal.
Top height above the plate at the outside wall = Dk − sB
Vertical heel cut = sB
Notch depth perpendicular to the board = sB/k
Remaining perpendicular depth = D − sB/k
Roof angle = atan(s); plumb-to-top-edge angle = 90° − roof angle

The ridge deduction is horizontal: half the entered thickness from half the outside-wall span. The stock-fit comparison uses exact decimal inputs and a squared expression before display rounding. Lowest entered price wins among fitting offers; ties use shorter length then stable offer ID. One board per rafter, no nesting.

Worked Example

If you input:

  • Outside-wall building span / ridge thickness: 6000 mm / 38 mm
  • Pitch / horizontal overhang: 6 rise per 12 / 450 mm
  • Actual board depth / plate width / seat length: 184 mm / 89 mm / 60 mm
  • Extra blank allowance at each end / number of rafters: 25 mm / 20
  • Stock offers: 4000 mm at 18 USD, 4200 mm at 21 USD, 4800 mm at 27 USD per board

Result:

The horizontal run to the ridge face is 2981 mm. The complete top edge is about 3835.974615 mm; the full uncut layout blank is about 3977.974615 mm after the 92 mm plumb-end projection and 50 mm of end allowances. The 4000 mm offer fits with about 22.025385 mm surplus per board and is the lowest entered price: 360 USD for 20 boards. The top edge is about 175.718254 mm above the plate at the outside wall. These are geometry and entered-price results, not a structural assessment.

Frequently Asked Questions

Why is the required blank longer than the rafter top edge?

Both ends are vertical plumb cuts while the stock has depth perpendicular to its sloped edges. Laying out the full uncut plumb-ended shape adds board depth times slope to its top-edge length. The entered allowance is then added at each end along the board. This is the full layout before cutting the birdsmouth, not an optimized enclosing board for a pre-notched outline.

How is ridge thickness deducted?

The wall-to-ridge-face horizontal run is half the full outside-wall span minus half the entered ridge thickness. The slope factor is applied after that deduction. This defines a symmetric common-rafter layout with a vertical ridge face; other ridge details require their own geometry.

Does this determine a safe rafter size, span or birdsmouth?

No. Board depth, plate width and seat length are supplied design inputs. The geometric checks only reject a seat longer than the entered plate or one that cuts through the full depth. Structural selection requires applicable loads, species, grade, spacing, deflection and connection requirements. The displayed notch percentage is a measurement, not an allowable limit.

Are the angles saw settings?

No. Roof angle is measured from horizontal and the plumb-to-edge angle is measured between the vertical cut line and the sloped top edge. They describe the drawing. Saw dial conventions, bevels, compound cuts, tool setup and workholding are not modeled.

What does the stock comparison include?

Each identical rafter uses one board of the same entered depth. Offers compare length and entered USD price only. The lowest-priced fitting offer is selected; equal prices prefer the shorter board and then its stable offer ID. Costs exclude tax, delivery, waste from defects and other materials. Width, species, grade and structural suitability are not compared. Longer boards are not nested into multiple rafters.

Why can a displayed length look equal to a stock length that fails?

Visible measurements are rounded, but stock fit uses exact accepted decimal dimensions in a squared comparison. A board even one millionth of a millimetre short still fails. The signed surplus retains small nonzero differences, and the exact-fit example demonstrates this boundary. Input precision does not imply measurement or construction accuracy.

What happens when I switch to inches?

The same accepted physical quantities are retained, including when the displayed inch value is a rounded conversion. Editing a converted field replaces that field’s retained quantity. Authored millimetres accept up to six decimals and authored inches up to five; fractions, unit suffixes, exponents and grouping commas are not accepted. Incomplete lengths are preserved and prevent a unit change until corrected.

Which shapes and limits are supported?

The tool models a straight common rafter, a vertical ridge face, a vertical tail cut and a horizontal seat beginning at the outside-wall line. It excludes hip and valley rafters, fascia adjustments, compound joints and splices. Canonical limits include 100–100000 mm span, 0–1000 mm ridge thickness smaller than span, 0–5000 mm horizontal overhang, 10–1000 mm actual board depth, pitch 0.01–24 rise per 12, and 1–10000 identical rafters. Stock lengths are 1–200000 mm and prices 0–1000000 USD with cents. The coordinate and area ledgers describe a side profile, not roof coverage or timber volume.

Similar Calculators