A jack rafter calculator finds the common difference, the length each successive jack rafter shrinks by, from the on-center spacing and roof pitch. It also returns the number of jacks per side, the longest jack length, and the side cut angle, using the unit rafter length for your pitch.
Common Difference
Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.
Saved results (0)
How to Use the Jack Rafter Calculator
Follow these steps to find the common difference and the length of each jack rafter on one side of a hip or valley.
- Enter the common run in feet. This is the horizontal distance from the wall plate to the ridge. On a roof with a centered ridge it equals half the building span.
- Select the roof pitch from 3/12 to 12/12. The first number is the rise in inches for every 12 inches of run.
- Select the on-center spacing of 12, 16 or 24 inches. This is the spacing used for the common and jack rafters.
- Read the results. The common difference, jack count, longest jack and side cut angle update instantly. The note under the result lists each jack length from longest to shortest when the count is six or fewer.
| Result | What It Tells You |
|---|---|
| Common Difference | How much shorter each jack rafter is than the one before it, measured along the rafter |
| Jacks Per Side | How many jack rafters fit along one side of the hip or valley at this spacing |
| Longest Jack | The length of the first jack, one spacing in from the common rafter |
| Side Cut Angle | The angle to set on the saw for the cheek cut where the jack meets the hip or valley |
All lengths are theoretical line lengths. Allow for the thickness of the hip or valley rafter and the birdsmouth before you cut real lumber.
What Is a Jack Rafter?
A jack rafter is a shortened common rafter. It runs from the wall plate up to a hip rafter, from a valley rafter up to the ridge, or between a hip and a valley. Because it stops short of the ridge or the plate, it is shorter than a full common rafter, and each jack along a hip or valley is a little shorter than its neighbor.
Jack rafters take three common forms. A hip jack runs from the wall plate up to a hip rafter. A valley jack runs from a valley rafter up to the ridge. A cripple jack sits between a hip and a valley and touches neither the plate nor the ridge. This calculator handles the length pattern that all three share.
Knowing the pattern matters because a hip roof can need dozens of jacks. Calculating one common difference lets you cut the whole set from a single pattern rafter instead of measuring each board separately.
How Does the Jack Rafter Calculator Work?
Every jack on one side of a hip or valley is spaced the same distance apart along the plate, and the roof slope is constant. Because of that, each jack is shorter than the previous one by the same amount, called the common difference. The common difference is the on-center spacing multiplied by the unit rafter length for the pitch.
Common Difference = OC x sqrt(1 + (pitch / 12)^2)- Find the unit rafter length: sqrt(1 + (pitch / 12)^2). This is the rafter length for each 1 inch of run.
- Multiply the on-center spacing in inches by the unit length to get the common difference.
- Multiply the run in inches by the unit length to get the full common rafter length, then subtract one common difference to get the longest jack.
- Divide the run in inches by the spacing and round down to get the number of jacks per side.
- Find the side cut as arctan(cos(plumb angle)), where the plumb angle is arctan(pitch / 12).
Each later jack equals the previous jack minus one common difference. The calculator lists these lengths for you when the count is small.
Jack Rafter Calculation Example
A hip roof with a 10 ft common run, a 6/12 pitch and rafters at 16 in on center:
- Unit rafter length: sqrt(1 + (6 / 12)^2) = sqrt(1.25) = 1.1180
- Common difference: 16 x 1.1180 = 17.89 in, which is about 1 ft 5 7/8 in
- Common rafter length: 120 in x 1.1180 = 134.16 in
- Longest jack: 134.16 – 17.89 = 116.27 in, which is 9.69 ft
- Jacks per side: floor(120 / 16) = 7
- Side cut: arctan(cos(26.57 degrees)) = arctan(0.8944) = 41.8 degrees
The seven jacks run from 9.69 ft down in steps of 17.89 in. As a check, the Swanson Blue Book lists a common difference of 1 ft 5 7/8 in for a 6/12 pitch at 16 in on center, which matches the 17.89 in result here.
Factors That Change Your Result
Roof Pitch
A steeper pitch lengthens the unit rafter, so the common difference grows. At 12/12 the unit length is about 1.414, while at 3/12 it is about 1.031. The same 16 in spacing therefore gives a larger step on a steep roof.
On-Center Spacing
The common difference scales directly with spacing. Moving from 16 in to 24 in multiplies the step by 1.5 and cuts the number of jacks per side, so the roof uses fewer but more widely stepped boards.
Run Length
A longer run gives a longer longest jack and more jacks per side. The count is the run in inches divided by the spacing, rounded down.
Hip Side or Valley Side
The common difference is the same for hip jacks and valley jacks at the same pitch and spacing. What differs is where each jack starts and ends, and the direction of the side cut, so mark the cheek cut on the correct face of the board.
Position of the First Jack
This calculator places the first jack one spacing in from the common rafter. If your layout starts the first jack at a different distance, the longest jack changes by the same offset multiplied by the unit length.
Jack Rafters vs Common Rafters Comparison
| Feature | Common Rafter | Jack Rafter |
|---|---|---|
| Where it runs | Wall plate to ridge | Wall plate or ridge to a hip or valley rafter |
| Length | One full length for the whole roof | Steps shorter by one common difference each |
| Top or bottom cut | Plumb cut at the ridge | Plumb cut plus a side cut to meet the hip or valley |
| Number needed | One per spacing along each plane | Several per side of every hip or valley |
| Pattern | One pattern rafter for all | One pattern, shortened by the common difference per piece |
| Where this calculator helps | Use the Rafter Calculator | Gives the step, count, longest length and side cut |
Cost depends on lumber size, grade and local prices, so no price is stated here. Because jacks are cut from shorter stock, a good cut list can reduce waste, so plan lengths before you order.
When to Use a Jack Rafter Calculator
Hip Roof Framing
Use a jack rafter calculator on any hip roof. The hip creates triangular roof planes, and the jacks fill those planes between the plate and the hip rafter.
Valley Framing
Where two roof planes meet at an inside corner, valley jacks run from the valley rafter up to the ridge. The same common difference applies, with the longest jack nearest the plate end of the pattern.
Ordering Lumber and Cut Lists
The list of jack lengths shows which stock lengths to buy and how many pieces to cut from each. It helps you avoid ordering a full length for every jack.
Comparing Spacing Options
Switch between 12, 16 and 24 in on center to see how the count and the step change. This shows the effect on lumber use before you commit to a layout.
Common Mistakes
1. Reusing One Common Difference for Every Pitch
The common difference changes with the pitch. A 6/12 roof and an 8/12 roof at the same spacing have different steps, so recalculate whenever the pitch changes.
2. Using the Wrong On-Center Spacing
The spacing must match the layout of the common rafters. If the commons are at 16 in, the jacks must be too, or the pieces will not line up with the sheathing edges.
3. Skipping the Hip Deduction
The theoretical length runs to the center line of the hip or valley. Each jack must be shortened by half the thickness of the hip or valley rafter, measured square to its face, so subtract it before cutting.
4. Measuring Along the Slope Instead of Horizontally
The run and the spacing are horizontal distances. Measuring them along the sloped rafter gives a count and a step that are too large.
5. Cutting the Side Cut on the Wrong Face
Left and right jacks need mirrored cheek cuts. Mark a pattern for each side of the hip or valley and label them.
Accuracy and Limitations
The arithmetic is exact for the numbers you enter, but the model is a simplified roof. Treat the results as a planning cut list and confirm them with a pattern rafter.
What it calculates accurately
- The theoretical line length of each jack
- The common difference for the chosen pitch and spacing
- The number of jacks that fit along one side
- The side cut angle for the pitch
What it does not account for
- The hip or valley rafter thickness deduction
- Ridge board shortening
- Birdsmouth depth and overhang
- Unequal pitches or irregular spacing
- Lumber size, grade or local code requirements
How We Calculate the Result
Frequently Asked Questions
What is a jack rafter?
A jack rafter is a shortened common rafter that runs from the wall plate to a hip rafter, or from a valley rafter up to the ridge. Each jack along a hip or valley is shorter than its neighbor.
What is the common difference in jack rafters?
The common difference is the amount each jack is shorter than the one before it. It equals the on-center spacing times the unit rafter length for the pitch.
How do you calculate the common difference?
Multiply the on-center spacing in inches by the square root of 1 plus the pitch over 12, squared. For a 6/12 pitch at 16 in on center the result is 17.89 in.
How many jack rafters do I need per side?
Divide the run in inches by the on-center spacing and round down. A 10 ft run at 16 in on center gives 7 jacks per side.
What is the side cut on a jack rafter?
The side cut, also called the cheek cut, is the angled cut that lets the jack meet a hip or valley rafter. It equals arctan(cos(plumb angle)), which is 41.8 degrees for a 6/12 pitch.
Is the common difference the same for hip and valley jacks?
Yes. At the same pitch and spacing the step is identical. The jacks differ in where they start and end and in the direction of the side cut.
Does the result include the hip rafter thickness deduction?
No. The lengths are theoretical line lengths. Subtract half the hip or valley thickness, measured square to its face, from each jack before cutting.
Why does the common difference change with pitch?
A steeper roof makes each inch of run longer along the slope. The unit rafter length grows with the pitch, and the common difference grows with it.
Can I use 24 inch spacing for jack rafters?
Yes, if the structure and local code allow it. Wider spacing makes the common difference larger and cuts the jack count. Confirm rafter size and spacing with your code or a professional.
Is my data saved?
No. The calculator runs in your browser and nothing you enter is stored or sent anywhere.
Sources
- Swanson Blue Book Cutting Jack Rafters (Swanson Tool Company).
- Rafter Tables on a Framing Square (US Army Engineer Manual EN5156).
- Hip Valley Roof Framing Example (SBE Builders framing reference).
- Lengths of Jack Rafters for Square Cornered Roofs (Classic carpentry text).
Related Calculators
Looking for more framing tools?
Explore all framing calculatorsGeneral information and planning only; not professional advice. Results are estimates based on the figures you enter. Confirm important decisions with a qualified professional. Spotted an error? Let us know.