Compare Stocks

5 / 10
Try these comparisons:

Stock Comparison

IOT vs DDOG vs ESTC vs ZS vs MSFT

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%
DDOG
Datadog, Inc.

Software - Application

TechnologyNASDAQ • US
Market Cap$67.18B
5Y Perf.+6.0%
ESTC
Elastic N.V.

Software - Application

TechnologyNYSE • US
Market Cap$5.45B
5Y Perf.-58.1%
ZS
Zscaler, Inc.

Software - Infrastructure

TechnologyNASDAQ • US
Market Cap$24.53B
5Y Perf.-52.5%
MSFT
Microsoft Corporation

Software - Infrastructure

TechnologyNASDAQ • US
Market Cap$3.13T
5Y Perf.+25.2%

IOT vs DDOG vs ESTC vs ZS vs MSFT — Key Financials

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

Company Snapshot
IOT logoIOT
DDOG logoDDOG
ESTC logoESTC
ZS logoZS
MSFT logoMSFT
IndustrySoftware - InfrastructureSoftware - ApplicationSoftware - ApplicationSoftware - InfrastructureSoftware - Infrastructure
Market Cap$8.13B$67.18B$5.45B$24.53B$3.13T
Revenue (TTM)$1.62B$3.67B$1.68B$3.00B$318.27B
Net Income (TTM)$-9M$136M$-85M$-68M$125.22B
Gross Margin76.7%79.9%76.0%76.6%68.3%
Operating Margin-3.2%-0.7%-1.7%-4.8%46.8%
Forward P/E59.3x88.0x20.4x38.1x25.3x
Total Debt$73M$1.54B$595M$1.80B$112.18B
Cash & Equiv.$319M$401M$728M$2.39B$30.24B

IOT vs DDOG vs ESTC vs ZS vs MSFTLong-Term Stock Performance

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

IOT
DDOG
ESTC
ZS
MSFT
StockDec 21May 26Return
Samsara Inc. (IOT)100107.1+7.1%
Datadog, Inc. (DDOG)100106.0+6.0%
Elastic N.V. (ESTC)10041.9-58.1%
Zscaler, Inc. (ZS)10047.5-52.5%
Microsoft Corporati… (MSFT)100125.2+25.2%

Price return only. Dividends and distributions are not included.

Quick Verdict: IOT vs DDOG vs ESTC vs ZS vs MSFT

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 (5-stock set), making it the strongest pick for profitability and margin quality and capital preservation and lower volatility. Samsara Inc. is the stronger pick specifically for growth and revenue expansion. DDOG and ESTC also each lead in at least one category. As sector peers, any of these can serve as alternatives in the same allocation.
IOT
Samsara Inc.
The Growth Play

IOT is the #2 pick in this set and the best alternative if growth exposure is your priority.

  • Rev growth 29.6%, EPS growth 92.9%, 3Y rev CAGR 35.4%
  • 29.6% revenue growth vs MSFT's 14.9%
Best for: growth exposure
DDOG
Datadog, Inc.
The Momentum Pick

DDOG ranks third and is worth considering specifically for momentum.

  • +78.0% vs ESTC's -38.9%
Best for: momentum
ESTC
Elastic N.V.
The Value Play

ESTC is the clearest fit if your priority is value.

  • Lower P/E (20.4x vs 25.3x)
Best for: value
ZS
Zscaler, Inc.
The Defensive Pick

ZS is the clearest fit if your priority is defensive.

  • Beta 0.98, current ratio 2.01x
Best for: defensive
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 DDOG's 402.6%
  • Lower volatility, beta 0.89, Low D/E 32.7%, current ratio 1.35x
  • 39.3% margin vs ESTC's -5.0%
Best for: income & stability and long-term compounding
See the full category breakdown
CategoryWinnerWhy
GrowthIOT logoIOT29.6% revenue growth vs MSFT's 14.9%
ValueESTC logoESTCLower P/E (20.4x vs 25.3x)
Quality / MarginsMSFT logoMSFT39.3% margin vs ESTC's -5.0%
Stability / SafetyMSFT logoMSFTBeta 0.89 vs IOT's 1.46
DividendsMSFT logoMSFT0.8% yield; 19-year raise streak; the other 4 pay no meaningful dividend
Momentum (1Y)DDOG logoDDOG+78.0% vs ESTC's -38.9%
Efficiency (ROA)MSFT logoMSFT19.2% ROA vs ESTC's -3.5%, ROIC 24.9% vs -5.2%

