REFERENCE-PLANE WORKSHEET

Roof Peak Calculator: Find Ridge Height from Span and Pitch

For a centered, symmetrical gable, divide the full span by two, then multiply that horizontal run by the pitch rise ÷ 12. The result is the ridge height above the reference line used for the run—not a complete framing or cut-layout instruction. First confirm that the ridge is centered and that your span and pitch describe the same roof plane.

Calculate pitch from a measured rise and run

A symmetrical gable diagram labels full span, half-span as horizontal run, ridge height above a bearing-line reference, and sloped rafter length as separate measurements.
Use the horizontal run and vertical rise as the calculator pair. The full span and diagonal rafter are separate lines.

Start by naming the reference line

A roof peak is a vertical distance above a chosen horizontal reference line. On a centered symmetrical gable, the two roof planes mirror one another, so one roof plane's horizontal run is half the full span. That condition is an assumption to verify from the drawing or field measurement; an offset ridge, different eave heights, an overhang, or an irregular plan calls for the actual roof-plane measurements instead.

LabelMeasurement lineUse in this worksheet
Full spanHorizontal distance across both roof planes, from the selected left endpoint to the selected right endpointDivide by two only after confirming a centered, symmetrical gable.
Horizontal runLevel distance from one roof-plane start to the centered ridge lineUse this as the run in the pitch calculation.
Ridge heightVertical distance from the same reference line up to the ridgeThis is the rise result.
Rafter lengthSloped diagonal from the roof-plane start to the ridgeCheck separately; do not substitute it for run.

The peak calculation

With matching units, use run = span ÷ 2 and ridge height = run × (pitch rise ÷ 12). The ratio is a right-triangle relationship: the rise is opposite the roof angle and the run is adjacent. OpenStax defines tangent as opposite divided by adjacent, and its right-triangle material gives the Pythagorean relationship for a later diagonal check.1, 2

A 24 foot centered gable span with a 6 to 12 pitch produces a 12 foot horizontal run, 6 foot ridge height above the bearing line, and approximately 13.42 foot diagonal rafter length.
The example has one declared reference plane and displays both the calculation and its return check.

Example: A 24 ft full span with a centered ridge gives a 12 ft run. At 6:12, the ridge height above the reference line is 12 × (6 ÷ 12) = 6 ft. A forward check gives (6 ÷ 12) × 12 = 6, returning the stated 6:12 pitch.

Use the diagonal only as a separate geometry check

For the example above, the two legs are 12 ft and 6 ft. The Pythagorean theorem gives the diagonal as √(12² + 6²), about 13.42 ft. That result describes the idealized triangle shown here. It is not a rafter cutting dimension and does not account for ridge-board, birdsmouth, overhang, member sizing, or structural requirements.

Can a roof peak calculator find the ridge height from any building width?

No—only use half the building width when the measured roof plane is a centered, symmetrical gable and the chosen endpoints match the stated span. For an offset ridge or unequal roof planes, calculate each plane from its own horizontal run and reference line. A calculator can check the geometry; it cannot establish the framing layout or approval requirements.

Before using the number on a project

  1. Mark the horizontal reference line and the two endpoints that define the span.
  2. Confirm the ridge is centered and the two roof planes are symmetrical before halving the span.
  3. Keep the pitch's rise and the run in matching units.
  4. Return-check the calculated rise back to x:12.
  5. Keep framing cuts, member sizing, roof covering, and local requirements as separate decisions.

Sources

  1. OpenStax, “Right Triangle Trigonometry” — defines tangent as the opposite side divided by the adjacent side.
  2. OpenStax, “Right Triangle Trigonometry” — states the Pythagorean theorem for the two legs and hypotenuse of a right triangle.

The figures and worked calculations are original geometry explanations. They are not construction drawings, structural design, or material-selection advice.