Roof Height Calculator
Work out the rise from wall plate to ridge, the ridge height above ground and the slope length, from the span, the pitch and the wall height.
Quick answer: a 30 ft span at 6:12 rises 7.50 ft above a 9.00 ft plate, putting the ridge at 16.50 ft above ground, with a slope length of 16.77 ft and a pitch angle of 26.57°.
- Rise, ridge height and eave height
- Slope length and pitch angle
- Heights measured from the wall plate
Roof height inputs and results
Span is the full width wall to wall, and the run to the ridge is half of it on a symmetric gable.
The overhang extends the roof but does not change any of these heights.
Show calculation
What this roof height calculator works out
A roof has more than one height, and they are not interchangeable. The rise is the vertical distance from the wall plate to the ridge. The ridge height is that plus the wall. The eave height is the wall plate itself.
This page reports all three, plus the slope length and the pitch angle, so the figure you actually need is on screen rather than one step away. The slope length is the same number the rafter length calculator works out — here it comes free, because the triangle is already being solved.
What it does not do: it does not tell you whether that height is allowed, whether the walls can carry it, or how to measure a roof you cannot reach. The first is a planning question, the second is structural, and the third gets its own section below.

What each roof height input and result means
Three inputs, five results. Two of the inputs are lengths and one is a ratio, which is why only two of them carry units.
| Field | Unit | What to enter |
|---|---|---|
| Building span | feet | The full width across the gable, outside face of one wall to the outside face of the other. Not the run. |
| Pitch | rise per 12 | Roof pitch as rise over 12 of run. A 6:12 roof is entered as 6. |
| Wall height | feet | Height to the top of the wall plate, measured from the same datum you want the answer in — usually ground level at the wall. |
| Result | Unit | What it means |
|---|---|---|
| Rise | feet | Plate to ridge. The figure the roof geometry is built from, and what a truss designer needs. |
| Ridge height above ground | feet | Wall height plus rise. The figure that appears on an elevation drawing and that planning or scaffolding will ask for. |
| Eave height | feet | The wall plate height, echoed back as a check. It is what gutters, access and anything projecting at the low edge are measured against. |
| Slope length | feet | The rafter length from plate to ridge, without an overhang. Useful for ordering and for checking a roof you cannot measure directly. |
| Angle | degrees | The pitch expressed as an angle from horizontal. 6:12 is 26.57°. |
Heights are displayed to two decimal places and the angle to two. Everything is in the unit you entered, so do not mix feet into one field and inches into another.
How to use the roof height calculator
Three fields, and the results update as you type. The one that catches people out is the wall height, because there are three different walls you could measure.
- Span is the full width across the gable, outside face to outside face. Enter the half width and the ridge comes out half as high as it should be.
- Pitch as rise per 12 — 6 for a 6:12 roof, not 26.57.
- Wall height must be to the top of the wall plate, which is where the rafter actually bears. Not to the top of the brickwork, not to the underside of the fascia, and not to the gutter. On a brick wall with a projecting course at eaves level, the plate can sit a brick or two below the visible top.
Measure the wall height from the same datum you want the ridge height reported against. If you want height above ground, measure from ground level at the wall; if you want height above a floor, measure from that floor. Mixing the two is the second most common error on this calculation.
Then check the results against reality. The rise should be half the span multiplied by the pitch ratio — on 30 ft at 6:12 that is 15 × 0.5 = 7.50 ft. If you get 15 ft, the span was entered as the run.
Roof height formulas
rise = run × (pitch ÷ 12)
ridge height = wall height + rise
slope length = run × √(1 + (pitch ÷ 12)²)
angle = arctan(pitch ÷ 12)
The slope length uses the pitch factor, the same multiplier that converts plan area to sloped area. At 6:12 it is 1.118, so the slope is 11.8% longer than the run; at 12:12 it is 1.414, or 41% longer.
The angle is the arctangent of the same ratio, which is why the two always agree: 6:12 is 0.5, and arctan 0.5 is 26.57°. There is no separate angle calculation to get wrong.
Note what is not in any of these: the overhang. It lengthens the rafter but it does not change the ridge height, because the tail runs downhill from the plate rather than up. That is why the slope length here is plate-to-ridge and will be shorter than a rafter cut with a tail on it.
Roof height: rise, ridge height and eave height
The rise is what you set out with on site. It is the height difference between the wall plate and the ridge, and it is what the truss or rafter geometry is built from.
The ridge height above ground is what planning and scaffolding care about. It is the rise plus the wall, and it is the figure that appears on a drawing elevation.
The eave height is the wall plate itself. It matters for gutters, for access, and for the height of anything projecting at the low edge.
Those three are what most people mean by roof height, but there is a fourth number hiding in the same triangle: the height of anything fixed part way up the rafters. A collar tie estimator takes that height as an input, and the ridge height is the ceiling on what you can ask for — a tie at or above the ridge has nothing left to span.

