Calculate roof ridge height from building span, wall height and roof pitch, or solve for the pitch, wall height or span needed for a target peak height.
- All Construction Calculators
- Ridge Beam Calculator
- Common Rafter Length Calculator
- 4/12 Pitch Roof Calculator
- Hip Roof Calculator
- Slope Calculator
- Roof Panel Length Calculator
Calculator Functions
| Function | What it does | What it requires |
|---|---|---|
| Geometric ridge height | Finds the height of the roof peak above a reference level | Requires the roof geometry, the wall-to-wall span, the wall-top height and the roof pitch |
| Required roof pitch | Finds the pitch that puts the peak at a target height | Requires the roof geometry, the span, the wall-top height and the target peak height |
| Required wall height | Finds the wall-top height that puts the peak at a target height | Requires the roof geometry, the span, the roof pitch and the target peak height |
| Span for target height | Finds the span that reaches a target peak height at a fixed pitch | Requires a centered gable or shed roof, the wall-top height, the roof pitch and the target peak height |
The roof is a centered gable, an off-center gable or a shed roof with a single slope. An off-center gable also needs the horizontal run from the left wall to the ridge. Lengths go in as feet, inches, meters or centimeters, and pitch as rise per 12, degrees or slope percent. Optional framing inputs add the ridge board thickness, rafter depth, birdsmouth seat, roofing thickness, eave overhang and a height to compare against.
Ridge Height Formulas
| RH | Ridge height: the roof peak above the reference level |
| H | Height of the wall top above the same level |
| R | Horizontal run from the wall to the ridge |
| s | Slope of the roof: rise divided by run |
The run of a centered gable is half the span [1]. A shed roof uses the full span, and an off-center gable uses the run entered for the left side. The slope comes from the pitch: s = rise per 12 ÷ 12 = slope percent ÷ 100 = tan(angle). A 6/12 roof rises 6 inches for each foot of run [1], so s is 0.5.
Geometric ridge height
A centered gable on a 30 ft span with 10 ft walls and a 6/12 pitch has a run of 15 ft and a rise of 15 × 0.5 = 7.5 ft, so the ridge is 17.5 ft up. The same building with a 30° roof reaches 10 + 15 × tan(30°) = 18.66 ft. Enter a wall height of 0 to get the rise alone:
| Pitch | Angle | Rise, 24 ft span | Rise, 30 ft span | Rise, 40 ft span |
|---|---|---|---|---|
| 3/12 | 14.04° | 3.00 ft | 3.75 ft | 5.00 ft |
| 4/12 | 18.43° | 4.00 ft | 5.00 ft | 6.67 ft |
| 5/12 | 22.62° | 5.00 ft | 6.25 ft | 8.33 ft |
| 6/12 | 26.57° | 6.00 ft | 7.50 ft | 10.00 ft |
| 8/12 | 33.69° | 8.00 ft | 10.00 ft | 13.33 ft |
| 10/12 | 39.81° | 10.00 ft | 12.50 ft | 16.67 ft |
| 12/12 | 45.00° | 12.00 ft | 15.00 ft | 20.00 ft |
Required roof pitch
Multiply s by 12 for the rise per 12. To reach 17.5 ft from 10 ft walls over a 15 ft run, the roof needs (17.5 − 10) ÷ 15 = 0.5, a 6/12 pitch.
Required wall height
For a 17.5 ft ridge on a 30 ft span at 6/12, the walls must be 17.5 − 7.5 = 10 ft high.
Span for target height
A shed roof leaves out the 2, because its run is the whole span. An off-center gable has no single answer, so this function accepts only a centered gable or a shed roof.
Framing and height comparison
The rafter line is the sloped distance from the outside of the wall plate to the center of the ridge, the long side of the triangle formed by the run and the rise [1]. With a rafter depth entered, the height above the plate is depth × √(1 + s²) − seat length × s, and a ridge board shortens the run by half its thickness. Rafter depth and roofing thickness raise the finished roof surface above the ideal line, and the comparison height shows whether that surface clears a limit.
What Is Ridge Height?
Ridge height is how high the ridge, the top edge of the roof where the slopes meet, sits above a reference level such as the ground or the floor. Eave height is measured the same way to the lower edge of the roof at the wall. The difference between the two is the total rise of the roof, the vertical distance from the top of the wall plate to the top of the ridge [1].
Limits of This Estimate
- The main answer is the ideal roof line from the wall top. Ridge caps, vents, truss heels and other finish details are not included.
- The framing figures are geometry only. They do not check the structure, the size of the ridge or rafters or whether a birdsmouth cut is allowed.
- An off-center gable is modeled with both wall tops level, and its framing figures describe the left slope only.
- Planning rules define building height in their own ways. The comparison height does not show that a roof complies.
Sources
- U.S. Navy, Builder 3 & 2, Volume 2 (NAVEDTRA 14044), Chapter 2, Roof Framing: Framing Terms: span, run, unit of rise, total rise and line length
