Attic Conversion Calculator

An attic only becomes a room where the roof is high enough. This calculator turns the pitch, knee wall and target headroom into usable floor area.

Quick answer: with attic width 28 ft, attic length 40 ft, roof pitch 8, a 4 ft knee wall and a 7 ft headroom target, the usable band is 19 ft wide and 760 sq ft — 67.9% of the 1,120 sq ft floor. The two 4.5 ft strips at the eaves fall below target and do not count.

  • Headroom envelope
  • Usable width and share
  • No code claim

Inputs and results

Usable width is the middle of the attic: the full width minus the strip at each eave where the rafter line has not yet risen from the knee wall to your target headroom.

run rise overhang section through the roof
Rise is vertical, run is level, overhang is measured out from the wall.
Usable floor area (sq ft)
360
Usable width (ft)
9.00
Total attic floor (sq ft)
1,120
Usable share (%)
32.1

Only floor that clears the target height is counted; a stair, chimney or dormer will take more out of it.

Show calculation

What this calculator works out

An attic conversion is limited by headroom rather than by floor area. The roof slopes down to the eaves, so only the strip of floor where the ceiling is high enough can be used as a room; everything outside that strip is storage at best. That is why the first question is rarely about finishes and almost always about height — and why the dormer calculator is usually the next page opened when the answer comes back short.

This calculator works that strip out from the slope. It takes the pitch, the knee wall height and the headroom you want, finds where the rafter line reaches that height, and reports the usable width together with the share of the attic that survives. If the shortfall is small, a dormer is generally cheaper than rebuilding the roof, and the dormer cost estimate prices what that involves.

A finished attic room under a steeply sloped ceiling, with a dormer window and a low knee wall along the eaves.
Only the floor between the knee walls clears headroom; the rest is storage.

What you enter, and what comes back

Five measurements in, four figures out. All lengths are in feet.

The inputs.
InputWhat it is
Attic widthThe span between the two knee walls, measured at floor level. This is the full width, not the half-width to the ridge.
Attic lengthThe distance along the ridge, from gable to gable.
Roof pitchRise per 12, as a number. A 6:12 roof is entered as 6.
Knee wall heightThe short wall at the eaves, measured from the attic floor to where the rafters start.
Target headroomThe clear height that has to exist for floor to be counted as usable.
The results.
ResultWhat it is
Usable floor areaThe central band of floor that clears the target headroom, multiplied by the length. The headline figure.
Usable widthThe width of that central band. Equal to the attic width minus the low strip at each eave.
Total attic floorWidth × length. The whole footprint, usable or not.
Usable shareUsable width as a percentage of the full width. A plan measure, not a volume measure.

Usable share is calculated on width alone, so it is the same whether the attic is 20 ft long or 60. Length scales the area, not the proportion.

How to use the Attic Conversion Calculator

Five inputs, all from a tape measure in the attic. Results update as you type.

  1. Measure the width between the knee walls at floor level. Not the width of the finished room, and not the half-span to the ridge — the full span, because the calculator subtracts a strip at each side.
  2. Measure the length along the ridge from one gable to the other.
  3. Enter the pitch as rise per 12. If you know the angle in degrees instead, convert it first; the field expects a ratio, and 45 means 45:12, not 45 degrees.
  4. Enter the knee wall height from the attic floor to the point where the rafters begin.
  5. Set the target headroom. Use the figure that matters for your purpose — a lower number for storage, a higher one for a habitable room.

Read the usable width first, not the area. If the width comes back at 19 ft on a 28 ft attic, the two 4.5 ft strips at the eaves are the loss, and no amount of extra length changes that.

If the result is zero

A zero means the ridge itself never reaches your target. On a 28 ft attic with a 4 ft knee wall and a 2:12 pitch, the ridge is only 6.3 ft high, so nothing clears 7 ft and the calculator returns nothing rather than a negative width. Lower the target or accept that the attic is not convertible as built.

Accepted ranges: width and length at least 1 ft, pitch between 0.5 and 24, knee wall 0 or more, target headroom at least 1 ft. A value outside those is rejected with an error rather than calculated.

The formulas

height at distance x = knee + x × (pitch ÷ 12)
x at target = (target − knee) ÷ (pitch ÷ 12)
usable width = max(0, width − 2 × x)
usable area = usable width × length

The ceiling height at any distance x in from a knee wall is the knee wall height plus the rise accumulated over that distance. Setting that equal to the target and solving gives x, the width of the strip at each eave that is too low.

The subtraction is the whole model. That strip occurs twice, once at each knee wall, so the usable band is the full width minus two strips. Doubling x and calling it usable would describe the dead zone instead of the room — which is why the sign matters here more than anywhere else on the page.

If the knee wall already clears the target, x is zero or negative and the whole width counts. The calculation short-circuits to the full width in that case, so the answer stops depending on pitch entirely.

What each variable means.
VariableUnitMeaning
widthftSpan between knee walls
lengthftDistance along the ridge
pitchrise per 12Rise in inches per 12 inches of run
kneeftKnee wall height above the attic floor
targetftClear height required for usable floor
xftDistance in from each knee wall before the ceiling reaches the target