Measuring a roof that is already built
Most people arrive at this page with a tape measure and an existing house, not a drawing. The three inputs can all be recovered from the building, but each one has a trap.
Span
Measure the outside face of one wall to the outside face of the other, at a point where the wall is clear of a downpipe, a porch or a bay. If you cannot get outside, measure internally and add both wall thicknesses — and check that the internal walls you measured against actually sit under the roof edges, because a garage or an extension often does not.
Measure at both ends of the building. Older walls are rarely parallel, and a difference of a couple of inches between the ends is normal. Use the larger figure for ordering and note the discrepancy.
Pitch
The reliable method is a 12 in level and a rule: hold the level horizontally against a rafter, mark 12 in along it, then measure down from the far end of the level to the roof surface. That drop in inches is the rise per 12, directly.
On a finished roof, measure on a barge board or a gable ladder rather than on the tiles, because tile thickness varies and the surface is not the structural plane. If you can only get the angle from a phone level, the conversion is pitch = 12 × tan(angle).
Wall height
This is the hard one, because the wall plate is usually hidden behind the fascia and soffit. Two practical routes. Measure down from the underside of the soffit to ground and add the depth of the rafter heel, if you can see it. Or measure to a reliable feature you can reach — a window head, a string course, a DPC — and add the known distance from there to the plate.
Whichever you use, measure from the same datum on both sides of the building. On sloping ground, "ground level" is two different heights, and the ridge height above ground is only meaningful if you say which ground.
Cross-checking
Once you have the three numbers, sanity-check the answer against the building. The rise plus the wall height should equal a ridge you can see from the ground, allowing for the roof covering. If the calculator says 16.5 ft and the ridge is obviously nearer 20, one of the three measurements is wrong — almost always the wall height.
On a hipped roof the arithmetic is identical, because every hip reaches the same ridge height. What changes is the member that gets there: a hip rafter runs diagonally and is longer than the common beside it, even though both arrive at the same height.
Roof height code and planning limits
Two things are worth separating here, because they get confused constantly.
Structural code governs the members, not the height as such. IRC R802.3 requires a ridge board of not less than 1 in nominal thickness and not less in depth than the cut end of the rafter, and requires the ridge to be supported by a wall or designed as a beam where ceiling joists or rafter ties do not provide continuous ties. R802.4.1 sizes the rafters, and the spans in those tables are measured along the horizontal projection — the run, not the slope length this page reports.
Building height limits are almost always a zoning or planning matter rather than a code one. A local ordinance may cap overall height, or the height to the ridge, or the height to the eaves, and it will define each of those terms in its own way — sometimes including the depth of the roof covering, sometimes not. Nothing on this page can tell you whether a given height is permitted, and a number that satisfies a code inspector may still breach a planning condition.
There is also a distinction that matters for headroom: the ridge height is the highest point of the structure, but the usable headroom inside is measured to the underside of the ridge or to the collars, which is lower. On a loft conversion the number you need is usually the distance from the new floor to the underside of the ridge, not the overall height.
Worked roof height examples
Example 1 — 30 ft span at 6:12 on 9 ft walls
- Run
- 30 ÷ 2 = 15.00 ft
- Rise
- 15 × (6 ÷ 12) = 7.50 ft
- Ridge height
- 9.00 + 7.50 = 16.50 ft
- Slope length
- 15 × 1.1180 = 16.77 ft
- Angle
- arctan(0.5) = 26.57°
The slope length is 1.77 ft longer than the run. That is the pitch factor doing its work — 11.8% on every rafter.
Example 2 — a steeper roof on a narrower building
- Inputs
- 24 ft span, 9:12, 8 ft walls
- Run
- 12.00 ft
- Rise
- 12 × 0.75 = 9.00 ft
- Ridge height
- 8.00 + 9.00 = 17.00 ft
- Slope length
- 12 × 1.2500 = 15.00 ft
- Angle
- arctan(0.75) = 36.87°
A narrower building and lower walls, but a steeper pitch puts the ridge half a foot higher than Example 1.
Example 3 — measuring a house that already exists
- Inputs
- 26 ft span, 7.5 in drop per 12 measured on the barge board, 8.5 ft to the plate
- Run
- 26 ÷ 2 = 13.00 ft
- Rise
- 13 × (7.5 ÷ 12) = 8.13 ft
- Ridge height
- 8.50 + 8.13 = 16.63 ft
- Slope length
- 13 × 1.1793 = 15.33 ft
- Angle
- arctan(0.625) = 32.01°
The pitch came out at 7.5:12 rather than a round number, which is completely normal on a house of that age — roofers worked to the rise that fitted, not to a catalogue. Enter it as measured. Rounding to 8:12 would put the ridge 3 inches too high and the rafter 2 inches too long.
Ridge height by pitch, on the same building
A 30 ft span on 9 ft walls. The span and the wall never change, so the ridge height is entirely a function of pitch.
| Pitch | Angle | Rise | Ridge height | Slope length |
|---|---|---|---|---|
| 2:12 | 9.46° | 2.50 ft | 11.50 ft | 15.21 ft |
| 4:12 | 18.43° | 5.00 ft | 14.00 ft | 15.81 ft |
| 6:12 | 26.57° | 7.50 ft | 16.50 ft | 16.77 ft |
| 8:12 | 33.69° | 10.00 ft | 19.00 ft | 18.03 ft |
| 10:12 | 39.81° | 12.50 ft | 21.50 ft | 19.53 ft |
| 12:12 | 45.00° | 15.00 ft | 24.00 ft | 21.21 ft |
Two things to read from it. The rise moves in a straight line with pitch — every 2 units of pitch adds 2.50 ft here — while the slope length barely moves at the shallow end and accelerates at the steep end. That is why a steep roof costs disproportionately more in material: the calculate roof lumber figures rise faster than the ridge does.
Roof height limitations
- Symmetric gable only. An asymmetric or mono-pitch roof has a different run, and the ridge is not over the middle of the building.
- Heights from the wall plate. A parapet or a wall that continues above the plate is not included, so the figure is to the structural plate, not to the top of the masonry.
- No overhang. It changes the rafter length, not the heights. A rafter cut with a tail is longer than the slope length reported here.
- No ridge board deduction. That is a cutting detail, handled on the rafter page.
- No roof covering. The figures are to the structural plane. Tiles, battens and sarking add height on top, which matters if you are checking against a planning limit. If you are building that build-up, the calculate roof batten and sarking figures give the thickness you are adding.
- No ground slope. Heights are above a level datum, so on a sloping site state which ground level you measured from.
- No birdsmouth allowance. The seat cut lowers the rafter onto the plate, so the finished roof sits slightly lower than the theoretical rise. The birdsmouth cut estimator covers the depth of that cut.
- Not a planning or code check. Whether the height is permitted is a separate question with its own definition of height.
Roof Pitch Resources and Guides
Reference values for the pitches you are most likely to be working at.
Roof Pitch Chart
Every common pitch in one table: degrees, slope percentage, pitch factor and rafter length per 12 of run.
Read the reference6/12 Roof Pitch
26.57°, a 50% slope and a pitch factor of 1.118 — the pitch used in most worked examples.
Read the reference4/12 Roof Pitch
18.43° and a 33.33% slope. A moderate roof near the shallow end for many coverings.
Read the reference3/12 Roof Pitch
14.04° and a 25% slope, common on porches, lean-tos and outbuildings.
Read the reference2/12 Roof Pitch
9.46° and a 16.67% slope — the shallow end of what is usually still called a pitched roof.
Read the reference8/12 Roof Pitch
33.69° and a 66.67% slope. A steep roof with noticeably more surface per square foot of footprint.
Read the reference12/12 Roof Pitch
45°, a 100% slope and a pitch factor of 1.414, where rise equals run.
Read the referenceFrequently asked questions
It can mean three different things, and they differ by the height of the walls: the rise from wall plate to ridge, the ridge height above ground, and the eave height. This page reports all three, because which one you need depends on whether you are ordering trusses, planning permission or scaffolding.
The full width of the building across the roof, wall to wall — not half of it. On a symmetric gable the ridge sits at the midpoint, so the run to the ridge is half the span. If you measure the run instead and enter it as a span, the rise doubles and the ridge height is wrong by that amount.
Because pitch is rise per 12 of run, and the run is half the span on a gable. A 30 ft span at 6:12 rises 15 × 0.5 = 7.5 ft. On a shed roof the run is the full span, so the same pitch rises twice as far.
Enter the height to the top of the wall plate — the point the rafters sit on. That is the datum the rise is measured from. If you measure to the underside of the ceiling or to the finished floor, the total will be out by the thickness of whatever you left out.
Because it is the rafter length before any overhang or ridge deduction, and it is what you need to order timber or calculate the roof area. It is always longer than the run, by the pitch factor: 1.118 at 6:12, so 15 ft of run is 16.77 ft of slope.
The rafter calculator works from the span to a cut rafter length, including the overhang and the ridge deduction. This page works from the span to heights — the vertical dimensions. They share the geometry but answer different questions. If you are setting out walls, use this page; if you are cutting timber, use that one.
Not directly. This page assumes a symmetric gable, where the ridge is at the midpoint and the run is half the span. For a single plane the run is the whole distance, so the rise is twice what this page would give for the same span.
The page reports both. The angle is the arctangent of the pitch ratio: 6:12 is 0.5, which is 26.57°. If you have an angle and want the pitch, the pitch calculator converts in either direction.
Because on a simple gable the eave sits at the top of the wall plate, so the two are the same. The ridge is the only point that rises above it. If your roof has a raised eave, or the wall continues above the plate, enter the height to the eave rather than to the top of the wall.
No. The overhang extends the roof beyond the wall but does not change the height at the wall or the ridge. It does change the slope length of the rafter, which is why the rafter calculator takes it as an input and this page does not.
There is no standard, but the arithmetic narrows it usefully. A 30 ft span on 9 ft walls at pitches between 4:12 and 8:12 gives a ridge somewhere between 14 and 19 ft above ground. That is why two houses on the same street can look so different in height without either being unusual — the pitch is doing more of the work than the wall.
Because the figures are to the structural plane and a real roof has build-up on top of it. Battens, sarking, underlay and the covering itself add several inches at the ridge — more on a deep-profile tile or a thatch. A parapet or a chimney can be higher still. If you are comparing against a planning limit, measure the finished roof, not the rafter line.
Not directly. Headroom is measured from the finished floor to the underside of the ridge or to the collars, not from ground to the outside of the roof. Those are different numbers, and the inside one is always smaller. Use this page to get the ridge height, then subtract the roof structure, any insulation and the floor build-up to find what is left.
Where these numbers come from
Everything on this page is geometry. The run is half the span, the rise is the run times the pitch ratio, and the slope length is Pythagoras on the two.
No standard or table is involved in the arithmetic. The only judgement is which height you need and where you measured the wall from. The structural provisions quoted above are from Chapter 8 of the International Residential Code.
- International Residential Code, Chapter 8 — Roof-Ceiling Construction (International Code Council). Sections R802.3 and R802.4.1.
- Your own measurement of the span and the wall height, taken from a stated datum.
- The design pitch, from the drawings or measured on the covering.
- Local planning rules if the ridge height is a permitted-development or zoning limit — and the definition of height in that document.
Cutting the rafter?
The rafter calculator takes the same geometry through to a cut length, with the overhang and the ridge deduction.