The 40" x 48" trash bag fits most 40-45 gallon trash cans. Shopping by dimension works when you know exactly which size you need. If you are unsure, you can simply choose to shop by Gallon size instead. It is always best to take the next size up (and have some extra overhang) if you are doubtful of a perfect fit.