~30% if you’re using tracking panels in a good location. Rooftop solar is terrible, and is mostly a result of subsidies not economic efficiency.
Rooftop solar has both economic efficiency disadvantages (generally poorer siting, being dangerous and expensive to install) and advantages (no transmission losses, no added load on transmission and distribution systems, and in some cases elimination of inverters and other power electronics). It isn't clear to me whether it comes out to be overall more or less economically efficient, and I suspect that it probably depends on local circumstances, and especially on whether you can reduce or eliminate inverters.
However, the most persuasive case for rooftop solar is basically political rather than economic: it reduces or eliminates the building's dependency on utility-scale generation, transmission, and distribution. This dependency can bite in the form of unreliability (like California's intentional power outages during the now-yearly summer brushfire season, or the "load shedding" rolling blackouts South Africa had for several months last year), in the form of extortionate energy prices due to monopoly rent extraction (California being the poster child here at the moment, extorting 29.75¢/kWh from resident), or in the form of systemic fragility (currently there are blackouts in Kyiv because Russia is blowing up the power stations, which amplifies the coercive effect of Russian attacks on Ukraine).
I want to say, I greatly appreciate your help in getting these figures right.
That’s because there were so many rooftop solar subsidies, removing them gutted rooftop insulations. You will see many highly optimistic calculations because people are trying to sell you solar panels but they leave out details like the time cost of money. 30k upfront at even 5% annual return is a lot of money let alone borrowing 30k at 6%.
Meanwhile, household rooftop and balcony installations continue to proliferate rapidly in Pakistan, Germany, Australia, here in Argentina, etc.
But you don’t need to take my word for it even with a 30+% subsidy on most instillations residential solar in the US only represents ~15% of total solar capacity. Globally the numbers are even lower.
In the US you have a negative 100% subsidy on solar panels in the form of tariffs, and the planning and permit prices you're talking about are additional similar negative subsidies, not actual costs. They don't exist in Pakistan, and they could be set to zero tomorrow at the stroke of a pen, which is what has happened with balcony solar in several European countries. That's why you're talking about nonsense prices like US$30k for a household system.
Without labor your solar panels are still sitting in the box the showed up in. You can debate how much is actually necessary but economically it makes zero difference if a 3rd party or the homeowner does the install, labor is labor.
Similarly it’s not rooftop solar if the panels aren’t on a roof. Using up your yard for solar panels is an option but means more issues with shading and loss of yard space.