The size, shape, and slope of your roof are also important factors to consider. Typically, solar panels perform best on south-facing roofs with a slope between 15 and 40 degrees, though other roofs may be suitable too. You should also consider the age of your roof and how long until it will need replacement.