Skip to content
Omnikalc

Hip and valley rafter length and jack rafter calculator

Enter the pitch, the run, the overhang and the jack spacing to get the length of the hip or valley rafter, the common rafter and the difference in length of the jack rafters.

Updated on
Your inputs

Value out of range

ft

Value out of range

ft

Value out of range

in

Value out of range

Results

Length of the hip or valley rafter

19.50 ft

Length of the common rafter
14.53 ft
Difference in length of the jack rafters
17.89 in
Jack rafters on each side
8
Total length of the jack rafters of both sides
107.33 ft

The hip and valley rafter calculator gives the length of a hip or valley rafter, the common rafter, the difference in length of the jack rafters and the number and total length of the jacks for a roof with equal pitches.

How the calculation works

  • Enter the pitch of the roof as the rise per 12 in of run, the run of the common rafter and the horizontal overhang.
  • Enter the spacing of the jack rafters.
  • The calculator gives the common rafter length, the hip or valley rafter length, the difference in length of the jacks and the number and total length of the jack rafters.

Example

A hip roof has a 6 in 12 pitch, a run of 12 ft and an overhang of 1 ft, so the plan run is 13 ft. The common rafter is 13 × √(1 + 0.5²) = 14.53 ft. The hip rafter is √(2 × 13² + (13 × 0.5)²) = 19.50 ft. With jack rafters at 16 in, each jack is 17.89 in longer than the one before it. There are 8 jacks on each side of the hip, with a total length of 107.3 ft for both sides.

Why it matters

The calculator helps carpenters, framers, builders and students to figure out the lumber for a hip or a valley, to lay out the jack rafters in order and to check a framing plan before cutting.

Good to know

Measure the run of the common rafter from the outside of the wall plate to the center of the ridge, and add the overhang measured horizontally. Make sure that both roof planes have the same pitch, because the formulas assume equal pitches and a square corner of the building. The theoretical lengths are measured along the center of the rafter, so take off half of the thickness of the ridge board or of the hip at the top and the depth of the birdsmouth at the bottom. Add a little for waste. Always cut one rafter first and test it in place before you cut the rest of the lumber.

The rafter length calculator gives the length of a common rafter, the birdsmouth calculator gives the notch at the plate, the roof truss calculator sizes a truss roof and the roof battens calculator lays out the battens on the rafters.

Frequently asked questions

Why is the hip rafter longer than the common rafter?

The hip rafter runs diagonally across the corner of the building, so its run is the common run multiplied by √2, about 1.414. It has the same rise as the common rafter, so it is longer, with a lower slope. A hip with a 6 in 12 common pitch has a pitch of about 4.24 in 12.

What is the difference in length of jack rafters?

Jack rafters run from the wall plate to the hip or valley and go up in equal steps. The difference in length is the spacing times the common rafter length per unit of run. For jacks at 16 in on a 6 in 12 roof, each jack is 17.89 in longer than the one before it. Cut the shortest jack to that length, and the others are multiples.

Does the calculator work for a valley?

Yes. A valley rafter has the same length as a hip rafter for roofs with the same pitch on both sides, because it also runs along the diagonal of the corner. The cuts at the top and bottom are different, and a valley may need to be a deeper member to carry the loads of the jack rafters, so check the size.

What does the calculator leave out?

The calculator leaves out the thickness of the ridge board and the hip rafter, which shortens each rafter by half of the thickness, the depth of the birdsmouth, the side cuts of the jacks, a roof with unequal pitches and the fascia. Take these off the lengths before you cut the lumber.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.