40 is for both boxes. These are peel and stick traffic master morocco slate floor tiles from Home Depot. You can take a better look at the Home Depot site https://www.homedepot.ca/product/trafficmaster-12-inch-x-12-inch-morocco-slate-peel-and-stick-vinyl-tile-flooring-30-sq-ft-case-/1000850217