The cost of rooftop solar panel installations depends on several factors, including sunlight, roof square footage, and more.