median cost comparison