Area and coverage per bag
Bags needed are the area divided by the coverage per bag, rounded up. The default 40 square feet is only a common package-coverage starting point, not an Energy.gov or DOE figure — change it to the coverage printed on the bag you have. This page does bag-count arithmetic only. It does not run a whole-house energy audit and it does not invent an R-value formula, so it does not include climate-zone advice.
This is a bag-count estimate. Actual coverage depends on thickness, cuts, and gaps. Follow the package.