Compare Stocks

4 / 10
Try these comparisons:

Stock Comparison

IOT vs MSFT vs AMZN vs ORCL

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

Live fundamentals10-year financials5-year price chart
IOT
Samsara Inc.

Software - Infrastructure

TechnologyNYSE • US
Market Cap$8.13B
5Y Perf.+7.1%
MSFT
Microsoft Corporation

Software - Infrastructure

TechnologyNASDAQ • US
Market Cap$3.13T
5Y Perf.+25.2%
AMZN
Amazon.com, Inc.

Specialty Retail

Consumer CyclicalNASDAQ • US
Market Cap$2.92T
5Y Perf.+62.6%
ORCL
Oracle Corporation

Software - Infrastructure

TechnologyNYSE • US
Market Cap$559.27B
5Y Perf.+123.1%

IOT vs MSFT vs AMZN vs ORCL — Key Financials

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

Company Snapshot
IOT logoIOT
MSFT logoMSFT
AMZN logoAMZN
ORCL logoORCL
IndustrySoftware - InfrastructureSoftware - InfrastructureSpecialty RetailSoftware - Infrastructure
Market Cap$8.13B$3.13T$2.92T$559.27B
Revenue (TTM)$1.62B$318.27B$742.78B$64.08B
Net Income (TTM)$-9M$125.22B$90.80B$16.21B
Gross Margin76.7%68.3%50.6%66.4%
Operating Margin-3.2%46.8%11.5%30.8%
Forward P/E59.3x25.3x34.8x26.0x
Total Debt$73M$112.18B$152.99B$104.10B
Cash & Equiv.$319M$30.24B$86.81B$10.79B

IOT vs MSFT vs AMZN vs ORCLLong-Term Stock Performance

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

IOT
MSFT
AMZN
ORCL
StockDec 21May 26Return
Samsara Inc. (IOT)100107.1+7.1%
Microsoft Corporati… (MSFT)100125.2+25.2%
Amazon.com, Inc. (AMZN)100162.6+62.6%
Oracle Corporation (ORCL)100223.1+123.1%

Price return only. Dividends and distributions are not included.

Quick Verdict: IOT vs MSFT vs AMZN vs ORCL

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 valuation and capital efficiency and profitability and margin quality. Samsara Inc. is the stronger pick specifically for growth and revenue expansion. AMZN and ORCL also each lead in at least one category. This set spans 2 sectors — these stocks serve different portfolio roles, not just different price points.
IOT
Samsara Inc.
The Growth Play

IOT is the #2 pick in this set and the best alternative if growth exposure and sleep-well-at-night is your priority.

  • Rev growth 29.6%, EPS growth 92.9%, 3Y rev CAGR 35.4%
  • Lower volatility, beta 1.46, Low D/E 5.1%, current ratio 1.64x
  • 29.6% revenue growth vs ORCL's 8.4%
Best for: growth exposure and sleep-well-at-night
MSFT
Microsoft Corporation
The Income Pick

MSFT carries the broadest edge in this set and is the clearest fit for income & stability and long-term compounding.

  • Dividend streak 19 yrs, beta 0.89, yield 0.8%
  • 7.9% 10Y total return vs ORCL's 425.1%
  • Beta 0.89, yield 0.8%, current ratio 1.35x
  • Lower P/E (25.3x vs 26.0x), PEG 1.35 vs 3.66
Best for: income & stability and long-term compounding
AMZN
Amazon.com, Inc.
The Value Pick

AMZN is the clearest fit if your priority is valuation efficiency.

  • PEG 1.24 vs ORCL's 3.66
  • +43.7% vs IOT's -28.2%
Best for: valuation efficiency
ORCL
Oracle Corporation
The Income Pick

ORCL is the clearest fit if your priority is dividends.

  • 0.9% yield, 18-year raise streak, vs MSFT's 0.8%, (2 stocks pay no dividend)
