Rafter Length Calculator
Calculate basic rafter length from horizontal run and rise.
What this calculator measures
This is a geometric length estimate and does not include birdsmouth deductions, ridge details, overhang geometry or structural design.
Rafter length = √(run² + rise²). Total length is the one-rafter geometric length multiplied by the number of rafters. The result is intended to be understandable enough to compare against a drawing, material list or supplier quotation. It does not hide unit conversions or add unexplained corrections.
How the calculation works
The calculator starts with the physical dimensions you enter. Units are converted where required before the geometry is applied. When a waste or adjustment percentage is available, it is calculated after the base quantity so the two figures remain distinguishable. This makes it possible to see whether a change came from the project measurement or from the ordering allowance.
Worked example
Using rafters with a 14 ft run and 7 ft rise, 24 of them, the calculator returns:
One rafter is √(14² + 7²) = √245 = 15.65 ft, and 24 rafters total 375.7 ft of stock line. Since lumber comes in 2 ft increments, each rafter is cut from a 16 ft board — buy 24 of them, and note that the total-footage figure is the geometry, while the board-length choice is the purchase.
Reading the result: the first line is always the geometric base quantity — the number the drawing could defend — and any allowance line sits below it, never inside it. If a supplier's number disagrees with the base line, the argument is about geometry or units; if it disagrees with the allowance line, the argument is about waste policy. Keeping the two separate is the whole point.
Inputs, field by field
- Run (ft): Run is horizontal distance from the ridge centerline to the wall (technically to the birdsmouth seat). For a 28 ft building width at a central ridge, run is 14 ft — half the span.
- Rise (ft): Total vertical rise over that run. A 6:12 pitch over a 14 ft run gives a 7 ft rise; keeping pitch and run consistent is what makes the length correct.
- Rafter count: One per spacing interval per plane: a 48 ft long building at 24 in on center needs 25 pairs, 50 rafters — count pairs carefully, this is the most common arithmetic slip.
- What is not included: The result is the line length from ridge to plate. Overhang tails, ridge cuts and birdsmouth seat cuts adjust the board length you actually buy.
Why the inputs matter
Each field represents a dimension or assumption that changes the result. Length and width control area; thickness or depth controls volume; spacing controls the number of repeated components; coverage controls how much surface a product can cover; and waste changes the planning quantity without changing the underlying geometry. Entering a rounded number is acceptable for an early estimate, but actual procurement should use measured conditions and product-specific information.
Units and conversion checks
Construction calculations frequently mix feet and inches. BuildNumeris converts these values explicitly before multiplying. For volume, remember that cubic yards and cubic feet are not interchangeable: one cubic yard contains 27 cubic feet. Area uses square units and volume uses cubic units. A unit error can be much larger than a rounding error, so checking the displayed intermediate quantity is an important part of reviewing the result.
Common mistakes with this calculation
- Entering the full span as the run, doubling rafter length.
- Buying stock at the exact line length with no allowance for the birdsmouth, plumb cut and tail.
- Counting single rafters where pairs are needed, halving the lumber order.
- Mixing a run measured between walls with a rise measured to the top of a deeper ridge board.
- Applying a waste percentage twice — once inside a dimension and once in the percentage field.
- Relying on a quantity estimate as if it were structural or code design.
Ordering and materials
Convert the per-rafter length to a real board length: add the tail, account for the seat cut, and round to stock. Order one or two extra boards for layout errors and rejects on big runs, plus the ridge board sized to span between end supports, collar ties if the design has them, and hurricane ties or nails per the framing schedule.
What this calculator does not decide
This tool does not determine structural adequacy, required reinforcement, soil capacity, design loads, engineering details, local building-code compliance or manufacturer installation requirements. Those decisions can depend on factors that are not represented by a simple quantity formula. Where safety or regulated construction is involved, the project documents and qualified professionals take precedence.
Field verification checklist
Cut one pair, test-fit, and only then batch-cut. Compare the fitted length against the calculator's line length — the difference should equal exactly the overhang and cut allowances you added, nothing more.
Related BuildNumeris tools
Construction estimates are interconnected: a concrete project pulls in gravel, rebar and excavation numbers; a roof package chains pitch, area and rafter length; a wall sequence runs from framing through drywall to paint. Open the related tools below to build a connected takeoff.
Practical workflow
Measure first, select the correct units, enter the dimensions, review the base quantity, decide whether a waste allowance is appropriate, and then compare the result with project documentation. Save or copy the result if you are building a larger estimate. When conditions change, recalculate rather than manually editing the old number.