Roof Height Calculator
Enter span and pitch to get the ridge height and roof rise in feet-inches-fraction. This roof height calculator answers one question — how tall the roof is — without converting pitch into degrees. Copy the result for a clearance or zoning check.
Interactive Roof Height Calculator
Type the building span in feet (the total width the roof covers) and the pitch as the X in an X/12 expression. The tool applies Ridge Height = (span ÷ 2) × (X ÷ 12) and returns the roof rise in feet-inches-fraction with a decimal-inch secondary readout. Use Copy to export the result; Reset restores the 24-foot, 6/12 defaults.
Formula used
- Ridge Height (in) = (span_ft × X) ÷ 2
- Pitch angle = atan(X / 12) × 180 / π (shown for reference only)
- Pure geometric rise from the wall plate to the ridge line.
Educational reference. The ridge height values on this page are geometric calculations for planning, clearance, and crane-lift checks. They are not prescriptive engineering guidance — always verify against your adopted local building code and zoning height limits.
Ridge Height, Roof Rise, and Roof Height Explained
Three terms describe the same vertical dimension on a gable roof. Ridge height is the vertical distance from the top of the wall plate to the ridge line where the two rafter plumb cuts meet. Roof rise is the same quantity expressed as the rise in the rise-over-run triangle — for a 6/12 pitch over a 12-foot run, the rise is 6 feet. Roof height is the field term framers and inspectors use for the same number when they are checking clearance, attic headroom, or a zoning cap. A roof height calculator takes the building span and the pitch and returns that single vertical distance, which is exactly what the tool at the top of this page does.
Ridge height = (span ÷ 2) × (X ÷ 12). The ridge board sits at the top of the rise; HAP (height above plate) is measured at the birdsmouth and is separate from the geometric rise.
Why does the roof rise calculator matter on site? Three field decisions hinge on the vertical height, not on the pitch angle. First, clearance: a cathedral ceiling or a habitable attic needs the ridge high enough to walk under, and the only number that answers that is the roof rise in feet and inches. Second, zoning height limits: most residential zoning ordinances cap the ridge height above grade, so a designer who picks a steeper pitch to gain attic headroom can blow past the cap and has to walk the height back down. Third, crane and truck clearance: a prefabricated truss or a long rafter bundle is delivered on a flatbed, and the peak of the assembled roof has to clear power lines, tree limbs, and the delivery route — all of which are measured in vertical feet, which is exactly what this roof height calculator outputs.
Round the ridge height down to the nearest whole inch when checking attic clearance. The fraction of an inch is lost once you account for joist depth, insulation, and finish ceiling thickness.
A steeper pitch raises the ridge height faster than it raises the rafter length. If the ridge height plus the wall height exceeds the zoning cap, reduce the pitch before you reduce the span — pitch scales the height linearly.
Do not order rafter stock from the roof height number. The ridge height is the vertical rise; the rafter length is the sloped hypotenuse and is always longer. Use the main rafter calculator for the board length.
Ridge Height Quick-Reference Table (24′, 28′, 32′ Spans)
A span-by-pitch matrix for the three most common residential spans and the 4/12 through 12/12 pitch family. Each cell is the pure geometric ridge height from the wall plate to the ridge line, computed as (span ÷ 2) × (X ÷ 12) and shown in feet-inches-fraction. Use it to read off a roof rise calculator result without retyping the inputs, or to compare how steeply the ridge climbs as pitch rises.
| Span ↓ / Pitch → | 4/12 | 6/12 | 8/12 | 10/12 | 12/12 |
|---|---|---|---|---|---|
| 24′ | 4' 0" | 6' 0" | 8' 0" | 10' 0" | 12' 0"High clearance |
| 28′ | 4' 8" | 7' 0" | 9' 4" | 11' 8" | 14' 0"High clearance |
| 32′ | 5' 4" | 8' 0" | 10' 8" | 13' 4"High clearance | 16' 0"High clearance |
Ridge height (in) = (span_ft × X) ÷ 2, then formatted to the nearest 1/16 inch. Values are pure geometric rise; subtract the ridge board thickness (1.5″ for a nominal 2x board) for underside clearance.
How Ridge Height Scales With Pitch
Ridge height is linear in the pitch number, which is the single most useful thing to know about this ridge height calculator. Doubling the pitch doubles the rise at the same span: a 32-foot span rises 5' 4" at 4/12, 8' 0" at 6/12, and 16' 0" at 12/12. That linearity is why a small pitch change has a big zoning impact — going from 6/12 to 8/12 on a 32-foot span adds 2' 8" of ridge height (from 8' 0" to 10' 8"), which can push a two-story house past a 35-foot height cap all by itself. When you are tuning a design against a height limit, work the pitch first; the span is usually fixed by the floor plan, but the pitch is a free variable that scales the height one-to-one with the X value.
The same linearity makes the quick-reference table above work as a mental shortcut. Once you know the ridge height for a 24-foot span at 6/12 (6' 0"), you can scale it in your head: a 28-foot span at 6/12 is 24/28 of the way to the next row, and an 8/12 pitch on the same 24-foot span is simply 8/6 of the 6/12 value (8' 0"). The roof height calculator at the top of the page does the exact arithmetic, but the table lets you sanity-check the result before you trust it.
Ridge Board, HAP, and the Pure Rise
The number this roof rise calculator returns is the pure geometric rise — the vertical distance from the top of the wall plate to the theoretical ridge line. Two real-world framing features sit on top of that geometry, and you need to know where they fall to use the height correctly. The first is the ridge board, the vertical member that separates the two opposing plumb cuts at the peak. A nominal 2x ridge board is 1.5 inches actual thickness, so the clearance to the underside of the ridge board is the pure rise minus 1.5 inches. The second is HAP (height above plate), measured at the birdsmouth where the rafter seats on the wall plate; HAP governs how much wood is left above the birdsmouth notch and is a rafter-sizing concern, not a roof-height concern.
Practically, that means three different heights are in play on the same roof, and they answer three different questions. The geometric ridge height (what this calculator returns) is for zoning, crane clearance, and attic-volume estimates. The underside-of-ridge clearance(geometric height minus ridge board thickness) is for walk-in attic headroom. The HAPis for rafter structural sizing and lives on the main rafter calculator, not here. Keeping the three separate is what keeps this page from overlapping the rafter calculators — the roof height calculator owns the vertical height question end to end and hands off the sloped length and the birdsmouth depth to the dedicated tools linked below.
Clearance and Zoning Height Limits
When a zoning ordinance caps roof height, it almost always measures from a specific reference point — grade, the average front-wall elevation, or the eave — and caps the ridge for a simple gable. To check compliance, run the roof height calculator for the geometric rise, then add the wall height above the ordinance’s reference point. For example, a 28-foot span at 8/12 gives a 9' 4" rise; on top of a 10-foot wall measured from grade, that is a 19' 4" ridge above grade, which clears a typical 35-foot residential cap with room to spare but would fail a tighter 20-foot cap in a historic district. Always confirm the reference point with the local zoning office before treating the calculator output as a pass/fail number, because the same ridge height can pass or fail depending on whether the ordinance measures from grade, from the plate, or from the eave midpoint.
Crane and delivery clearance is the other place the vertical height matters. A prefabricated truss for a 32-foot span at 8/12 ships with a 10' 8" peak, and that peak has to clear the power lines, the tree canopy, and the boom of the crane that sets it. The roof height calculator gives you that peak height directly, so the crane operator can pick a reach and the route can be checked before the truss leaves the yard. For the sloped rafter length that the truss or stick-built rafter actually follows, switch to the main rafter calculator — the height and the length are different numbers and they answer different questions.
Building Height Calculator: Wall Height + Roof Height = Total Height
A building height calculator answers the question this page stops one step short of: how tall is the whole structure, not just the roof triangle. The arithmetic is a single addition — the roof rise this calculator returns sits on top of the wall height:
building height = wall height + roof rise (ridge height)
Worked example: an 8 ft wall with a 24-foot span at 6/12 pitch — the calculator above returns a 6' 0" roof rise, so the building peaks at 8 + 6 = 14 ft at the ridge. Swap to a 10 ft wall on a 28-foot span at 8/12 (a 9' 4" rise) and the peak lands at 19' 4". The second example is exactly the zoning check from the clearance section above — building height is the number ordinances actually regulate, and it is measured from grade, not from the wall plate. If your wall height is defined from a slab, add the exposed foundation or stem wall; if the floor sits above grade on a crawlspace, add that too, because the ordinance measures the whole stack from the ground.
One boundary note so the two questions stay clean: calculating ridge height (the rise = run × pitch-ratio method this page is built on) and calculating building height are two steps of the same addition — roof first, then wall. For the deepest treatment of the ridge-height step itself — including unequal-pitch roofs, asymmetric spans, and the underside-of-ridge clearance math — use the dedicated roof ridge height calculator, and return here when you need the wall-inclusive total for zoning, permit sketches, or crane clearance.
Frequently Asked Questions
What is a roof height calculator and what does it output?▼
A roof height calculator takes the building span (the total horizontal width the roof covers) and the roof pitch (X/12) and returns the vertical roof rise — the height from the top of the wall plate to the underside of the ridge. This page runs that roof height calculator live: enter your span in feet and your X/12 pitch, and it outputs the ridge height in feet-inches-fraction (for example, 6' 6 1/2") with decimal inches as a secondary readout. It answers exactly one question — how tall is the roof — without converting pitch into degrees, which keeps it distinct from a roof pitch calculator.
How do I use this ridge height calculator?▼
Enter the building span in feet (for a 24-foot-wide house, type 24) and the pitch as the X in an X/12 expression (for a 6/12 pitch, type 6). The ridge height calculator applies Ridge Height = (span / 2) * (X / 12) and returns the roof rise in feet-inches-fraction. Use Copy to export the result for a permit sketch or a crane-lift clearance check, and Reset to return to the 24-foot, 6/12 defaults. For the full ridge board and HAP relationship, see the inline diagram below the calculator.
What is the formula for ridge height from span and pitch?▼
Ridge Height = (span / 2) * tan(pitch angle), where the pitch angle = atan(X / 12). Because tan(atan(X/12)) simply equals X/12, the formula collapses to Ridge Height = (span / 2) * (X / 12). Work the units consistently: if the span is in feet, multiply by 12 to get inches, then the rise comes out in inches. For a 24-foot span on a 6/12 pitch: (24/2) * (6/12) * 12 = 72 inches = 6' 0". That is the pure geometric roof rise; subtract the ridge board thickness if you need the clearance to the underside of the ridge board.
What is the difference between a roof rise calculator and a roof pitch calculator?▼
A roof rise calculator (this page) answers how tall the roof is — it outputs a vertical distance in feet and inches from span and pitch. A roof pitch calculator answers what the slope is — it converts an X/12 pitch into degrees, slope percent, and angle. The two tools share the same input geometry but solve opposite problems: this roof height calculator returns a length (height), while a pitch calculator returns an angle. If your question is clearance, zoning height limit, or crane lift, use this page; if your question is saw-bevel or speed-square setup, use the pitch calculator.
Does the ridge height include the ridge board thickness?▼
No. The value this roof height calculator returns is the pure geometric rise from the top of the wall plate to the theoretical ridge line where the two rafter plumb cuts meet. To get the clearance to the underside of a solid ridge board, subtract the ridge board thickness (a nominal 2x ridge board is 1.5" actual). For example, a 6' 0" geometric rise with a 2x10 ridge board leaves 6' 0" minus 1.5" = 5' 10 1/2" of clearance to the bottom of the ridge. The diagram below the calculator shows how the ridge board, HAP (height above plate), and seat cut relate to the pure rise.
What ridge height does a 24-foot span with a 6/12 pitch give?▼
A 24-foot span on a 6/12 pitch gives a 6' 0" (72-inch) ridge height, computed as (24 / 2) * (6 / 12) * 12 = 72 inches. That is the roof rise from the wall plate to the ridge line. It is a common reference point: a 24-foot-wide house with a 6/12 pitch peaks exactly 6 feet above the wall plate, which clears most ceiling joists and leaves usable attic headroom. Use the quick-reference matrix on this page to read off the same value for 28-foot and 32-foot spans and for 4/12 through 12/12 pitches.
How do I check roof height against a zoning height limit?▼
Zoning ordinances usually cap roof height at the midpoint of the roof (the ridge for a simple gable) measured from grade or from the average elevation of the front wall. Run the roof height calculator to get the geometric rise from the wall plate, then add the wall height above grade and subtract any plate elevation difference. If the ridge height plus the wall height exceeds the zoning cap, you must either reduce the pitch or reduce the span. Always confirm the measurement reference point (grade vs. plate vs. eave) with your local zoning office, because the same ridge height can pass or fail depending on where the ordinance measures from.
Why does this page not convert pitch to degrees?▼
Because converting pitch to degrees is the job of a dedicated roof pitch calculator, and duplicating that conversion here would create keyword and content overlap. This roof height calculator stays focused on the vertical-height question — how tall the roof is in feet and inches — so it does not output degrees, slope percent, or angle. If you need the pitch angle for a saw bevel or a speed square, use the roof pitch calculator; if you need the rafter length along the slope, use the main rafter calculator. This page is only for the vertical rise.
Is the roof height the same as the rafter length?▼
No. Roof height (the roof rise) is the vertical distance from the wall plate to the ridge — what this calculator returns. Rafter length is the sloped distance along the rafter board from the ridge plumb cut to the birdsmouth, which is always longer than the rise because it follows the hypotenuse of the rise-run triangle. For a 6/12 pitch over a 12-foot run, the rise is 6' 0" but the rafter length is about 13' 5". Do not order rafter stock from the roof height number; use the main rafter calculator for the sloped length and this roof height calculator only for clearance, zoning, and crane-lift checks.
What is a building height calculator and how is it different from a roof height calculator?▼
A roof height calculator (this page) returns the roof triangle only — the rise from the wall plate to the ridge. A building height calculator adds one step: wall height + roof rise = total building height, measured from grade. For example, an 8 ft wall plus the 6' 0" rise from a 24-foot span at 6/12 gives a 14 ft building at the peak; a 10 ft wall plus a 9' 4" rise (28 ft span, 8/12) gives 19' 4". Building height is the number zoning ordinances cap, so also add any exposed foundation or crawlspace between grade and the wall plate. The Building Height section above walks the full addition, and the roof-ridge-height step itself has a dedicated calculator on this site.
Related Calculators
Floor Joist Span Calculator
Interactive floor joist span lookup with reference span char...
Roof Pitch Calculator
Interactive roof pitch calculator: convert X/12 to degrees, ...
Roof Truss Calculator
Roof truss span estimator and selection guide comparing King...
Rafter Lumber Size Calculator
Free rafter lumber size calculator for rafters, joists & bea...
Roofing Calculator
Free roofing calculator to estimate roof materials, pitch, r...
Rafter Angle Calculator
Free rafter angle calculator: get plumb cut, seat cut, and b...
Roof Ridge Height Calculator
Roof ridge height calculator compares Gable, Hip, and Shed r...
I-Joist Span Calculator
I-joist span calculator with TJI span tables by series, spac...
Roof Truss Cost Calculator
Roof truss cost calculator estimates truss prices per type. ...
Lean-to Roof Calculator
Lean-to roof calculator finds rafter length, pitch, and slop...
Gable Roof Calculator
Gable roof calculator computes rafter length, plumb cut, roo...
Roof Overhang Calculator
Roof overhang calculator finds eave length, fascia height, a...
Pergola Rafter Calculator
Pergola rafter calculator finds rafter count, spacing, span,...
Metal Roof Calculator
Metal roof calculator estimates panel count, panel length, a...
Rafter Load Calculator
Rafter load calculator converts snow, dead, and live loads i...
Rafter Tie Calculator
Rafter tie calculator finds horizontal thrust, tie tension, ...
Gambrel Rafter Calculator
Gambrel rafter calculator computes upper and lower rafter le...
Gazebo Rafter Calculator
Gazebo rafter calculator sizes hip and common rafters for he...
Ridge Beam Calculator
Ridge beam calculator compares ridge board vs structural rid...
Rafter Tables
Rafter table calculator: length factors for 1/12 to 24/12 pi...
Rafter Insulation Calculator
Calculate insulation R-value, batt depth, and vent baffle ga...
Board Feet Calculator
Board feet calculator with the bd ft = (T×W×L)/12 formula, n...
Linear to Square Feet Calculator
Convert linear feet to square feet and back with material wi...
Stair Calculator
Stair calculator finds riser height, tread depth, stringer l...
Flat Roof Rafter Calculator
Flat roof rafter calculator for low-slope roofs: reference 2...
Dormer Rafter Calculator
Dormer rafter calculator for shed and gable dormers: rafter ...
LVL Beam Span Calculator
LVL beam span calculator with reference span charts by depth...
Header Size Calculator
Size a door or window header with our free calculator. Door ...
Wall Stud Calculator
Free wall stud calculator and estimator: stud count with ope...