Apple (NASDAQ:AAPL) versus Microsoft (NASDAQ:MSFT). These archrivals have battled against each other for decades, all the while rewarding their shareholders with the spoils of war.

But which is the better buy today? Let's find out.


Apple's economic moat is built around the strength of its ecosystem. The iPhone is its Trojan horse into consumer's lives. The high satisfaction rates among iPhone buyers tend to lead to additional Apple purchases, such as iPads and Macs. This "halo effect" is further strengthened by Apple's growing collection of services, with iCloud, iTunes, App Store, Apple Pay, and Apple Music all helping to add additional layers of "stickiness" to Apple's ecosystem. So once a person becomes an Apple customer, he or she tends to remain one.

Microsoft, on the other hand, has recently seen a major portion of its competitive moat crumble. Windows was a major driver of Microsoft's rise to dominance in the '90s, and for many years the PC operating system comprised the core of Microsoft's competitive strategy versus its rivals. Yet, analogous to how the Germans bypassed France's Maginot Line in World War II, Apple circumvented Microsoft's well-defended PC operating-system business with a mobile offensive.

Old gun turrets along France's Maginot Line

Like France's infamous Maginot Line, Microsoft's Windows moat was outflanked by Apple. Image source: Getty Images.

Apple knew that it could not overtake Microsoft's dominant desktop-computer market share with a direct assault, so it instead attacked its opponent's relatively unprotected mobile OS flank. By the time Microsoft attempted to launch a counterstrike with its Windows Phones, it was too little, too late. Moreover, Apple's victories in mobile have allowed it to expand its beachhead in desktop computers, with Macs steadily taking share from Windows-powered PCs in recent years.

Though these two tech titans compete in several other areas, Apple's success in the mobile wars gives it the edge in terms of competitive moat.

Advantage: Apple.

Financial fortitude 

Apple and Microsoft are both powerhouse businesses, but let's look at some key metrics to see how they stack up in regard to financial strength.





$223.5 billion

$89.9 billion


$74.7 billion

$34.1 billion

Net income

$46.7 billion

$21.2 billion

Operating cash flow

$64.1 billion

$39.5 billion

Free cash flow

$51.2 billion

$31.4 billion

Cash & investments

$261.5 billion

$139.0 billion


$108.6 billion

$88.8 billion


Apple's and Microsoft's financials are staggering. With more than $50 billion and $30 billion in annual free cash flow, respectively, and $400 billion in cash and investments between them, these tech giants are colossal cash-generating machines. Yet as impressive as Microsoft is in these areas, Apple's profitability and balance-sheet strength are simply unparalleled.

Advantage: Apple.


Over the past half-decade, Apple's revenue growth outpaced that of Microsoft by about 10%, while Microsoft's earnings per share rose faster than its longtime rival's EPS by a comparable margin.

AAPL Revenue (TTM) Chart

AAPL Revenue (TTM) data by YCharts

Over the next five years, Wall Street expects Apple and Microsoft to grow their EPS at similar rates: 12.37% for Apple and 11.45% for Microsoft. That's too close to give either company much of an edge in terms of growth.

Advantage: None.


No better-buy discussion should take place without a look at valuation. Let's check out some key value metrics for Apple and Microsoft, including price-to-sales, price-to-earnings, and price-to-free-cash-flow ratios.







Trailing P/E



Forward P/E







On all four metrics, Apple's shares are far less expensive than Microsoft's, making it the better bargain.

Advantage: Apple.

The better buy is... 

Apple's powerful ecosystem, superior financial strength, and more attractively priced stock combine to make it the better buy today.

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium advisory service. We’re motley! Questioning an investing thesis -- even one of our own -- helps us all think critically about investing and make decisions that help us become smarter, happier, and richer.