Cost is very much related to distance from breakers since wire is a major cost and then the labor of getting through walls, floors. I had about 50' of #4 copper wire for 100 Amp service, coming across a basement ceiling and up through a concrete floor. 6 hrs of labor. $725 done by electrician.