BuildMetricLab

Insulation & Energy

Attic Baffle / Rafter Vent Calculator

Rafter vent baffles for the eaves: one per rafter bay from the vented eaves length and spacing, with packs and cost

Updated October 9, 2026 · Live

What this tool does

Counts the rafter vent baffles (insulation stops or eaves trays) a roof needs, one per rafter bay along the vented eaves, from the eaves length and the rafter or truss spacing, in metres or feet. Rounds up to whole baffles and whole packs, prices them, and shows the air gap the baffle has to keep under your building code.

Vented eaves length divided by rafter spacing, rounded up to whole baffles and whole packs.

Inputs
ft
in
$
Result

Rafter Vent Baffles Required

49

Vented Eaves Length
65.00 ft
Rafter Spacing
16.0 in (406 mm)
Rafter Bays Along the Eaves
48.8
Baffles to Buy
49
Estimated Cost
$98.00
Clearance the Baffle Keeps
At least 1 in between insulation and sheathing at the vent (IRC R806.3)
Price it on PlainEstimate

Opens these materials as a new estimate on PlainEstimate, our free estimate and invoice app.

Plain Estimate
From BrightScale Labs
Invoice maker
Quote at the door. Signed on the spot.
Estimates and invoices for trades, built while you are still in the room.
Scan to get
Get it onGoogle Play

People also use

Formula Used
N=⌈Ls⌉,P=⌈Nk⌉N = \left\lceil \frac{L}{s} \right\rceil, \quad P = \left\lceil \frac{N}{k} \right\rceil
NN
Rafter vent baffles required
LL
Vented eaves length (ft)
ss
Rafter spacing (in, converted to ft)
PP
Packs to buy
kk
Baffles per pack

How the attic baffle calculator works

A rafter vent baffle, also sold as an insulation stop, a rafter tray or an eaves vent tray, sits in one rafter bay at the eaves and holds the insulation back so air can get in from the soffit and up over it. One bay, one baffle, so the count is the length of eaves that is vented divided by the rafter or truss spacing, rounded up because the last part-bay still needs one. Twenty metres of eaves at 406 mm centres is 49.3 bays and 50 baffles; 65 ft at 16 in is 48.75 bays and 49. The eaves length is the total of every run that has soffit vents, both sides of a gable roof and all four of a hip, not the length of the house. Enter the pack size the baffles come in and the page rounds up again to whole packs and prices what you buy.

What the baffle is for, and how big the gap has to be

The baffle exists to keep a code-sized air channel open where the insulation meets the roof slope, and three codes say how big. In Canada, Part 9 of the National Building Code, here in the British Columbia Building Code 2018 text of Subsection 9.19.1, asks for 63 mm between the top of the insulation and the underside of the sheathing, and where preformed baffles contain the insulation at the junction of the roof and wall, an unobstructed air space of not less than 25 mm with enough cross-section for the attic vent area; the vents themselves have to total 1/300 of the insulated ceiling, 1/150 for low slopes, spread between the eaves and the top of the roof. In the United States, section R806.3 of the International Residential Code says that where eave vents are installed, insulation shall not block the free flow of air and a minimum 1 in (25 mm) space shall be provided between the insulation and the roof sheathing at the vent, with the same 1/150 and 1/300 vent areas in R806.2. In England the figure comes from BS 5250 and the Approved Documents: the government's retrofit room-in-roof guide tells the designer to keep a minimum 50 mm ventilation gap between insulation and the roof membrane, and a typical local authority building control guidance page puts the eaves provision as a continuous 25 mm opening along the eaves with a clear 50 mm of air space above the insulation. A baffle bought for a 16 in or 400 mm bay is made to hold those gaps; the count is the easy part.

Spacing, widths and the last bay

Rafters and trusses in North America run at 16 in or 24 in on centre, 406 mm and 610 mm, with 19.2 in turning up in engineered framing; in the UK and Australia 400 mm, 450 mm and 600 mm are the common centres. Measure a few bays rather than trusting the plan, because a bay narrowed by a hip, a valley, a chimney or a doubled truss still needs a baffle, and baffles come sized for the standard bays: a 22.5 in wide baffle fits a 24 in on centre bay, a 14.5 in one a 16 in bay. Where the bays are narrower than the baffle, cut it down; where a roof has both spacings, run the calculator once for each run of eaves and add the counts. The rounding up means a 65 ft run at 16 in buys 49 baffles for 48.75 bays, and a 42 m run at 600 mm buys exactly 70; in packs of 25 that is 75 and five spares.

