The prices varies depending on your electricity needs, climate in your area, incentives of your state and some other factors.
If you want to see an example of such a calculation, lots of information on rebates, incentives and tax credits categorized by states than check http://www.solarpowerrocks.com . You can find there the actual calculations of costs after rebates and tax credits plus how much you save per year, so you can derive the return on investment.
As a general rule of thumb, return on investment for residential solar power system is between 3-8 years.