Use this free attic ventilation calculator to find the required net free area (NFA) for your attic, based on standard 1/150 or 1/300 building code ratios, and see exactly how many linear feet of ridge and soffit vent you need to balance intake and exhaust airflow.
Estimates only. By using this calculator you agree to our Terms.
Enter your attic's floor length and width to get the total square footage, then choose the ventilation ratio required by your local code (1/150 or 1/300). Set your intake/exhaust split and enter the net free area (NFA) rating of the ridge and soffit vent products you're using — the calculator instantly returns total required NFA, plus the linear feet of ridge and soffit vent needed.
Poor attic ventilation is one of the leading causes of premature roof failure, ice damming, mold growth, and sky-high summer cooling bills. Builders, roofers, and home inspectors use ratios like 1/150 (1 square foot of NFA per 150 square feet of attic floor) or 1/300 to size vents correctly during new construction, re-roofing, or attic remodels. A homeowner replacing shingles on a 1,200 sq ft attic needs roughly 576 sq inches of NFA split between soffit intake and ridge exhaust — get it wrong and moisture gets trapped, rotting sheathing and voiding shingle warranties. Roofing contractors quoting ridge vent length, home inspectors flagging inadequate ventilation, and DIYers adding gable or box vents all rely on this same math to avoid callbacks and code violations.
The core building-code formula is:
Required NFA (sq in) = Attic Floor Area (sq ft) × 144 ÷ Ratio
Where Ratio is 150 or 300 depending on whether your attic has a vapor retarder and a balanced 50/50 split between intake and exhaust (which allows the more generous 1/300 rule under most codes, including IRC and FHA/HUD standards). That total NFA is then divided according to your intake/exhaust split, and each half is converted into linear feet of vent by dividing by the vent's NFA-per-linear-foot rating printed on the product packaging.
An attic measuring 40 ft × 30 ft = 1,200 sq ft, using the 1/300 ratio:
Total NFA = 1,200 × 144 ÷ 300 = 576 sq in
Intake (50%) = 288 sq in → 288 ÷ 9 sq in/ft (soffit) = 32.0 linear ft of soffit vent
Exhaust (50%) = 288 sq in → 288 ÷ 18 sq in/ft (ridge) = 16.0 linear ft of ridge vent
This matches the calculator's default inputs above — try changing the ratio to 1/150 to see the required NFA double.
NFA stands for Net Free Area — the actual open area (in square inches) through which air can pass, as opposed to a vent's overall physical size. Manufacturers test and print NFA on their product specs, and it's the number building codes and this calculator use.
Use 1/300 only if your attic has a vapor retarder on the warm-in-winter side of the ceiling and your ventilation is split roughly 50/50 between intake and exhaust; otherwise most codes default to the stricter 1/150 ratio.
Divide the required exhaust NFA (half your total NFA, typically) by your ridge vent's NFA-per-linear-foot rating. For a 1,200 sq ft attic at 1/300 with an 18 sq in/ft ridge vent, you'd need about 16 linear feet.
Yes, but calculate the NFA of each vent type separately and add them together; just make sure your total intake still roughly balances your total exhaust to avoid pulling air the wrong direction.
Under-ventilation traps heat and moisture, accelerating shingle aging, promoting mold and wood rot, and contributing to ice dams in cold climates — it can also void some shingle manufacturer warranties.
This tool calculates whole-attic NFA based on floor area; for individual vaulted rafter bays, size each bay's intake and exhaust vent separately since they don't share a common attic space.