Best for: dividends
See the full category breakdown
CategoryWinnerWhy
GrowthIOT logoIOT29.6% revenue growth vs ORCL's 8.4%
ValueMSFT logoMSFTLower P/E (25.3x vs 26.0x), PEG 1.35 vs 3.66
Quality / MarginsMSFT logoMSFT39.3% margin vs IOT's -0.6%
Stability / SafetyMSFT logoMSFTBeta 0.89 vs ORCL's 1.59, lower leverage
DividendsORCL logoORCL0.9% yield, 18-year raise streak, vs MSFT's 0.8%, (2 stocks pay no dividend)
Momentum (1Y)AMZN logoAMZN+43.7% vs IOT's -28.2%
Efficiency (ROA)MSFT logoMSFT19.2% ROA vs IOT's -0.4%, ROIC 24.9% vs -3.8%

IOT vs MSFT vs AMZN vs ORCL — Revenue Breakdown by Segment

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

IOTSamsara Inc.
FY 2025
Subscription and Circulation
98.1%$1.2B
Product and Service, Other
1.9%$23M
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
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
ORCLOracle Corporation
FY 2025
Cloud And License Business
85.8%$49.2B
Services Business
9.1%$5.2B
Hardware Business
5.1%$2.9B

IOT vs MSFT vs AMZN vs ORCL — Financial Metrics

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

BEST OVERALLAMZNLAGGINGORCL

Income & Cash Flow (Last 12 Months)

Evenly matched — IOT and MSFT each lead in 3 of 6 comparable metrics.

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

MetricIOT logoIOTSamsara Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.ORCL logoORCLOracle Corporation
RevenueTrailing 12 months$1.6B$318.3B$742.8B$64.1B
EBITDAEarnings before interest/tax-$47M$192.6B$155.9B$26.5B
Net IncomeAfter-tax profit-$9M$125.2B$90.8B$16.2B
Free Cash FlowCash after capex$207M$72.9B-$2.5B-$24.7B
Gross MarginGross profit ÷ Revenue+76.7%+68.3%+50.6%+66.4%
Operating MarginEBIT ÷ Revenue-3.2%+46.8%+11.5%+30.8%
Net MarginNet income ÷ Revenue-0.6%+39.3%+12.2%+25.3%
FCF MarginFCF ÷ Revenue+12.8%+22.9%-0.3%-38.6%
Rev. Growth (YoY)Latest quarter vs prior year+28.3%+18.3%+16.6%+21.7%
EPS Growth (YoY)Latest quarter vs prior year+2.8%+23.4%+74.8%+24.5%
Evenly matched — IOT and MSFT each lead in 3 of 6 comparable metrics.

Valuation Metrics

AMZN leads this category, winning 3 of 7 comparable metrics.

At 30.9x trailing earnings, MSFT trades at a 31% valuation discount to ORCL's 44.8x P/E. Adjusting for growth (PEG ratio), AMZN offers better value at 1.35x vs ORCL's 6.31x — a lower PEG means you pay less per unit of expected earnings growth.

MetricIOT logoIOTSamsara Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.ORCL logoORCLOracle Corporation
Market CapShares × price$8.1B$3.13T$2.92T$559.3B
Enterprise ValueMkt cap + debt − cash$7.9B$3.21T$2.98T$652.6B
Trailing P/EPrice ÷ TTM EPS-1505.50x30.86x37.82x44.82x
Forward P/EPrice ÷ next-FY EPS est.59.34x25.34x34.77x25.99x
PEG RatioP/E ÷ EPS growth rate1.64x1.35x6.31x
EV / EBITDAEnterprise value multiple19.72x20.47x27.36x
Price / SalesMarket cap ÷ Revenue5.02x11.10x4.07x9.74x
Price / BookPrice ÷ Book value/share12.16x9.15x7.14x26.59x
Price / FCFMarket cap ÷ FCF39.17x43.66x378.98x
AMZN leads this category, winning 3 of 7 comparable metrics.

Profitability & Efficiency

Evenly matched — IOT and MSFT each lead in 4 of 9 comparable metrics.

ORCL delivers a 56.3% return on equity — every $100 of shareholder capital generates $56 in annual profit, vs $-1 for IOT. IOT carries lower financial leverage with a 0.05x debt-to-equity ratio, signaling a more conservative balance sheet compared to ORCL's 4.96x. On the Piotroski fundamental quality scale (0–9), IOT scores 7/9 vs ORCL's 6/9, reflecting strong financial health.