Worked examples

One attic, then the same attic with one thing changed. Inputs are shown so each result can be checked.

Example 1 — the default attic

Inputs
28 ft wide, 40 ft long, 8:12 pitch, 4 ft knee wall, 7 ft target
Rise per foot
8 ÷ 12 = 0.667 ft
x at target
(7 − 4) ÷ 0.667 = 4.5 ft
Usable width
28 − (2 × 4.5) = 19.0 ft
Usable area
19 × 40 = 760 sq ft
Total floor
28 × 40 = 1,120 sq ft
Usable share
760 ÷ 1,120 = 67.9%

Four and a half feet is lost at each eave. That is where the storage goes, and it is why the usable share is two thirds rather than the whole floor.

usable width = 28 − (2 × 4.5) = 19 ft

Example 2 — the same attic at 12:12

Inputs
28 ft wide, 40 ft long, 12:12 pitch, 4 ft knee wall, 7 ft target
Rise per foot
12 ÷ 12 = 1.00 ft
x at target
(7 − 4) ÷ 1.00 = 3.0 ft
Usable width
28 − (2 × 3.0) = 22.0 ft
Usable area
22 × 40 = 880 sq ft
Usable share
880 ÷ 1,120 = 78.6%

Steepening the roof from 8:12 to 12:12 buys 3 ft of width and 120 sq ft of floor without touching the footprint. The strip that fails the target shrinks from 4.5 ft to 3 ft per side, because a steeper rafter climbs to 7 ft sooner.

usable width = 28 − (2 × 3.0) = 22 ft

Example 3 — dropping the knee wall to 2 ft

Inputs
28 ft wide, 40 ft long, 8:12 pitch, 2 ft knee wall, 7 ft target
x at target
(7 − 2) ÷ 0.667 = 7.5 ft
Usable width
28 − (2 × 7.5) = 13.0 ft
Usable area
13 × 40 = 520 sq ft
Usable share
520 ÷ 1,120 = 46.4%

Halving the knee wall costs 6 ft of width and 240 sq ft of floor. Knee wall height is the most powerful lever on the page, and it runs in both directions: raising it is what buys the room back.

usable width = 28 − (2 × 7.5) = 13 ft

Example 4 — a knee wall that already clears the target

Inputs
28 ft wide, 40 ft long, 8:12 pitch, 7 ft knee wall, 7 ft target
Usable width
28 ft — the full span
Usable area
28 × 40 = 1,120 sq ft
Usable share
100%

Once the knee wall alone reaches the target, pitch stops mattering: every square foot of floor is usable and the calculator returns the whole footprint. In practice this is a wall rather than an attic, but it shows where the model switches behaviour.

usable width = 28 ft (full width)

Beyond headroom: what else the conversion has to solve

Headroom decides whether the space is usable. It does not decide whether the conversion is buildable. Four other things usually decide that, and each one takes floor away from the figure above.

  • The floor structure. Attic joists are often sized for a ceiling and some insulation, not for occupants and furniture. Whether they can carry a habitable room is an engineering question, and the answer sometimes arrives as a new beam and a lower ceiling.
  • The stair. A compliant stair eats floor area at both ends and needs headroom of its own. On a small attic it is frequently the constraint that ends the project, not the roof.
  • Insulation and ventilation. Converting an attic moves the thermal boundary up to the rafters, which changes the ventilation strategy. A solar attic fan calculator is one way to size mechanical help for a roof that was previously vented at the eaves.
  • Air sealing. The same move exposes the ceiling plane to conditioned air, so gaps that were harmless in a cold attic become a moisture path. The roof attic bypass sealing cost calculator prices that work.
  • Fire separation and egress. Both are code matters and both consume usable area or require structural change.

If the conclusion is that the existing roof cannot support the target, the alternative is to change the roof rather than the attic. Rebuilding the planes so the space beneath them is usable is a different calculation and a different budget, and it is what the flat-to-pitched roof conversion calculator works through. Where the money is better spent outside the envelope entirely, the pergola roof calculator covers a covered outdoor room instead — no headroom to solve, because there is no room to enclose.

An unconverted attic showing exposed rafters, the roof deck, insulation between the joists and a knee wall at the eaves.
Before conversion: rafters, a knee wall and a floor that has to be checked before anything else.

Limitations and assumptions

The geometry is exact for the numbers entered. What it leaves out is everything the building adds.

  • Symmetrical gable assumed. Both sides rise at the same pitch from the same knee height. A roof with one long plane, or a hip end, needs a different model.
  • No dormers, rooflights or raised sections. Anything that locally lifts the ceiling adds usable area, and none of it is in this figure.
  • No stairs, chimney or structure. Each removes floor from the band the calculator reports, so the real room is smaller than the usable area.
  • No floor or structure check. Whether the joists can carry a habitable room is a separate engineering question.
  • Headroom is measured vertically. A sloping ceiling still feels low at the edges of the band even where it clears the number, and furniture cannot use the last few inches.
  • No code compliance. Minimum headroom, floor area and ceiling height rules vary by jurisdiction, and a room that clears your target may still not count as habitable where the building is.
  • Usable share is a plan measure. It describes floor, not volume, and it says nothing about light or outlook.

