Graphic: How Apple is gaining on Microsoft

Here's a chart that should keep Steve Ballmer up at night.

It compares Microsoft's (msft) market share, revenue, net profit and growth rate to Apple's (aapl), using the numbers from each company's most recent quarterly report.

Although Apple has a bit more cash on hand ($24.5 billion v. $20.7 billion), Microsoft's operating system still dominates. And if you use generally accepted accounting principles (GAAP), Redmond's revenue and net income still dwarf Cupertino's.

But it turns out that Apple has been hiding most of its iPhone revenue behind subscription-based accounting (see here). As Apple Insider's Prince McLean points out, if you use the non-GAAP deferred revenue numbers that Apple released last week (and are shown in this chart), the company now earns more than half of Microsoft's profits on more than three fourths of its revenue (see Apple earnings, profits, and cash embarrass Microsoft).

Steve Jobs' company is also growing much more quickly than Ballmer's. Microsoft's revenue grew 9% year over year last quarter. Apple's grew 75%.

All products and services featured are based solely on editorial selection. FORTUNE may receive compensation for some links to products and services on this website.

Quotes delayed at least 15 minutes. Market data provided by Interactive Data. ETF and Mutual Fund data provided by Morningstar, Inc. Dow Jones Terms & Conditions: S&P Index data is the property of Chicago Mercantile Exchange Inc. and its licensors. All rights reserved. Terms & Conditions. Powered and implemented by Interactive Data Managed Solutions