The cost depends on the severity of the repair, the type of water heater, and its size. For repairs, expect to pay for the service call and parts. For replacements, factor in the cost of the new unit, removal of the old one, and installation.
We recommend contacting a licensed plumber for a free estimate.