Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

KMX vs AMZN vs MSFT vs AN

Revenue, margins, valuation, and 5-year total return — side by side.

Live fundamentals10-year financials5-year price chart
KMX
CarMax, Inc.

Auto - Dealerships

Consumer CyclicalNYSE • US
Market Cap$5.71B
5Y Perf.-54.7%
AMZN
Amazon.com, Inc.

Specialty Retail

Consumer CyclicalNASDAQ • US
Market Cap$2.92T
5Y Perf.+122.1%
MSFT
Microsoft Corporation

Software - Infrastructure

TechnologyNASDAQ • US
Market Cap$3.13T
5Y Perf.+129.7%
AN
AutoNation, Inc.

Auto - Dealerships

Consumer CyclicalNYSE • US
Market Cap$7.05B
5Y Perf.+420.0%

KMX vs AMZN vs MSFT vs AN — Key Financials

Market cap, revenue, margins, and valuation side-by-side.

Company Snapshot
KMX logoKMX
AMZN logoAMZN
MSFT logoMSFT
AN logoAN
IndustryAuto - DealershipsSpecialty RetailSoftware - InfrastructureAuto - Dealerships
Market Cap$5.71B$2.92T$3.13T$7.05B
Revenue (TTM)$27.38B$742.78B$318.27B$27.49B
Net Income (TTM)$458M$90.80B$125.22B$679M
Gross Margin11.0%50.6%68.3%17.7%
Operating Margin1.7%11.5%46.8%4.4%
Forward P/E14.8x34.8x25.3x9.7x
Total Debt$19.43B$152.99B$112.18B$10.18B
Cash & Equiv.$247M$86.81B$30.24B$59M

KMX vs AMZN vs MSFT vs ANLong-Term Stock Performance

Price return indexed to 100 at period start. Dividends excluded.

KMX
AMZN
MSFT
AN
StockMay 20May 26Return
CarMax, Inc. (KMX)10045.3-54.7%
Amazon.com, Inc. (AMZN)100222.1+122.1%
Microsoft Corporati… (MSFT)100229.7+129.7%
AutoNation, Inc. (AN)100520.0+420.0%

Price return only. Dividends and distributions are not included.

Quick Verdict: KMX vs AMZN vs MSFT vs AN

Each card shows where this stock fits in a portfolio — not just who wins on paper.

Bottom line: MSFT leads in 4 of 7 categories, making it the strongest pick for growth and revenue expansion and profitability and margin quality. AutoNation, Inc. is the stronger pick specifically for valuation and capital efficiency and capital preservation and lower volatility. AMZN also leads in specific categories worth noting. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
KMX
CarMax, Inc.
The Value Angle

KMX lags the leaders in this set but could rank higher in a more targeted comparison.

Best for: consumer cyclical exposure
AMZN
Amazon.com, Inc.
The Momentum Pick

AMZN is the clearest fit if your priority is momentum.

  • +43.7% vs KMX's -39.4%
Best for: momentum
MSFT
Microsoft Corporation
The Income Pick

MSFT carries the broadest edge in this set and is the clearest fit for income & stability and growth exposure.

  • Dividend streak 19 yrs, beta 0.89, yield 0.8%
  • Rev growth 14.9%, EPS growth 15.6%, 3Y rev CAGR 12.4%
  • 7.9% 10Y total return vs AN's 324.6%
  • Lower volatility, beta 0.89, Low D/E 32.7%, current ratio 1.35x
Best for: income & stability and growth exposure
AN
AutoNation, Inc.
The Value Pick

AN is the #2 pick in this set and the best alternative if valuation efficiency is your priority.

  • PEG 0.31 vs MSFT's 1.35
  • Lower P/E (9.7x vs 25.3x), PEG 0.31 vs 1.35
  • Beta 0.85 vs AMZN's 1.51
