Jack Rafter Calculator

Quick answer

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.

Updated 2026-10-17By Shakeel Muzaffar | Reviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Your details
Roof Framing
ft
Horizontal distance from wall plate to ridge, in feet. Half the span for a centered ridge.
Inches of rise for every 12 inches of horizontal run.
Distance between rafter centers, measured along the plate.
Your results

Common Difference

—
Jacks Per Side—
Longest Jack—
Side Cut Angle—

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)
Calculator GuideMethod, worked examples, factors and FAQ
How this calculator works1Your inputs2Verified formulameasurementfactor3Result
How it works: your measurements run through a verified formula to give the result.

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.

  1. 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.
  2. Select the roof pitch from 3/12 to 12/12. The first number is the rise in inches for every 12 inches of run.
  3. Select the on-center spacing of 12, 16 or 24 inches. This is the spacing used for the common and jack rafters.
  4. 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.
ResultWhat It Tells You
Common DifferenceHow much shorter each jack rafter is than the one before it, measured along the rafter
Jacks Per SideHow many jack rafters fit along one side of the hip or valley at this spacing
Longest JackThe length of the first jack, one spacing in from the common rafter
Side Cut AngleThe 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.

Formula: Common Difference = OC x sqrt(1 + (pitch / 12)^2)
  1. Find the unit rafter length: sqrt(1 + (pitch / 12)^2). This is the rafter length for each 1 inch of run.
  2. Multiply the on-center spacing in inches by the unit length to get the common difference.
  3. 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.
  4. Divide the run in inches by the spacing and round down to get the number of jacks per side.
  5. 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:

  1. Unit rafter length: sqrt(1 + (6 / 12)^2) = sqrt(1.25) = 1.1180
  2. Common difference: 16 x 1.1180 = 17.89 in, which is about 1 ft 5 7/8 in
  3. Common rafter length: 120 in x 1.1180 = 134.16 in
  4. Longest jack: 134.16 – 17.89 = 116.27 in, which is 9.69 ft
  5. Jacks per side: floor(120 / 16) = 7
  6. 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

FeatureCommon RafterJack Rafter
Where it runsWall plate to ridgeWall plate or ridge to a hip or valley rafter
LengthOne full length for the whole roofSteps shorter by one common difference each
Top or bottom cutPlumb cut at the ridgePlumb cut plus a side cut to meet the hip or valley
Number neededOne per spacing along each planeSeveral per side of every hip or valley
PatternOne pattern rafter for allOne pattern, shortened by the common difference per piece
Where this calculator helpsUse the Rafter CalculatorGives 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

Method
The unit rafter length is the square root of 1 plus the pitch over 12, squared. The common difference is the on-center spacing times the unit length. The longest jack is the full common rafter length minus one common difference.
Inputs used
Common run in feet, roof pitch as rise per 12 in of run, and on-center spacing in inches.
Assumptions
Equal pitch on both roof planes, level plates, rafters at equal spacing, and the first jack placed one spacing in from the common rafter.
Rounding
The common difference shows two decimals in inches, lengths show two decimals in feet and the side cut shows one decimal in degrees. The jack count is rounded down to a whole number.
Edge cases
A missing run returns a prompt and a run of zero or less returns an error. If the run is shorter than one spacing, the tool reports that no jacks fit.
Sources
See the Sources list below.
Last reviewed
2026-10-28.

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
Reviewed and sourcedClear, comparable resultsReviewed and sourced
Every figure is checked against cited sources and reviewed by a qualified expert.

Related Calculators

Looking for more framing tools?

Explore all framing calculators

General 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.