What moves the answer

Three of the five inputs are properties of the roof you already have; only the target is a choice. That is why the useful question is not “can I convert this attic” but “what target does this attic support”.

Pitch sensitivity on a 28 ft attic with a 4 ft knee wall and a 7 ft target.
PitchLow strip per sideUsable widthUsable share
4:129.0 ft10.0 ft35.7%
6:126.0 ft16.0 ft57.1%
8:124.5 ft19.0 ft67.9%
10:123.6 ft20.8 ft74.3%
12:123.0 ft22.0 ft78.6%

The curve flattens. Going from 4:12 to 6:12 buys 6 ft of width; going from 10:12 to 12:12 buys 1.2 ft. Shallow roofs are where pitch is worth arguing about.

Knee wall height is the strongest lever, because every foot added buys width at both edges at once. Raising it by 1 ft on the 8:12 attic above adds 3 ft of usable width and 120 sq ft of floor, and it does so without changing the covering, the pitch or the ridge.

Headroom target is the trap. Adding a foot to the target costs twice the distance the roof takes to climb it, so at 8:12 one extra foot of headroom removes 3 ft of width. Choosing 7 ft rather than 6 ft is not a detail; it is a decision worth making deliberately.

Where the geometry cannot be changed, a dormer lifts the ceiling locally instead. The eyebrow dormer calculation covers the curved form, which adds light and a little floor without breaking the roofline the way a gabled dormer does.

Frequently asked questions

Because the roof slopes down to the eaves. At each knee wall there is a strip of floor where the ceiling has not yet risen to your target height, and that strip cannot be used as a room. The calculator subtracts both strips and reports what is left in the middle.

It depends on the code adopted where the building is, and on what counts as habitable floor. Many jurisdictions require a substantial clear height over a proportion of the floor, and often permit a lower height over a further proportion. Use the figure your code specifies rather than a general rule, because the target drives the answer directly.

Because the usable floor is the middle of the attic, not the edges. The roof reaches your target height some distance in from each knee wall, and everything between those two points is usable. Adding that distance instead of subtracting it would describe the low zone at the eaves, which is the opposite of the answer.

The result is zero. On a shallow roof the ridge itself can sit below the target, in which case no floor clears it and the calculation returns nothing rather than a negative width. Lower the target, raise the knee wall, or accept that the attic cannot be converted as built.

More than any other input, because it lifts the ceiling at both edges at once. On a 28 ft attic at 8:12 with a 7 ft target, going from a 4 ft knee wall to 5 ft adds 3 ft of usable width and 120 sq ft of floor without changing the pitch or the covering.

Better, but with diminishing returns. The gain from 4:12 to 6:12 is about 6 ft of width on a 28 ft attic; from 10:12 to 12:12 it is about 1.2 ft. Since pitch is fixed by the existing roof, the practical question is usually whether the current pitch is adequate, not how steep it could be.

Yes. A dormer lifts the ceiling locally, which adds floor that the slope would otherwise take away, and it adds light and headroom at the same time. It is the standard answer where the geometry cannot be changed, and it is priced separately from the conversion itself.

No. It is the headroom envelope only. A stair, chimney, dormer or structural upgrade all take floor away from the figure the calculator returns, so the finished room is smaller than the usable area.

Feet for width, length, knee wall and target headroom, and square feet for both areas. Pitch is entered as rise per 12, which is unitless. There is no unit switch, so convert metres to feet first by multiplying by 3.281.

Not necessarily. Usable floor here is the band that clears the height you entered. Habitable floor area is a code definition that also considers floor area thresholds, ceiling heights over a proportion of the room, egress and light, so a room can clear your target and still fail the definition.

They are a typical small attic: 28 ft between knee walls, 40 ft long, an 8:12 roof, a 4 ft knee wall and a 7 ft target. They are illustrative rather than a recommendation. Replace them with your own measurements, because every result scales from the width you enter.

No. It is a planning and estimating aid. Structural capacity, stair design, fire separation, egress and anything the building code governs need a qualified person working to the code adopted where the building is.

Where these numbers come from

The usable width is the attic width minus the strip at each eave where the rafter line has not yet risen from the knee wall to the target headroom. That is one linear equation, and nothing in it is proprietary.

What is not arithmetic is the target. Minimum headroom, habitable floor area thresholds and the proportion of a room that must reach full height are set by the building code adopted where the building is, and they differ between jurisdictions. This calculator applies whatever target you give it and makes no claim about compliance.

No external reference is cited on this page because the geometry is elementary and the compliance question is jurisdiction-specific. Where a figure matters to a permit application, take it from the code edition your authority enforces rather than from a general guide.

Headroom is only the first test

Structure, stairs, insulation and ventilation decide whether the space becomes a room.

Scroll to Top