MetricIOT logoIOTSamsara Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.ORCL logoORCLOracle Corporation
ROE (TTM)Return on equity-0.7%+33.1%+23.3%+56.3%
ROA (TTM)Return on assets-0.4%+19.2%+11.5%+8.1%
ROICReturn on invested capital-3.8%+24.9%+14.7%+12.8%
ROCEReturn on capital employed-3.6%+29.7%+15.3%+14.4%
Piotroski ScoreFundamental quality 0–97666
Debt / EquityFinancial leverage0.05x0.33x0.37x4.96x
Net DebtTotal debt minus cash-$246M$81.9B$66.2B$93.3B
Cash & Equiv.Liquid assets$319M$30.2B$86.8B$10.8B
Total DebtShort + long-term debt$73M$112.2B$153.0B$104.1B
Interest CoverageEBIT ÷ Interest expense55.65x39.96x5.44x
Evenly matched — IOT and MSFT each lead in 4 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in ORCL five years ago would be worth $25,183 today (with dividends reinvested), compared to $12,190 for IOT. Over the past 12 months, AMZN leads with a +43.7% total return vs IOT's -28.2%. The 3-year compound annual growth rate (CAGR) favors AMZN at 36.8% vs MSFT's 11.7% — a key indicator of consistent wealth creation.

MetricIOT logoIOTSamsara Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.ORCL logoORCLOracle Corporation
YTD ReturnYear-to-date-11.2%-10.8%+19.7%-0.1%
1-Year ReturnPast 12 months-28.2%-2.1%+43.7%+31.6%
3-Year ReturnCumulative with dividends+59.0%+39.5%+156.2%+106.5%
5-Year ReturnCumulative with dividends+21.9%+72.5%+64.8%+151.8%
10-Year ReturnCumulative with dividends+21.9%+787.7%+697.8%+425.1%
CAGR (3Y)Annualised 3-year return+16.7%+11.7%+36.8%+27.3%
AMZN leads this category, winning 4 of 6 comparable metrics.

Risk & Volatility

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

MSFT is the less volatile stock with a 0.89 beta — it tends to amplify market swings less than ORCL's 1.59 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 ORCL's 56.3% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricIOT logoIOTSamsara Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.ORCL logoORCLOracle Corporation
Beta (5Y)Sensitivity to S&P 5001.46x0.89x1.51x1.59x
52-Week HighHighest price in past year$48.41$555.45$278.56$345.72
52-Week LowLowest price in past year$23.38$356.28$185.01$134.57
% of 52W HighCurrent price vs 52-week peak+62.2%+75.8%+97.3%+56.3%
RSI (14)Momentum oscillator 0–10045.254.081.168.5
Avg Volume (50D)Average daily shares traded6.9M32.5M45.5M26.3M
Evenly matched — MSFT and AMZN each lead in 1 of 2 comparable metrics.

Analyst Outlook

Evenly matched — MSFT and ORCL each lead in 1 of 2 comparable metrics.

Analyst consensus: IOT as "Buy", MSFT as "Buy", AMZN as "Buy", ORCL as "Buy". Consensus price targets imply 52.2% upside for IOT (target: $46) vs 13.1% for AMZN (target: $307). For income investors, ORCL offers the higher dividend yield at 0.85% vs MSFT's 0.77%.

MetricIOT logoIOTSamsara Inc.MSFT logoMSFTMicrosoft Corpora…AMZN logoAMZNAmazon.com, Inc.ORCL logoORCLOracle Corporation
Analyst RatingConsensus buy/hold/sellBuyBuyBuyBuy
Price TargetConsensus 12-month target$45.82$551.75$306.77$257.19
# AnalystsCovering analysts18819486
Dividend YieldAnnual dividend ÷ price+0.8%+0.9%
Dividend StreakConsecutive years of raises1918
Dividend / ShareAnnual DPS$3.23$1.65
Buyback YieldShare repurchases ÷ mkt cap0.0%+0.6%0.0%+0.3%
Evenly matched — MSFT and ORCL each lead in 1 of 2 comparable metrics.
Key Takeaway

AMZN leads in 2 of 6 categories — strongest in Valuation Metrics and Total Returns. 4 categories are tied.

Best OverallAmazon.com, Inc. (AMZN)Leads 2 of 6 categories
Loading custom metrics...

