Roof Height Calculator

Roof Height Calculator

Estimate roof rise, ridge height, pitch angle, slope percent, and rafter length from roof span, pitch, and eave height.

Roof height comes from span, pitch, and starting height

A roof height calculator estimates the vertical rise from the eave to the ridge, then adds eave or wall height to estimate total ridge height above the floor or ground reference.

Common gable formula: roof rise = half span x pitch ratio. For a 24 ft wide building with a 6/12 pitch, the rise is 6 ft.

Planning note: This calculator is for layout and estimating. Structural sizing, code compliance, snow load, wind load, and fall safety should be reviewed by a qualified professional.

For gable and hip roofs, enter the full outside wall-to-wall span.

Use 0 if you only want the roof rise from eave to ridge.

Optional. Used for the approximate rafter length including overhang.

For a 6/12 roof, enter 6.

How to Use This Calculator

  1. Select the roof type: Use gable/hip for a ridge centered over the span, or shed/lean-to for a single slope across the full span.
  2. Choose the pitch input: Enter pitch as rise per 12, angle in degrees, slope percent, or rise over run.
  3. Enter the span: For a gable roof, use the full building width. For a shed roof, use the horizontal distance from low eave to high wall.
  4. Add eave height: Use the wall, plate, or eave height from your floor or ground reference.
  5. Review the outputs: Compare ridge height, roof rise, run, angle, slope percent, and rafter length before using the result in planning.

Roof Height Formula

Calculate roof height by multiplying the roof run by the roof pitch ratio. Use the formula: roof height = run x pitch. For example, a roof with a 6:12 pitch rises 6 inches for every 12 inches of horizontal run. A 10-foot run with a 6:12 pitch produces a 5-foot roof height rise.

Roof height starts with a right triangle. The horizontal run is one leg, roof rise is the other leg, and the roof slope or rafter is the hypotenuse.

Pitch ratio = rise / run

Roof rise = horizontal run x pitch ratio

Total ridge height = eave height + roof rise

Rafter length = horizontal run x sqrt(1 + pitch ratio^2)

For a gable or hip roof, horizontal run is usually half the total building span. For a shed roof, horizontal run is usually the full roof span.

A 6/12 pitch means the roof rises 6 units for every 12 units of horizontal run. The pitch ratio is 6 / 12 = 0.5, so a 12 ft run produces a 6 ft roof rise.

Common Roof Pitch Reference

Swipe table to view details
Pitch Angle Slope Percent Rise on 24 ft Gable Typical Note

Step-by-Step Method

To estimate roof height, convert pitch to a ratio, choose the correct horizontal run, calculate rise, and add the starting wall or eave height.

1. Convert Pitch

A 4/12 roof has a pitch ratio of 0.333. A 45 degree roof has a pitch ratio of 1.0.

2. Find Roof Rise

Multiply the horizontal run by the pitch ratio to get the vertical rise from eave to ridge.

3. Add Wall Height

Add eave or wall height to the roof rise when you need total ridge height above floor or grade.

Measuring Tips Before You Calculate

A small measurement mistake can shift ridge height by several inches. Confirm how the span, run, and pitch are defined before relying on the output.

Measure horizontal span: Roof run is measured flat, not along the sloped roof surface.

Use the right starting point: Eave height, wall height, and plate height can be different depending on the drawing or measurement method.

Check build details: Ridge boards, truss heel height, roof sheathing, and finished roofing thickness can add small amounts above the simple geometry height.

Where This Calculator Is Useful

A roof height calculator is useful for early design, material estimating, garage and shed planning, remodel checks, and visualizing how pitch changes the finished roofline.

Design Sketches

Estimate ridge height when comparing roof pitches, wall heights, and overall building proportions.

Material Planning

Use rafter length and slope to start rough lumber, sheathing, and roofing estimates.

Clearance Checks

Compare ridge height with zoning limits, garage doors, attic clearance, and neighboring structures.

Worked Roof Height Examples

These examples show how roof span, pitch, and wall height change the final ridge height. Use them as a quick reasonableness check after running your own numbers.

Scenario Inputs Roof Rise Total Ridge Height
Garage gable roof 24 ft span, 6/12 pitch, 9 ft wall height 6 ft 15 ft
Low-slope shed roof 16 ft run, 3/12 pitch, 8 ft low wall 4 ft 12 ft high side
Steep attic-friendly roof 28 ft span, 10/12 pitch, 8 ft wall height 11.67 ft 19.67 ft

How Pitch Choice Changes the Roofline

Roof pitch affects more than height. It changes the building silhouette, attic volume, roofing material options, drainage, and the way the roof fits nearby structures.

Lower Pitch

Keeps ridge height lower and can look cleaner on modern sheds or additions, but drainage and material requirements become more important.

Moderate Pitch

Common for residential gable roofs because it balances roof height, attic space, material use, and a familiar roofline.

Steeper Pitch

