The stock market has been on a tear for the past three months, and Big Tech gets much of the credit. But how can this possibly be when the coronavirus has inflicted so much damage on the US economy, with the highest unemployment since the Great Depression and gross domestic product headed into a black hole? And anyway, it's not as if tech is untethered from the economy. Yet, maybe tech isn't all that dependent on growth in the US. Compared to the rest of the world, and for the first time in ages, many wealthy industrialised countries are doing better – and in some cases, much better – than the US. Nations such as Japan, South Korea and Germany have not only managed to contain the pandemic, but their economies are well ahead of the US's into their re-openings. For the past five years, a small group of tech stocks have had an outsize influence on US markets. Two-thirds of the gains in the S&P500 have been driven by just six US companies – Facebook, Amazon, Apple, Netflix, Google (Alphabet) – the so-called FAANG stocks – and Microsoft. An index of those six stocks is up more than 62 per cent since the March lows, while the S&P500 is up about 40 per cent. Overseas markets may very well be a key reason shares of the biggest US tech companies are powering higher. These tech companies derive a surprisingly large share of their revenue from foreign markets. According to Standard & Poor's, companies in the S&P 500 derived 42.9 per cent of their sales from overseas markets in 2018 (2019 data is not yet available). But this share is much higher for the big tech companies: Apple generated more that 55 per cent of its revenue outside the US in the year ended in September; in some quarters, overseas accounted for as much as 60 per cent of revenue. International sales accounted for 54.5 per cent and 53.8 per cent of Facebook and Alphabet revenue, respectively. For Microsoft and Netflix, the split is about half domestic and half overseas (49 per cent and 49.4 per cent, respectively). Amazon is the Big Tech exception, generating a sizeable majority of its revenue within the US. What make overseas so important, though, is because that's where the growth is. Netflix had revenue growth of 21 per cent in 2019, but the domestic side was a laggard at just 7 per cent. Facebook, meanwhile, now has more users in India than in the US, with Indonesia and Brazil growing fast. For Alphabet, Asia and Latin America have produced faster revenue growth than the US. It isn't a coincidence that these companies that are so reliant on the rest of the globe have seen their stock prices do well. The Covid-19 numbers suggest that much of the world is way ahead of the US not only in terms of managing the pandemics, and that their economies are recovering faster. As of July 14, globally, there were more than 13 million confirmed cases of Covid-19 and almost 575,000 deaths. In the US those figures were 3.3 million confirmed cases and 136,000 deaths. This data is a report card on how well the country is managing the pandemic: The US has 4.2 per cent of the world’s population, but 25 per cent of the infections and 24 per cent of the deaths. And yet, even this national incompetence has worked to the advantage of the Big Tech companies. All they require of their customers is a computing device and a network connection; users are not limited by geography – either domestically or internationally. Nor do users need to have a physical presence at an office. Some companies are well positioned to survive the pandemic lockdown, thriving during an era of remote work and social distancing. Many of these same companies are well positioned to benefit from the rest of the world’s economic recovery. As it turns out, tech companies can profit both from the US's shutdown and a recovering Europe and Asia. It is a very effective one-two punch. It explains so much of the market’s gains. <em>Barry Ritholtz is chairman and chief investment officer of Ritholtz Wealth Management and the author o</em>f Bailout Nation * Bloomberg