Best for: valuation efficiency
See the full category breakdown
CategoryWinnerWhy
GrowthMSFT logoMSFT14.9% revenue growth vs KMX's -0.0%
ValueAN logoANLower P/E (9.7x vs 25.3x), PEG 0.31 vs 1.35
Quality / MarginsMSFT logoMSFT39.3% margin vs KMX's 1.7%
Stability / SafetyAN logoANBeta 0.85 vs AMZN's 1.51
DividendsMSFT logoMSFT0.8% yield; 19-year raise streak; the other 3 pay no meaningful dividend
Momentum (1Y)AMZN logoAMZN+43.7% vs KMX's -39.4%
Efficiency (ROA)MSFT logoMSFT19.2% ROA vs KMX's 1.8%, ROIC 24.9% vs 2.4%

KMX vs AMZN vs MSFT vs AN — Revenue Breakdown by Segment

How each company's revenue is distributed across its business units

KMXCarMax, Inc.
FY 2025
Used Vehicles
82.1%$21.1B
Wholesale Vehicles
17.9%$4.6B
AMZNAmazon.com, Inc.
FY 2025
Online Stores
37.6%$269.3B
Third-Party Seller Services
24.0%$172.2B
Amazon Web Services
18.0%$128.7B
Advertising Services
9.6%$68.6B
Subscription Services
6.9%$49.6B
Physical Stores
3.1%$22.6B
Other Services
0.8%$5.9B
MSFTMicrosoft Corporation
FY 2025
Server Products And Cloud Services
34.9%$98.4B
Microsoft Three Six Five Commercial Products And Cloud Services
31.2%$87.8B
Gaming
8.3%$23.5B
Linked In Corporation
6.3%$17.8B
Windows
6.1%$17.3B
Search Advertising
4.9%$13.9B
Dynamics Products And Cloud Services
2.8%$7.8B
Other (3)
5.4%$15.2B
ANAutoNation, Inc.
FY 2025
New Vehicle
48.9%$13.5B
Used Vehicle
28.3%$7.8B
Parts and Service
17.5%$4.8B
Finance and Insurance, Net
5.3%$1.5B
Product and Service, Other
0.1%$16M

KMX vs AMZN vs MSFT vs AN — Financial Metrics

Side-by-side numbers across 4 stocks — who leads on profitability, valuation, growth, and risk.

BEST OVERALLMSFTLAGGINGKMX

Income & Cash Flow (Last 12 Months)

MSFT leads this category, winning 5 of 6 comparable metrics.

AMZN is the larger business by revenue, generating $742.8B annually — 27.1x KMX's $27.4B. MSFT is the more profitable business, keeping 39.3% of every revenue dollar as net income compared to KMX's 1.7%. On growth, MSFT holds the edge at +18.3% YoY revenue growth, suggesting stronger near-term business momentum.

MetricKMX logoKMXCarMax, Inc.AMZN logoAMZNAmazon.com, Inc.MSFT logoMSFTMicrosoft Corpora…AN logoANAutoNation, Inc.
RevenueTrailing 12 months$27.4B$742.8B$318.3B$27.5B
EBITDAEarnings before interest/tax$791M$155.9B$192.6B$1.5B
Net IncomeAfter-tax profit$458M$90.8B$125.2B$679M
Free Cash FlowCash after capex$1.9B-$2.5B$72.9B-$104M
Gross MarginGross profit ÷ Revenue+11.0%+50.6%+68.3%+17.7%
Operating MarginEBIT ÷ Revenue+1.7%+11.5%+46.8%+4.4%
Net MarginNet income ÷ Revenue+1.7%+12.2%+39.3%+2.5%
FCF MarginFCF ÷ Revenue+7.1%-0.3%+22.9%-0.4%
Rev. Growth (YoY)Latest quarter vs prior year-13.4%+16.6%+18.3%-2.1%
EPS Growth (YoY)Latest quarter vs prior year-46.9%+74.8%+23.4%+33.0%
MSFT leads this category, winning 5 of 6 comparable metrics.

Valuation Metrics

AN leads this category, winning 4 of 7 comparable metrics.

At 12.0x trailing earnings, AN trades at a 68% valuation discount to AMZN's 37.8x P/E. Adjusting for growth (PEG ratio), AN offers better value at 0.38x vs MSFT's 1.64x — a lower PEG means you pay less per unit of expected earnings growth.