Worked examples

A detached bungalow 12 m by 7.5 m with a hip roof has vented eaves on all four sides, 39 m. At 600 mm centres that is 65 bays and 65 trays; at 400 mm, 97.5 bays and 98. A 30 ft by 40 ft gable house vents along the two 40 ft eaves only, 80 ft: at 24 in centres that is 40 baffles, at 16 in it is 60, and at 19.2 in it is 50. A 120 ft run at 24 in is exactly 60 bays and 60 baffles, $150 at $2.50 each. In Canada, 36 m of eaves at 610 mm is 59.0 bays and 60 baffles. The pack rounding matters only at the margin: 49 baffles in packs of 10 is five packs and 50 baffles, so one spare, and the cost is on the 50.

Fitting them

Baffles go in before the insulation, from inside the attic or from the eaves before the soffit closes, stapled or nailed to the underside of the sheathing or to the rafters so the channel stays open from the soffit vent to above the top of the insulation. In a shallow heel the baffle also stops the insulation being crushed thin at the plate, and a wind-wash block or dam at the top plate keeps cold air from blowing through the loose-fill edge. On a retrofit, check that the soffit vents are actually open behind the fascia and not painted shut or stuffed with old insulation; a baffle behind a blocked soffit vents nothing.

What the calculator leaves out

It counts the baffles, not the vent area. Whether the roof has enough intake and exhaust, and in what ratio, is the 1/300 or 1/150 sum in the codes above and the roof ventilation calculator does it. It does not know the heel height, so it cannot say whether the insulation depth you want will fit over the plate with the gap intact; the attic insulation calculator gives the depth and the baffle height has to clear it. It does not include the wind-wash dam, soffit vents or the soffit itself; the soffit and fascia calculator covers that run. And a room-in-roof or a warm roof with insulation between or over the rafters is a different assembly with its own ventilation path.

Using this with other BuildMetricLab tools

Run the vapour barrier calculator for the warm-side membrane that goes with a cold roof, and the rafter set-out calculator if the roof is new and the spacing is yours to choose. All BuildMetricLab tools run in your browser with no sign-up, and the formula is on the page so the maths can be checked.

Sources & methodology

Baffles = ⌈vented eaves length ÷ rafter spacing⌉, one per rafter bay; packs = ⌈baffles ÷ pack size⌉; cost = packs × pack size × price per baffle. US inputs are converted to metres and millimetres before the division. The clearance row quotes the code for the page's market: NBC Part 9, 9.19.1 (Canada), via the British Columbia Building Code 2018 text, 63 mm above the insulation and 25 mm at a preformed baffle, vents 1/300 of the insulated ceiling (1/150 for low slopes); IRC R806.3 (US), 1 in (25 mm) between insulation and sheathing at the vent, R806.2 vent area 1/150 or 1/300; England, BS 5250 and the Approved Documents as summarised in the GOV.UK retrofit room-in-roof guide (50 mm ventilation gap) and local authority building control guidance (25 mm continuous eaves opening).

Frequently asked questions

Are attic baffle calculator results accurate enough to order materials?

Yes. One baffle per rafter bay is a count, not an estimate, so if the vented eaves length and the spacing are right the number is right, and the round-up to whole baffles and whole packs gives a spare or two. Measure the spacing in a few bays rather than taking it from the plan, and include every run of eaves that has soffit vents.

What wastage percentage should I use?

None. There is no wastage input because the count is one baffle per bay and the only rounding is up to whole baffles and whole packs; a damaged baffle is cheap to replace from the pack spares. If the bays are irregular, run the calculator per run of eaves and add the counts rather than adding a percentage.

Does this replace professional advice?

No. It counts baffles. It does not check the vent area, the heel height or whether the roof should be vented at all, and those are code matters: NBC Part 9 in Canada, IRC R806 in the United States, BS 5250 and the Approved Documents in England. For anything affecting structure, gas, electrics, plumbing or drainage to a public sewer, use a suitably qualified professional.

Can I change the unit prices?

Yes. The price per baffle and the pack size are both inputs; enter the pack the shop sells and its per-baffle price and the cost is the whole packs needed. Enter 0 for the price to see the count only.

Spotted something off?

Calculations or display — let us know.

Calculators from other categories that planners often reach for next.