IOT vs DDOG vs ESTC vs ZS vs MSFT — 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
DDOGDatadog, Inc.

Segment breakdown not available.

ESTCElastic N.V.
FY 2025
Subscription
93.3%$1.4B
Professional Services
6.7%$99M
ZSZscaler, Inc.
FY 2025
Reportable Segment
100.0%$2.7B
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

IOT vs DDOG vs ESTC vs ZS vs MSFT — Financial Metrics

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

BEST OVERALLDDOGLAGGINGZS

Income & Cash Flow (Last 12 Months)

Evenly matched — DDOG and MSFT each lead in 2 of 6 comparable metrics.

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

MetricIOT logoIOTSamsara Inc.DDOG logoDDOGDatadog, Inc.ESTC logoESTCElastic N.V.ZS logoZSZscaler, Inc.MSFT logoMSFTMicrosoft Corpora…
RevenueTrailing 12 months$1.6B$3.7B$1.7B$3.0B$318.3B
EBITDAEarnings before interest/tax-$47M$73M-$27M-$52M$192.6B
Net IncomeAfter-tax profit-$9M$136M-$85M-$68M$125.2B
Free Cash FlowCash after capex$207M$1.1B$257M$944M$72.9B
Gross MarginGross profit ÷ Revenue+76.7%+79.9%+76.0%+76.6%+68.3%
Operating MarginEBIT ÷ Revenue-3.2%-0.7%-1.7%-4.8%+46.8%
Net MarginNet income ÷ Revenue-0.6%+3.7%-5.0%-2.3%+39.3%
FCF MarginFCF ÷ Revenue+12.8%+29.4%+15.3%+31.4%+22.9%
Rev. Growth (YoY)Latest quarter vs prior year+28.3%+32.2%+17.7%+25.9%+18.3%
EPS Growth (YoY)Latest quarter vs prior year+2.8%+120.9%+143.8%-3.2%+23.4%
Evenly matched — DDOG and MSFT each lead in 2 of 6 comparable metrics.

Valuation Metrics

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

At 30.9x trailing earnings, MSFT trades at a 95% valuation discount to DDOG's 629.1x P/E. On an enterprise value basis, MSFT's 19.7x EV/EBITDA is more attractive than DDOG's 874.0x.

MetricIOT logoIOTSamsara Inc.DDOG logoDDOGDatadog, Inc.ESTC logoESTCElastic N.V.ZS logoZSZscaler, Inc.MSFT logoMSFTMicrosoft Corpora…
Market CapShares × price$8.1B$67.2B$5.4B$24.5B$3.13T
Enterprise ValueMkt cap + debt − cash$7.9B$68.3B$5.3B$23.9B$3.21T
Trailing P/EPrice ÷ TTM EPS-1505.50x629.10x-49.63x-565.89x30.86x
Forward P/EPrice ÷ next-FY EPS est.59.34x87.97x20.44x38.08x25.34x
PEG RatioP/E ÷ EPS growth rate1.64x
EV / EBITDAEnterprise value multiple874.03x19.72x
Price / SalesMarket cap ÷ Revenue5.02x19.60x3.67x9.18x11.10x
Price / BookPrice ÷ Book value/share12.16x18.38x5.77x13.11x9.15x
Price / FCFMarket cap ÷ FCF39.17x67.14x20.81x33.76x43.66x
ESTC leads this category, winning 4 of 6 comparable metrics.

Profitability & Efficiency

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

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