MetricKMX logoKMXCarMax, Inc.AMZN logoAMZNAmazon.com, Inc.MSFT logoMSFTMicrosoft Corpora…AN logoANAutoNation, Inc.
Market CapShares × price$5.7B$2.92T$3.13T$7.0B
Enterprise ValueMkt cap + debt − cash$24.9B$2.98T$3.21T$17.2B
Trailing P/EPrice ÷ TTM EPS12.43x37.82x30.86x12.05x
Forward P/EPrice ÷ next-FY EPS est.14.81x34.77x25.34x9.70x
PEG RatioP/E ÷ EPS growth rate1.35x1.64x0.38x
EV / EBITDAEnterprise value multiple22.61x20.47x19.72x10.83x
Price / SalesMarket cap ÷ Revenue0.20x4.07x11.10x0.26x
Price / BookPrice ÷ Book value/share1.00x7.14x9.15x3.34x
Price / FCFMarket cap ÷ FCF36.48x378.98x43.66x
AN leads this category, winning 4 of 7 comparable metrics.

Profitability & Efficiency

MSFT leads this category, winning 6 of 9 comparable metrics.

MSFT delivers a 33.1% return on equity — every $100 of shareholder capital generates $33 in annual profit, vs $8 for KMX. MSFT carries lower financial leverage with a 0.33x debt-to-equity ratio, signaling a more conservative balance sheet compared to AN's 4.35x. On the Piotroski fundamental quality scale (0–9), KMX scores 8/9 vs AN's 4/9, reflecting strong financial health.

MetricKMX logoKMXCarMax, Inc.AMZN logoAMZNAmazon.com, Inc.MSFT logoMSFTMicrosoft Corpora…AN logoANAutoNation, Inc.
ROE (TTM)Return on equity+7.5%+23.3%+33.1%+28.4%
ROA (TTM)Return on assets+1.8%+11.5%+19.2%+4.8%
ROICReturn on invested capital+2.4%+14.7%+24.9%+8.5%
ROCEReturn on capital employed+3.1%+15.3%+29.7%+17.2%
Piotroski ScoreFundamental quality 0–98664
Debt / EquityFinancial leverage3.11x0.37x0.33x4.35x
Net DebtTotal debt minus cash$19.2B$66.2B$81.9B$10.1B
Cash & Equiv.Liquid assets$247M$86.8B$30.2B$59M
Total DebtShort + long-term debt$19.4B$153.0B$112.2B$10.2B
Interest CoverageEBIT ÷ Interest expense3.08x39.96x55.65x4.53x
MSFT leads this category, winning 6 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

AMZN leads this category, winning 4 of 6 comparable metrics.

A $10,000 investment in AN five years ago would be worth $19,409 today (with dividends reinvested), compared to $3,070 for KMX. Over the past 12 months, AMZN leads with a +43.7% total return vs KMX's -39.4%. The 3-year compound annual growth rate (CAGR) favors AMZN at 36.8% vs KMX's -18.1% — a key indicator of consistent wealth creation.

MetricKMX logoKMXCarMax, Inc.AMZN logoAMZNAmazon.com, Inc.MSFT logoMSFTMicrosoft Corpora…AN logoANAutoNation, Inc.
YTD ReturnYear-to-date+1.6%+19.7%-10.8%-0.6%
1-Year ReturnPast 12 months-39.4%+43.7%-2.1%+16.9%
3-Year ReturnCumulative with dividends-45.1%+156.2%+39.5%+52.4%
5-Year ReturnCumulative with dividends-69.3%+64.8%+72.5%+94.1%
10-Year ReturnCumulative with dividends-22.1%+697.8%+787.7%+324.6%
CAGR (3Y)Annualised 3-year return-18.1%+36.8%+11.7%+15.1%
AMZN leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

Evenly matched — AMZN and AN each lead in 1 of 2 comparable metrics.

