Skip to content

Rafter Length Calculator — Common, Hip & Valley Rafters

Calculate common, hip and valley rafter lengths with birdsmouth depth, plumb cut angle and timber requirements for UK roof construction.

Total span wall-to-wall

Angle from horizontal

Horizontal projection beyond wall

How We Calculate This

This calculator determines rafter lengths using roof geometry and trigonometry. It supports common, hip and valley rafters, accounts for ridge board thickness and eaves overhang, and calculates the birdsmouth seat cut depth.

The formulas

Run = (Span ÷ 2) − (Ridge board ÷ 2)

Common rafter length = Run ÷ cos(Pitch)

Rise = Run × tan(Pitch)

Hip/Valley factor = √(1 + 1/cos²(Pitch)) = √(2 + tan²(Pitch))

Hip/Valley plumb cut angle = atan(Rise ÷ (Run × √2)) (shallower than the common pitch)

True length = Rafter length + Overhang rafter length

Birdsmouth seat cut ≤ ⅓ rafter depth (UK convention, TRADA / BS 5268-7.5)

Take-off note: the rafter count, timber volume and estimated cost are per slope (one roof plane). A duo-pitch (gable) roof carries common rafters on both slopes, so double these figures for the full roof. The count uses the eaves Wall Length you enter (it defaults to the span if left blank).

Scope: this calculator works out rafter length, run, rise and cutting angles from geometry only. It does not check whether the resulting timber section is strong enough for your span, spacing, pitch and loading: that is a structural question for a rafter span table or a structural engineer, not a length calculator. See the FAQs below for hip/valley worked examples, mono-pitch extension roofs and birdsmouth notching.

Frequently Asked Questions

Was this calculator helpful?

Last updated: March 2026

Verified against UK standards · estimates only, confirm with your supplier.