IOT vs MSFT vs AMZN vs ORCL: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is IOT or MSFT or AMZN or ORCL a better buy right now?

For growth investors, Samsara Inc.

(IOT) is the stronger pick with 29. 6% revenue growth year-over-year, versus 8. 4% for Oracle Corporation (ORCL). Microsoft Corporation (MSFT) offers the better valuation at 30. 9x trailing P/E (25. 3x forward), making it the more compelling value choice. Analysts rate Samsara Inc. (IOT) a "Buy" — based on 18 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 — IOT or MSFT or AMZN or ORCL?

On trailing P/E, Microsoft Corporation (MSFT) is the cheapest at 30.

9x versus Oracle Corporation at 44. 8x. On forward P/E, Microsoft Corporation is actually cheaper at 25. 3x. The PEG ratio (P/E divided by earnings growth rate) is the most growth-adjusted single valuation metric: Amazon. com, Inc. wins at 1. 24x versus Oracle Corporation's 3. 66x — a reasonable growth-adjusted valuation.

03

Which is the better long-term investment — IOT or MSFT or AMZN or ORCL?

Over the past 5 years, Oracle Corporation (ORCL) delivered a total return of +151.

8%, compared to +21. 9% for Samsara Inc. (IOT). Over 10 years, the gap is even starker: MSFT returned +787. 7% versus IOT's +21. 9%. 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 — IOT or MSFT or AMZN or ORCL?

By beta (market sensitivity over 5 years), Microsoft Corporation (MSFT) is the lower-risk stock at 0.

89β versus Oracle Corporation's 1. 59β — meaning ORCL is approximately 79% more volatile than MSFT relative to the S&P 500. On balance sheet safety, Samsara Inc. (IOT) carries a lower debt/equity ratio of 5% versus 5% for Oracle Corporation — giving it more financial flexibility in a downturn.

05

Which is growing faster — IOT or MSFT or AMZN or ORCL?

By revenue growth (latest reported year), Samsara Inc.

(IOT) is pulling ahead at 29. 6% versus 8. 4% for Oracle Corporation (ORCL). On earnings-per-share growth, the picture is similar: Samsara Inc. grew EPS 92. 9% year-over-year, compared to 15. 6% for Microsoft Corporation. Over a 3-year CAGR, IOT leads at 35. 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 — IOT or MSFT or AMZN or ORCL?

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

1% net margin versus -0. 6% for Samsara 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 -3. 2% for IOT. At the gross margin level — before operating expenses — IOT leads at 76. 7%, 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 IOT or MSFT or AMZN or ORCL 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, Amazon. com, Inc. (AMZN) is the more undervalued stock at a PEG of 1. 24x versus Oracle Corporation's 3. 66x. A PEG below 1. 5 suggests fair-to-attractive pricing relative to expected growth. On forward earnings alone, Microsoft Corporation (MSFT) trades at 25. 3x forward P/E versus 59. 3x for Samsara Inc. — 34. 0x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for IOT: 52. 2% to $45. 82.

08

Which pays a better dividend — IOT or MSFT or AMZN or ORCL?

In this comparison, ORCL (0.

9% yield), MSFT (0. 8% yield) pay a dividend. IOT, AMZN do not pay a meaningful dividend and should not be held primarily for income.

09

Is IOT or MSFT or AMZN or ORCL 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%, IOT: +21. 9%), 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 IOT and MSFT and AMZN and ORCL?

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

In terms of investment character: IOT is a small-cap high-growth stock; MSFT is a mega-cap quality compounder stock; AMZN is a mega-cap quality compounder stock; ORCL is a large-cap quality compounder stock. MSFT, ORCL pay a dividend while IOT, AMZN 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

IOT

High-Growth Disruptor

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 14%
  • Gross Margin > 46%
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

AMZN

High-Growth Compounder

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

ORCL

High-Growth Quality Leader

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 10%
  • Net Margin > 15%
Run This Screen
Custom Screen

Beat Both

Find stocks that outperform IOT and MSFT and AMZN and ORCL on the metrics below

Revenue Growth>
%
(IOT: 28.3% · MSFT: 18.3%)

You Might Also Compare

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