Even as a chain, prices may vary by location. I saw that with Walmart stores a few times (plus the selection can be totally different as well)
I don't think even G-D knows how they calculate that. Some local costs may play a role, like sales taxes, but overall?