AN is the less volatile stock with a 0.85 beta — it tends to amplify market swings less than AMZN's 1.51 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. AMZN currently trades 97.3% from its 52-week high vs KMX's 55.4% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricKMX logoKMXCarMax, Inc.AMZN logoAMZNAmazon.com, Inc.MSFT logoMSFTMicrosoft Corpora…AN logoANAutoNation, Inc.
Beta (5Y)Sensitivity to S&P 5001.32x1.51x0.89x0.85x
52-Week HighHighest price in past year$71.99$278.56$555.45$228.92
52-Week LowLowest price in past year$30.26$185.01$356.28$174.34
% of 52W HighCurrent price vs 52-week peak+55.4%+97.3%+75.8%+89.7%
RSI (14)Momentum oscillator 0–10047.581.154.053.7
Avg Volume (50D)Average daily shares traded3.2M45.5M32.5M412K
Evenly matched — AMZN and AN each lead in 1 of 2 comparable metrics.

Analyst Outlook

MSFT leads this category, winning 1 of 1 comparable metric.

Analyst consensus: KMX as "Hold", AMZN as "Buy", MSFT as "Buy", AN as "Buy". Consensus price targets imply 31.1% upside for MSFT (target: $552) vs -5.3% for KMX (target: $38). MSFT is the only dividend payer here at 0.77% yield — a key consideration for income-focused portfolios.

MetricKMX logoKMXCarMax, Inc.AMZN logoAMZNAmazon.com, Inc.MSFT logoMSFTMicrosoft Corpora…AN logoANAutoNation, Inc.
Analyst RatingConsensus buy/hold/sellHoldBuyBuyBuy
Price TargetConsensus 12-month target$37.78$306.77$551.75$248.00
# AnalystsCovering analysts35948134
Dividend YieldAnnual dividend ÷ price+0.8%
Dividend StreakConsecutive years of raises1191
Dividend / ShareAnnual DPS$3.23
Buyback YieldShare repurchases ÷ mkt cap+7.5%0.0%+0.6%+11.2%
MSFT leads this category, winning 1 of 1 comparable metric.
Key Takeaway

MSFT leads in 3 of 6 categories (Income & Cash Flow, Profitability & Efficiency). AN leads in 1 (Valuation Metrics). 1 tied.

Best OverallMicrosoft Corporation (MSFT)Leads 3 of 6 categories
Loading custom metrics...

KMX vs AMZN vs MSFT vs AN: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is KMX or AMZN or MSFT or AN a better buy right now?

For growth investors, Microsoft Corporation (MSFT) is the stronger pick with 14.

9% revenue growth year-over-year, versus -0. 0% for CarMax, Inc. (KMX). AutoNation, Inc. (AN) offers the better valuation at 12. 0x trailing P/E (9. 7x forward), making it the more compelling value choice. Analysts rate Amazon. com, Inc. (AMZN) a "Buy" — based on 94 analyst ratings — the highest consensus in this comparison. The "better buy" depends entirely on your goals: growth investors should weight revenue trajectory, value investors should weight P/E and PEG, and income investors should weight dividend yield and streak.

02

Which has the better valuation — KMX or AMZN or MSFT or AN?

On trailing P/E, AutoNation, Inc.

(AN) is the cheapest at 12. 0x versus Amazon. com, Inc. at 37. 8x. On forward P/E, AutoNation, Inc. is actually cheaper at 9. 7x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: AutoNation, Inc. wins at 0. 31x versus Microsoft Corporation's 1. 35x — a PEG below 1. 0 traditionally signals the market is underpricing earnings growth.

03

Which is the better long-term investment — KMX or AMZN or MSFT or AN?

Over the past 5 years, AutoNation, Inc.

(AN) delivered a total return of +94. 1%, compared to -69. 3% for CarMax, Inc. (KMX). Over 10 years, the gap is even starker: MSFT returned +787. 7% versus KMX's -22. 1%. Past returns do not guarantee future results, and the stock with the higher historical return may already have its best growth priced in.

04

Which is safer — KMX or AMZN or MSFT or AN?

By beta (market sensitivity over 5 years), AutoNation, Inc.

(AN) is the lower-risk stock at 0. 85β versus Amazon. com, Inc. 's 1. 51β — meaning AMZN is approximately 78% more volatile than AN relative to the S&P 500. On balance sheet safety, Microsoft Corporation (MSFT) carries a lower debt/equity ratio of 33% versus 4% for AutoNation, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — KMX or AMZN or MSFT or AN?

By revenue growth (latest reported year), Microsoft Corporation (MSFT) is pulling ahead at 14.

