4/12 Pitch Calculator

4/12 Roof Pitch Calculator

Enter a valid pitch and run length to calculate.
Roof Angle
Rafter Length (no overhang)
Rafter Length (with overhang)
Rise (total)

Roofers throw around numbers like "4/12" constantly, and if you've never framed a roof before, it sounds like code. It isn't complicated once it clicks: it just means the roof rises 4 inches for every 12 inches it runs horizontally. A 4/12 pitch calculator turns that ratio into the actual numbers you need on a job site — angle in degrees, rafter length, total rise — instead of leaving you to work it out with a tape measure and guesswork.

What "4/12" Actually Means on a Roof

Roof pitch is always written as rise over a run of 12 inches, since 12 is a standard reference length in framing. A 4/12 roof is fairly low-slope, common on ranch-style homes and modern builds where a flatter roofline is the design goal. Compare that to a steep 9/12 or 12/12 pitch, which sheds snow faster but uses noticeably more material and costs more to frame.

That 4-inch rise per foot of run translates into roughly an 18.4-degree angle. Once you know the angle, calculating rafter length is just trigonometry — specifically the Pythagorean theorem applied to the rise and run as two legs of a right triangle.

Why Overhang Changes Your Rafter Length More Than You'd Think

Most people calculate rafter length using only the building's horizontal span, then forget the overhang extends the run further out before the rafter actually ends. A 12-inch overhang on each side doesn't sound like much, but it adds real length to your rafter cut, and getting it wrong means a rafter that's too short to reach the fascia properly.

Working Through the Math by Hand

Say you've got a 15-foot run (horizontal distance from the wall to the roof's peak, measured at the building's centerline) on a 4/12 pitch, with a 12-inch overhang.

  1. Convert run to inches: 15 ft × 12 = 180 inches
  2. Total rise: (4/12) × 180 = 60 inches
  3. Rafter length without overhang: √(180² + 60²) = √(32,400 + 3,600) = √36,000 ≈ 189.74 inches, or about 15.81 ft
  4. Run with overhang: 180 + 12 = 192 inches
  5. Rise with overhang: (4/12) × 192 = 64 inches
  6. Rafter length with overhang: √(192² + 64²) = √(36,864 + 4,096) = √40,960 ≈ 202.38 inches, or about 16.87 ft

That's over a foot of difference between the two rafter lengths. Cut to the shorter measurement and the roof simply won't reach where it needs to.

Hip Roofs Need an Extra Step

Everything above assumes a standard gable roof, where rafters run straight up to a ridge. Hip roofs add a diagonal hip rafter at the corners, and that hip rafter's length isn't calculated the same way — it factors in both the rise and a 45-degree horizontal run rather than a straight perpendicular one. If you're framing a hip roof, treat the hip rafter as its own separate calculation rather than assuming it matches your common rafters.

One thing worth knowing before you're up on the roof: framing squares (the L-shaped tool every carpenter carries) have pitch markings stamped right on them, letting you check an existing roof's pitch in under a minute without climbing up with a level and a tape measure.

If you're estimating material quantities once the rafter lengths are set, our roofing material estimator picks up from here.

FAQs

What angle is a 4/12 roof pitch?

A 4/12 pitch works out to approximately 18.43 degrees, calculated as the arctangent of rise (4) divided by run (12).

How do I measure the pitch of an existing roof?

A framing square or a digital angle finder placed against the roof surface will give you the rise over a 12-inch run directly.

Does overhang affect rafter length calculations?

Yes, significantly. Overhang extends the horizontal run before the rafter ends, which increases both the rise and the total rafter length.

Is a 4/12 pitch considered steep or low-slope?

It's on the lower end. Pitches below 4/12 are often considered low-slope and may need different roofing materials than standard shingles.

How is rafter length calculated mathematically?

It uses the Pythagorean theorem, treating the horizontal run and vertical rise as the two legs of a right triangle to find the rafter as the hypotenuse.

Do hip roofs use the same rafter calculation as gable roofs?

No. Hip rafters run diagonally at the corners and require a separate calculation that accounts for the 45-degree horizontal angle involved.

What materials work best on a 4/12 pitch roof?

Standard asphalt shingles work fine on a 4/12 pitch, though manufacturer guidelines should always be checked for the minimum recommended slope.

Why is roof pitch always written as a ratio out of 12?

Twelve inches is the standard reference run used in carpentry and framing, making pitch ratios consistent and easy to compare across different roofs.