As the number of pharmacy companies has declined, there's been a huge creep upwards in the price of generic drugs. Even for non-prescription drugs. Price is no longer even vaguely related to production cost. Look at the price of antacid tablets (which are chalk, calcium carbonate) and cranberry pills (a very cheap product.)