Here's a decent breakdown for US installs:
https://solaractionalliance.org/residential-solar-panel-cost...Your 5-10k range installs will be $10-20,000 AFTER the tax credit, which might be a little higher now than when that graphic was put together.
Of course, this doesn't account for things like needing to re-do existing electrical work to get affected areas up to code, or if you need to replace the shingles on your roof while you're at it because it's typically recommended to do both at the same time if you're going to add solar.
Then again, you may also have the problem of ensuring your roof will withstand the extra weight, depending on the system. Most people are probably fine here, but for older houses in snowy climates it's worth thinking about as well.
I've looked into solar for my house. Aside from not getting enough sun throughout the day due to tree shade, there's also the problem that every solar calculator available wants to pretend that energy prices are going to go up 5% a year. Well, I've lived at my current house for 5 years and they haven't gone up once. The real payback for me is 20 years, if I'm lucky, even without the trees in the way.