It depends on your energy usage, where you live, what incentives you qualify for and whether or not you want a storage battery to go along with the panels. Solar panels typically last 25-30 years.
We created a guide to determining the return on investment of solar panels, and you can use an online calculator to estimate ... the charge controller, the battery bank, the power inverter and ...