United Kingdom version. Works in millimetres and degrees for a cut roof on a 100 mm wall plate at 400 or 600 mm centres, and points to the TRADA span tables that Approved Document A names. US version
Rafter Length Calculator (Metric, UK)
Cut length of a common rafter in millimetres from the span and roof pitch in degrees, with the birdsmouth on a 100 mm wall plate, cut angles and rafter count.
The interactive tool loads here when JavaScript runs.
About this toolWhat is the Rafter Calculator?
UK roof drawings give the pitch in degrees, not as a rise per 12, and a traditional cut roof sits its rafters on a timber wall plate bedded on the inner leaf of a cavity wall. This version starts there: span and overhang in metres and millimetres, pitch in degrees, a 100 mm plate for the birdsmouth seat and rafters at 400 mm centres.
For a 7.2 m span at 35 degrees with a 38 mm ridge board, 300 mm of level overhang and 150 mm deep rafters, each rafter is 4.738 m along the measuring line, and a 9.6 m long roof needs 25 a side. The tool also gives the plumb and seat cut angles, the heel and notch of the birdsmouth, and the hip length for a hipped end.
The calculator does not size the timber. Approved Document A (paragraph 2B1) sends you to the TRADA span tables for solid timber members in dwellings, or to Eurocode 5 with its UK National Annex, for the section, grade and spacing that suit your roof covering and span.
- Span or run input in feet-inches with fractions, or millimetres and metres
- Pitch as x/12 or degrees with live conversion
- Ridge deduction, overhang tail, plumb and seat cut settings
- Birdsmouth heel, notch depth, height above plate and a one-third depth check
- Rafter count, hip and valley factors and a framing square table
Updated
How to use the Rafter Calculator
- Leave the units on metric and enter the span from the outside of one wall plate to the outside of the other, in metres.
- Enter the pitch in degrees from the drawings, the ridge board thickness and the level overhang to the fascia line.
- Enter the rafter depth and the width of the wall plate it will sit on, then the roof length along the ridge and the spacing (400 or 600 mm).
- Check the birdsmouth line: if the notch takes more than a third of the depth, reduce the seat rather than cutting deeper.
Worked examples
Semi-detached house roof at 35 degrees
Input
7.2 m span, 35°, 38 mm ridge, 300 mm overhang, 150 mm deep rafters, 100 mm wall plate, 9.6 m roof at 400 mm centres
Output
Rafter 4.738 m (4.372 m to the plate line plus a 366 mm tail); notch 57 mm, 38% of the depth; 50 rafters; cut from at least 4.843 m
At 35° the slope factor is 1.2208. Seating the full 100 mm plate takes 38% of a 150 mm rafter, which trips the one-third warning. A 75 mm seat brings the notch to 43 mm (29%) and leaves 131 mm of timber above the plate.
Lean-to extension at 15 degrees
Input
Shed roof, 3.0 m run, 15°, no ridge, 150 mm overhang, 150 mm deep rafters, 100 mm plate, 4.2 m wide at 400 mm
Output
Rafter 3.261 m; heel 27 mm, notch 26 mm (17%); 12 rafters
A shallow pitch makes a shallow birdsmouth. Low pitches limit the roof covering you can use, so check the minimum pitch in the tile or membrane maker's literature before fixing the angle.
Hipped end on the same 35 degree roof
Input
7.2 m span, 35°, rafters at 400 mm centres
Output
Hip line length 5.681 m, hip pitch 26.34°, each jack rafter 488 mm shorter than the last
The hip is measured on the diagonal before the ridge and side-cut deductions. Jack rafters step down by the 400 mm spacing times the slope factor.
Background and insight
The slope factor sqrt(1 + (rise/12)²) converts any level distance into a distance along the rafter. It is the same number a framing square prints as "length of common rafter per foot of run": 13.42 in for 6/12 and 16.97 in for 12/12. For a regular hip roof, where both slopes share one pitch, the hip runs on the diagonal of a square, so its run is 16.97 in for every 12 in of common run and its length per foot is sqrt(288 + rise²), 18.00 in at 6/12. Jack rafters shorten by the spacing times the common slope factor, 17-7/8 in at 16 in centres on a 6/12 roof.
The ridge deduction is half the ridge thickness measured level, so it becomes 0.84 in along a 6/12 rafter for a 1-1/2 in ridge. Seat cut depth is limited in practice: the usual rule of thumb is to remove no more than a third of the rafter depth, and the IRC requires at least 1-1/2 in of bearing on wood (Section R802.6) and limits notches in sawn rafters. Rafter size and spacing for a given span come from the IRC R802 span tables or your local code.
Common use cases
Cutting a pattern rafter
Get the plumb cut, seat cut and length to mark one rafter, test it on the building, then gang-cut the rest.
Ordering roof framing
Count rafters and pick the stock length that covers the rafter plus the long point of the plumb cut.
Sheds, garages and porches
Switch to shed mode for a single slope and use the run directly when the roof leans against a wall.
Checking hip and valley lengths
Read the hip line length and jack rafter difference for a regular hip roof before laying out.
Tips and limitations
- Measure the span on the wall plates once they are bedded; a plate that has crept outwards changes every rafter.
- Mark a pattern rafter from the measuring line, try it at both ends of the roof, then cut the rest from it.
- Approved Document A asks for walls to be tied to the roof at eaves level, at the base of gables and along roof slopes at no more than 2 m centres, so plan the restraint straps with the rafter layout.
- Trussed rafter roofs are designed by the truss maker; this calculator is for cut roofs, dormers, lean-tos and garden buildings.
Sources and further reading
- Structure: Approved Document A, GOV.UK. Paragraph 2B1 on sizing timber members (TRADA span tables) and the guidance on tying walls to the roof at 2 m centres.
- Approved Document A, 2013 edition (PDF), GOV.UK
Frequently asked questions
How do I convert a roof pitch in degrees to a rise per 12?
Multiply the tangent of the angle by 12. A 35° roof is 8.402 in 12, a 45° roof is 12 in 12 and a 15° lean-to is 3.215 in 12. The calculator converts both ways, so you can read a framing square while working in degrees.
Where do UK rafter span tables come from?
Approved Document A no longer prints them. Paragraph 2B1 refers to the TRADA publication of span tables for solid timber members in floors, ceilings and roofs for dwellings, with Eurocode 5 and its UK National Annex as the alternative. The table depends on the timber grade, the spacing and the weight of the roof covering.
How deep can a birdsmouth be on a wall plate?
Approved Document A sets no figure for it. The common rule of thumb is to remove no more than a third of the rafter depth, and the calculator warns past that point. If the full plate width would cut deeper, seat the rafter on part of the plate or use a deeper section.
Do rafters need to be strapped to the walls?
Approved Document A says walls should be tied horizontally to the roof structure at no more than 2 m centres at eaves level, at the base of gables and along roof slopes. The straps provide lateral restraint to the walls, and wall plates are usually strapped down to the masonry as well.
Should rafters go at 400 or 600 mm centres?
Both are common in the UK and both divide into 1,200 mm plasterboard and 2,400 mm sheets. The span table for your timber grade and roof weight decides which spacing a given section can take; closer centres let a smaller section span further.
How long does each rafter need to be before cutting?
Longer than the cut length, because the ridge plumb cut has a long point. On a 150 mm rafter at 35° that adds about 105 mm, so a 4.738 m rafter needs at least 4.843 m of timber. Buy the next length your merchant stocks above that.
Is there an in-depth guide to the Rafter Calculator?
Yes. “Rafter Length, Roof Pitch and the Birdsmouth Cut, Worked Out” covers the background, how it works, common pitfalls and worked examples. Read the full guide.
Related Tools You May Like
Free, in-browser tools that pair well with this one.