Cost to replace water heater: $$$ to $,$$$, depending on what type and who installs it.
Damage to home (unless heater conveniently located in basement): $$$ to $$,$$$
My girlfriend's estimate on floor damage was over $20,000!
(Sorry to sidetrack the thread)