Silicon Valley as a measure - 1% of the country's population but 10% of its programmers. So, 10x the national average of programmers.
Here's a relevant page by the Bureau of Labor Statistics. If you scroll down a bit past the state-level charts, they start showing metropolitan areas. "San Jose-Sunnyvale-Santa Clara" has a fairly good compromise between volume and density, but it's not at the top of either chart.
[1] https://en.wikipedia.org/wiki/San_Francisco_Bay_Area
[2] https://en.wikipedia.org/wiki/Economy_of_the_United_States
[1] http://www.investopedia.com/articles/investing/020515/busine...
Btw, Apple had 3x Google's revenue in 2015.
In any case, Revenue != GDP due to double counting.
http://www.bls.gov/oes/current/oes_41860.htm
As you can see, in the Bay Area, the two most common software-related occupations are ~2.9 times as common as the US as a whole (Software Developers - Systems Software, and Software Developers - Applications).
But they both lose out to Solar Photovoltaic Installers and Genetic Counsellors, which are 6(!) times as more common on the Bay Area than the rest of the US (from a much smaller base, though).
Edit: If you slice by San Jose-Sunnyvale-Santa Clara, looking only at Systems developers, the quotient goes to around 9 - far ahead of runners up in Massachusetts and Huntsville, AL.