MetricIOT logoIOTSamsara Inc.DDOG logoDDOGDatadog, Inc.ESTC logoESTCElastic N.V.ZS logoZSZscaler, Inc.MSFT logoMSFTMicrosoft Corpora…
ROE (TTM)Return on equity-0.7%+3.8%-10.7%-3.1%+33.1%
ROA (TTM)Return on assets-0.4%+2.1%-3.5%-1.0%+19.2%
ROICReturn on invested capital-3.8%-0.8%-5.2%-8.4%+24.9%
ROCEReturn on capital employed-3.6%-1.0%-3.7%-4.6%+29.7%
Piotroski ScoreFundamental quality 0–976746
Debt / EquityFinancial leverage0.05x0.41x0.64x1.00x0.33x
Net DebtTotal debt minus cash-$246M$1.1B-$133M-$592M$81.9B
Cash & Equiv.Liquid assets$319M$401M$728M$2.4B$30.2B
Total DebtShort + long-term debt$73M$1.5B$595M$1.8B$112.2B
Interest CoverageEBIT ÷ Interest expense4.03x-2.17x8.97x55.65x
MSFT leads this category, winning 5 of 9 comparable metrics.

Total Returns (Dividends Reinvested)

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

A $10,000 investment in DDOG five years ago would be worth $24,418 today (with dividends reinvested), compared to $4,772 for ESTC. Over the past 12 months, DDOG leads with a +78.0% total return vs ESTC's -38.9%. The 3-year compound annual growth rate (CAGR) favors DDOG at 33.9% vs ESTC's -3.5% — a key indicator of consistent wealth creation.

MetricIOT logoIOTSamsara Inc.DDOG logoDDOGDatadog, Inc.ESTC logoESTCElastic N.V.ZS logoZSZscaler, Inc.MSFT logoMSFTMicrosoft Corpora…
YTD ReturnYear-to-date-11.2%+41.1%-28.9%-30.7%-10.8%
1-Year ReturnPast 12 months-28.2%+78.0%-38.9%-34.6%-2.1%
3-Year ReturnCumulative with dividends+59.0%+140.3%-10.2%+41.6%+39.5%
5-Year ReturnCumulative with dividends+21.9%+144.2%-52.3%-9.8%+72.5%
10-Year ReturnCumulative with dividends+21.9%+402.6%-26.3%+363.0%+787.7%
CAGR (3Y)Annualised 3-year return+16.7%+33.9%-3.5%+12.3%+11.7%
DDOG leads this category, winning 5 of 6 comparable metrics.

Risk & Volatility

Evenly matched — DDOG and MSFT 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 IOT's 1.46 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. DDOG currently trades 93.6% from its 52-week high vs ZS's 45.3% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricIOT logoIOTSamsara Inc.DDOG logoDDOGDatadog, Inc.ESTC logoESTCElastic N.V.ZS logoZSZscaler, Inc.MSFT logoMSFTMicrosoft Corpora…
Beta (5Y)Sensitivity to S&P 5001.46x1.40x1.08x0.98x0.89x
52-Week HighHighest price in past year$48.41$201.69$96.07$336.99$555.45
52-Week LowLowest price in past year$23.38$98.01$42.05$114.63$356.28
% of 52W HighCurrent price vs 52-week peak+62.2%+93.6%+53.7%+45.3%+75.8%
RSI (14)Momentum oscillator 0–10045.266.550.450.354.0
Avg Volume (50D)Average daily shares traded6.9M5.0M1.9M2.9M32.5M
Evenly matched — DDOG and MSFT each lead in 1 of 2 comparable metrics.

Analyst Outlook

Insufficient data to determine a leader in this category.

Analyst consensus: IOT as "Buy", DDOG as "Buy", ESTC as "Buy", ZS as "Buy", MSFT as "Buy". Consensus price targets imply 81.4% upside for ZS (target: $277) vs -7.5% for DDOG (target: $175). MSFT is the only dividend payer here at 0.77% yield — a key consideration for income-focused portfolios.

MetricIOT logoIOTSamsara Inc.DDOG logoDDOGDatadog, Inc.ESTC logoESTCElastic N.V.ZS logoZSZscaler, Inc.MSFT logoMSFTMicrosoft Corpora…
Analyst RatingConsensus buy/hold/sellBuyBuyBuyBuyBuy
Price TargetConsensus 12-month target$45.82$174.63$84.38$277.18$551.75
# AnalystsCovering analysts1847345281
Dividend YieldAnnual dividend ÷ price+0.8%
Dividend StreakConsecutive years of raises19
Dividend / ShareAnnual DPS$3.23
Buyback YieldShare repurchases ÷ mkt cap0.0%0.0%0.0%0.0%+0.6%
Insufficient data to determine a leader in this category.
Key Takeaway

