Many things can change the final price. The type of water heater matters. Tankless models often cost more than traditional tank models. The size of the unit also plays a part. Bigger homes need bigger water heaters.
Labor costs vary by installer. Permits are often needed for this work. These add to the total cost. Getting a new water heater is a big job. It needs careful planning. Always get a few quotes from local pros.