One reason that I would do the 20 minute trip across town for a $5 saving is to reward the store with the good deal and punish the store with the high price.
Since a 20-minute trip is almost never worth $5 to me, it will really depend on how cranky I am.
In this scenario, given that they are different branches of the same store, the whole thing might make me so cranky that I go to another store completely or figure out a way to go a while longer without a calculator.
This is pretty much why I do not have colour ink in my printer right now. I was at a Staples recently and they had ink for a price I was willing to pay but I knew they were selling it online cheaper.
I know I'm not acting rationally about whether I have ink and how much I'm spending on it. I also know that I shouldn't assign moral values to Staples' pricing policies, but I don't think I'll be printing in colour until either I find someone with a pricing policy that doesn't feel all wrong to me or my girlfriend buys some ink because she doesn't want to wait for me to do it any longer.
One reason that I would do the 20 minute trip across town for a $5 saving is to reward the store with the good deal and punish the store with the high price.
Very good point. I very often consciously or near-consciously think about that.
From Tversky and Khaneman's "The Framing of Decisions and the Psychology of Choice" (Science, Vol. 211, No. 4481, 1981):
This one's a killer. Money is supposed to be fungible, but these observations really highlight how difficult it is to really behave as if you believed that. So, aspiring rationalists, how might we combat this in ourselves? Maybe it would help to consciously convert between money and time: if you value your time at 25 $/hr, then the cost of a twenty-minute drive is 25 $/hr * (1/3) hr = $8.33 > $5, so you buy the calculator in front of you in either case. So this heuristic at least takes care of the calculator problem, although I would guess it fails miserably in other contexts, I currently know not which.
Another takeaway lesson is to ignore advertisements boasting that a product is currently such-and-such percent off. We don't care about the percentage! How many minutes are you saving?