9% versus -0. 0% for CarMax, Inc. (KMX). On earnings-per-share growth, the picture is similar: Amazon. com, Inc. grew EPS 29. 7% year-over-year, compared to 0. 7% for AutoNation, Inc.. Over a 3-year CAGR, MSFT leads at 12. 4% annualised revenue growth. Higher growth typically commands a higher valuation multiple — check whether the premium P/E or P/S is justified by the growth rate using the PEG ratio.

06

Which has better profit margins — KMX or AMZN or MSFT or AN?

Microsoft Corporation (MSFT) is the more profitable company, earning 36.

1% net margin versus 1. 8% for CarMax, Inc. — meaning it keeps 36. 1% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: MSFT leads at 45. 6% versus 2. 8% for KMX. At the gross margin level — before operating expenses — MSFT leads at 68. 8%, reflecting greater pricing power or product mix advantage. Stronger margins indicate durable pricing power, lower cost of revenue, or higher mix of software/services. They are one of the clearest signs of business quality.

07

Is KMX or AMZN or MSFT or AN more undervalued right now?

The PEG ratio (forward P/E divided by expected earnings growth rate) is the most precise measure of undervaluation relative to growth potential.

By this metric, AutoNation, Inc. (AN) is the more undervalued stock at a PEG of 0. 31x versus Microsoft Corporation's 1. 35x. A PEG below 1. 0 is traditionally considered the threshold for growth-adjusted undervaluation. On forward earnings alone, AutoNation, Inc. (AN) trades at 9. 7x forward P/E versus 34. 8x for Amazon. com, Inc. — 25. 1x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for MSFT: 31. 1% to $551. 75.

08

Which pays a better dividend — KMX or AMZN or MSFT or AN?

In this comparison, MSFT (0.

8% yield) pays a dividend. KMX, AMZN, AN do not pay a meaningful dividend and should not be held primarily for income.

09

Is KMX or AMZN or MSFT or AN better for a retirement portfolio?

For long-horizon retirement investors, Microsoft Corporation (MSFT) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (low volatility (β 0.

89), 0. 8% yield, +787. 7% 10Y return). Both have compounded well over 10 years (MSFT: +787. 7%, KMX: -22. 1%), confirming both are viable long-term holds — but the lower-volatility option typically results in less emotional selling during corrections. Retirement portfolios generally favour predictability over maximum returns. Consult a financial advisor before making allocation decisions.

10

What are the main differences between KMX and AMZN and MSFT and AN?

These companies operate in different sectors (KMX (Consumer Cyclical) and AMZN (Consumer Cyclical) and MSFT (Technology) and AN (Consumer Cyclical)), which means they face different economic cycles, regulatory environments, and macro sensitivities — making direct comparison nuanced.

In terms of investment character: KMX is a small-cap deep-value stock; AMZN is a mega-cap quality compounder stock; MSFT is a mega-cap quality compounder stock; AN is a small-cap deep-value stock. MSFT pays a dividend while KMX, AMZN, AN do not, making them suitable for different income and tax situations. These fundamental differences mean investors should not choose between them on a single metric — the "better stock" depends entirely on which of these characteristics aligns with your investment strategy.

Find Stocks Like These

Explore pre-built screens for each stock's profile, or build a custom screen to find stocks that outperform all of them.

Stocks Like

KMX

Quality Business

  • Sector: Consumer Cyclical
  • Market Cap > $100B
Run This Screen
Stocks Like

AMZN

High-Growth Compounder

  • Sector: Consumer Cyclical
  • Market Cap > $100B
  • Revenue Growth > 8%
  • Net Margin > 7%
Run This Screen
Stocks Like

MSFT

High-Growth Quality Leader

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 9%
  • Net Margin > 23%
Run This Screen
Stocks Like

AN

Quality Business

  • Sector: Consumer Cyclical
  • Market Cap > $100B
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform KMX and AMZN and MSFT and AN on the metrics below

Revenue Growth>
%
(KMX: -13.4% · AMZN: 16.6%)
P/E Ratio<
x
(KMX: 12.4x · AMZN: 37.8x)

You Might Also Compare

Based on how these companies actually compete and overlap — not just which sector they're filed under.