The cost to rewire the house and replace the electrical if done by a licensed electrician could cost you upwards of $10,000.00 to $15,000.00 depending how big the house is and how many amps you're upgrading too.
If you do it yourself then the cost to replace the entire electrical system could be around $2,000.00 or less.