Many things shape the final cost. The type of water heater you pick matters. Labor costs for installation play a big part. Removing your old unit adds to the price. Any needed permits also affect the total.
To plan your project, get quotes from several local pros. This helps you compare prices. Think about your home's hot water needs. A new, efficient unit can save you money over time.