ESTC leads in 1 of 6 categories (Valuation Metrics). MSFT leads in 1 (Profitability & Efficiency). 2 tied.

Best OverallDatadog, Inc. (DDOG)Leads 1 of 6 categories
Loading custom metrics...

IOT vs DDOG vs ESTC vs ZS vs MSFT: Key Questions Answered

10 questions · data-driven answers · updated daily

01

Is IOT or DDOG or ESTC or ZS or MSFT a better buy right now?

For growth investors, Samsara Inc.

(IOT) is the stronger pick with 29. 6% revenue growth year-over-year, versus 14. 9% for Microsoft Corporation (MSFT). 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 DDOG or ESTC or ZS or MSFT?

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

9x versus Datadog, Inc. at 629. 1x. On forward P/E, Elastic N. V. is actually cheaper at 20. 4x — notably different from the trailing picture, reflecting expected earnings growth.

03

Which is the better long-term investment — IOT or DDOG or ESTC or ZS or MSFT?

Over the past 5 years, Datadog, Inc.

(DDOG) delivered a total return of +144. 2%, compared to -52. 3% for Elastic N. V. (ESTC). Over 10 years, the gap is even starker: MSFT returned +787. 7% versus ESTC's -26. 3%. 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 DDOG or ESTC or ZS or MSFT?

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

89β versus Samsara Inc. 's 1. 46β — meaning IOT is approximately 64% 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 100% for Zscaler, Inc. — giving it more financial flexibility in a downturn.

05

Which is growing faster — IOT or DDOG or ESTC or ZS or MSFT?

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

(IOT) is pulling ahead at 29. 6% versus 14. 9% for Microsoft Corporation (MSFT). On earnings-per-share growth, the picture is similar: Samsara Inc. grew EPS 92. 9% year-over-year, compared to -276. 3% for Elastic N. V.. 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 DDOG or ESTC or ZS or MSFT?

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

1% net margin versus -7. 3% for Elastic N. V. — 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 -4. 8% for ZS. At the gross margin level — before operating expenses — DDOG leads at 80. 0%, 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 DDOG or ESTC or ZS or MSFT more undervalued right now?

On forward earnings alone, Elastic N.

V. (ESTC) trades at 20. 4x forward P/E versus 88. 0x for Datadog, Inc. — 67. 5x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for ZS: 81. 4% to $277. 18.

08

Which pays a better dividend — IOT or DDOG or ESTC or ZS or MSFT?

In this comparison, MSFT (0.

8% yield) pays a dividend. IOT, DDOG, ESTC, ZS do not pay a meaningful dividend and should not be held primarily for income.

09

Is IOT or DDOG or ESTC or ZS or MSFT 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 DDOG and ESTC and ZS and MSFT?

Both stocks operate in the Technology sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both.

In terms of investment character: IOT is a small-cap high-growth stock; DDOG is a mid-cap high-growth stock; ESTC is a small-cap high-growth stock; ZS is a mid-cap high-growth stock; MSFT is a mega-cap quality compounder stock. MSFT pays a dividend while IOT, DDOG, ESTC, ZS 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

DDOG

High-Growth Disruptor

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 16%
  • Gross Margin > 47%
Run This Screen
Stocks Like

ESTC

High-Growth Disruptor

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 8%
  • Gross Margin > 45%
Run This Screen
Stocks Like

ZS

High-Growth Disruptor

  • Sector: Technology
  • Market Cap > $100B
  • Revenue Growth > 12%
  • Gross Margin > 45%
Run This Screen
Stocks Like

MSFT

High-Growth Quality Leader

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

Beat Both

Find stocks that outperform IOT and DDOG and ESTC and ZS and MSFT on the metrics below

Revenue Growth>
%
(IOT: 28.3% · DDOG: 32.2%)

You Might Also Compare

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