Creates more roof rise and a taller peak, which may improve attic clearance but can increase rafter length, roof area, and construction complexity.

Common Roof Height Mistakes

If the calculated height looks wrong, check these points before changing the design.

Using full span as gable run: A centered gable ridge uses half the roof span, while a shed roof usually uses the full span.

Mixing pitch, angle, and percent: A 6/12 pitch, 26.57 degree roof angle, and 50% slope describe the same roof slope but use different inputs.

Forgetting framing thickness: Simple roof geometry does not include ridge board depth, truss heel height, sheathing, shingles, or finished roofing thickness.

Roof Height Terms to Know

Roof height questions often use similar words for different measurements. Confirm the exact term before comparing calculator results with plans, permits, or contractor notes.

Roof Rise

The vertical distance from the eave line to the ridge. This is the pure geometry result from run and pitch.

Ridge or Peak Height

The eave, wall, or plate height plus roof rise. This is usually the height people mean when they ask how tall the roof will be.

Building Height

A code or zoning measurement that may use grade, average roof height, mean roof height, or the highest roof point depending on the local rule.

Height measurement sources

Permit, Zoning, and Clearance Checks

Before committing to a roof pitch or ridge height, compare the result with local rules and practical site constraints. The same roof can be acceptable in one location and too tall in another.

Local height limits: Some zoning rules limit total building height, mean roof height, accessory structure height, or height near property lines.

Site clearance: Check overhead wires, tree branches, neighboring rooflines, garage door clearance, attic headroom, and equipment access.

Build details: A permit drawing may need finished grade, top of wall, truss heel height, ridge elevation, roof covering thickness, and ventilation details.

Code and safety sources

How Roof Height Affects Materials and Cost

A taller roof usually means more than a taller drawing. Pitch and height affect roof area, rafter length, labor access, attic volume, and the amount of roofing material needed.

Longer Rafters

As pitch increases, each rafter or truss top chord gets longer for the same horizontal run.

More Roof Surface

Steeper roofs have more sloped surface area, which can increase sheathing, underlayment, shingles, metal panels, and flashing quantities.

More Complex Access

Higher and steeper roofs may require more staging, fall protection, labor time, and installation care.

Roofing materials and framing sources

Interesting Fact

Roof pitch changes height quickly because it multiplies by horizontal run. On a 30 ft wide gable roof, moving from a 4/12 pitch to an 8/12 pitch doubles the roof rise from 5 ft to 10 ft before wall height is added.

Frequently Asked Questions

What does a roof height calculator do?

It estimates roof rise and total ridge height from roof span, roof pitch, roof type, and wall height. The calculator also converts pitch into roof angle, roof slope percent, and approximate rafter length so you can compare roofline options during architecture, remodeling, or construction planning.

How do I calculate roof height for a gable roof?

Divide the building roof span by 2 to get the horizontal run, multiply by the pitch ratio to find roof rise, then add eave or wall height. For example, a 24 ft gable span with a 6/12 pitch has a 12 ft run and a 6 ft roof height rise to the ridge.

Is roof height the same as roof rise or roof peak height?

Not always. Roof rise is the vertical distance from eave to ridge. Roof peak height or total ridge height usually means wall height plus the roof rise. On plans, confirm whether the measurement starts at the floor, grade, top plate, eave, or roof frame bearing point.

How do I convert roof pitch to angle?

Divide rise by run to get the roof pitch ratio, then take the arctangent of that ratio. A 6/12 roof pitch has a ratio of 0.5, a roof angle of about 26.57 degrees, and a roof slope of 50%.

Does this calculator work for shed roofs?

Yes. Choose the shed or lean-to option. The calculator uses the full span as the horizontal run because a shed roof rises from one wall to the other instead of meeting at a centered gable ridge.

Can this help estimate rafter or truss geometry?

Yes, for rough geometry. The calculator estimates rafter length from run and roof slope, which is helpful for early roofing layouts. A real roof frame or truss design also needs bearing points, heel height, ridge details, lumber sizes, connectors, sheathing, and local load requirements.

Can I use roof height to estimate attic clearance?

It can help with a first-pass attic estimate because higher roof rise usually creates more space below the ridge. Actual attic clearance depends on roof frame depth, truss webs, insulation, ventilation baffles, ceiling joists, and any finished-floor assembly.

Can I use this for construction drawings?

Use it for early estimating and checking geometry, not as a stamped structural design. Construction drawings may need exact roof frame dimensions, truss heel height, ridge board details, bearing points, framing depth, sheathing, roof covering thickness, and local building code requirements.

Why does my roof height result seem too high?

Common causes are using full span instead of half span for a gable roof, entering roof angle where pitch rise was expected, using slope percent as pitch, or adding wall height when you only wanted roof rise from eave to ridge.

Disclaimer: This roof height calculator provides planning estimates only. Real roof design may require structural engineering, local building code review, truss or rafter design, load calculations, flashing details, and safe work practices.

Last updated: May 8, 2026