Comprehensive Stock Comparison

Compare Samsara Inc. (IOT) vs Oracle Corporation (ORCL) Stock

Analyze side-by-side fundamentals, valuation, growth, and profitability to decide which stock is the better buy.

Tickers 2 / 10100+ Metrics

Selected Stocks

Add up to 10 tickers. Use presets or search to get started.

2 / 10
Try these comparisons:

Quick Verdict

CategoryWinnerWhy
GrowthIOT33.3% revenue growth vs ORCL's 8.4%
ValueORCLLower P/E (19.7x vs 57.0x)
Quality / MarginsORCL25.3% net margin vs IOT's -2.8%
Stability / SafetyORCLBeta 1.40 vs IOT's 1.49
DividendsORCL1.1% yield; 18-year raise streak; IOT pays no meaningful dividend
Momentum (1Y)ORCL-11.2% vs IOT's -39.4%
Efficiency (ROA)ORCL7.5% ROA vs IOT's -1.8%, ROIC 12.8% vs -15.8%
Bottom line: ORCL leads in 6 of 7 categories, making it the stronger pick for investors who prioritize valuation and capital efficiency and profitability and margin quality. Samsara Inc. is the better choice for growth and revenue expansion. As direct sector peers, they can serve as alternatives in the same portfolio allocation.

Who Each Stock Is For

Income & stability

Growth exposure

Long-term compounding (10Y)

Sleep-well-at-night portfolio

Defensive / Recession hedge

Business Model

What each company does and how it makes money

IOTSamsara Inc.
Technology

Samsara is a technology company that provides an IoT platform connecting physical operations data to its Connected Operations Cloud. It generates revenue primarily through subscription fees for its cloud platform — which includes video-based safety, vehicle telematics, equipment monitoring, and site visibility applications — with over 90% of revenue coming from subscriptions. The company's competitive advantage lies in its integrated hardware-software ecosystem that creates high switching costs and network effects as customers deploy more devices across their operations.

ORCLOracle Corporation
Technology

Oracle is a global enterprise software and cloud computing company that provides database management systems, enterprise applications, and cloud infrastructure services. It generates revenue primarily through cloud services and license support (~70% of total revenue) and cloud license and on-premise license sales (~20%), with hardware and services making up the remainder. The company's key moat is its entrenched position in enterprise database software—particularly with its flagship Oracle Database—which creates significant switching costs and lock-in for large corporate customers.

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
ORCLOracle Corporation
FY 2025
Cloud And License Business
85.8%$49.2B
Services Business
9.1%$5.2B
Hardware Business
5.1%$2.9B

Financial Metrics Comparison

Side-by-side fundamentals across 2 stocks. BestLagging

Financial Scorecard

IOT 1ORCL 0
Financial MetricsTie3/6 metrics
Valuation MetricsIOT3/4 metrics
Profitability & EfficiencyTie4/8 metrics
Total ReturnsTie3/6 metrics
Risk & VolatilityTie1/2 metrics
Analyst Outlook0/0 metrics

IOT leads in 1 of 6 categories — strongest in Valuation Metrics. 4 categories are tied.

Financial Metrics (TTM)

ORCL is the larger business by revenue, generating $61.0B annually — 40.1x IOT's $1.5B. ORCL is the more profitable business, keeping 25.3% of every revenue dollar as net income compared to IOT's -2.8%. On growth, IOT holds the edge at +29.2% YoY revenue growth, suggesting stronger near-term business momentum.

MetricIOTSamsara Inc.ORCLOracle Corporation
RevenueTrailing 12 months$1.5B$61.0B
EBITDAEarnings before interest/tax-$37M$22.6B
Net IncomeAfter-tax profit-$42M$15.4B
Free Cash FlowCash after capex$194M-$13.2B
Gross MarginGross profit ÷ Revenue+76.9%+70.7%
Operating MarginEBIT ÷ Revenue-5.2%+30.3%
Net MarginNet income ÷ Revenue-2.8%+25.3%
FCF MarginFCF ÷ Revenue+12.8%-21.6%
Rev. Growth (YoY)Latest quarter vs prior year+29.2%+14.2%
EPS Growth (YoY)Latest quarter vs prior year-90.3%+90.9%
Evenly matched — IOT and ORCL each lead in 3 of 6 comparable metrics.

Valuation Metrics

MetricIOTSamsara Inc.ORCLOracle Corporation
Market CapShares × price$7.8B$408.1B
Enterprise ValueMkt cap + debt − cash$7.7B$501.5B
Trailing P/EPrice ÷ TTM EPS-103.21x33.50x
Forward P/EPrice ÷ next-FY EPS est.57.00x19.71x
PEG RatioP/E ÷ EPS growth rate4.72x
EV / EBITDAEnterprise value multiple21.02x
Price / SalesMarket cap ÷ Revenue6.24x7.11x
Price / BookPrice ÷ Book value/share15.04x19.87x
Price / FCFMarket cap ÷ FCF69.96x
IOT leads this category, winning 3 of 4 comparable metrics.

Profitability & Efficiency

ORCL delivers a 50.6% return on equity — every $100 of shareholder capital generates $51 in annual profit, vs $-3 for IOT. IOT carries lower financial leverage with a 0.08x 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.

MetricIOTSamsara Inc.ORCLOracle Corporation
ROE (TTM)Return on equity-3.2%+50.6%
ROA (TTM)Return on assets-1.8%+7.5%
ROICReturn on invested capital-15.8%+12.8%
ROCEReturn on capital employed-15.8%+14.4%
Piotroski ScoreFundamental quality 0–976
Debt / EquityFinancial leverage0.08x4.96x
Net DebtTotal debt minus cash-$147M$93.3B
Cash & Equiv.Liquid assets$228M$10.8B
Total DebtShort + long-term debt$80M$104.1B
Interest CoverageEBIT ÷ Interest expense3.24x
Evenly matched — IOT and ORCL each lead in 4 of 8 comparable metrics.

Total Returns (with DRIP)

A $10,000 investment in ORCL five years ago would be worth $23,146 today (with dividends reinvested), compared to $11,700 for IOT. Over the past 12 months, ORCL leads with a -11.2% total return vs IOT's -39.4%. The 3-year compound annual growth rate (CAGR) favors IOT at 20.2% vs ORCL's 19.9% — a key indicator of consistent wealth creation.

MetricIOTSamsara Inc.ORCLOracle Corporation
YTD ReturnYear-to-date-14.8%-25.5%
1-Year ReturnPast 12 months-39.4%-11.2%
3-Year ReturnCumulative with dividends+73.5%+72.3%
5-Year ReturnCumulative with dividends+17.0%+131.5%
10-Year ReturnCumulative with dividends+17.0%+327.4%
CAGR (3Y)Annualised 3-year return+20.2%+19.9%
Evenly matched — IOT and ORCL each lead in 3 of 6 comparable metrics.

Risk & Volatility

ORCL is the less volatile stock with a 1.40 beta — it tends to amplify market swings less than IOT's 1.49 beta. A beta below 1.0 means the stock typically moves less than the S&P 500. IOT currently trades 59.4% from its 52-week high vs ORCL's 42.1% drawdown — a narrower gap to the peak suggests stronger recent price momentum.

MetricIOTSamsara Inc.ORCLOracle Corporation
Beta (5Y)Sensitivity to S&P 5001.49x1.40x
52-Week HighHighest price in past year$48.66$345.72
52-Week LowLowest price in past year$23.38$118.86
% of 52W HighCurrent price vs 52-week peak+59.4%+42.1%
RSI (14)Momentum oscillator 0–10052.141.2
Avg Volume (50D)Average daily shares traded6.4M20.9M
Evenly matched — IOT and ORCL each lead in 1 of 2 comparable metrics.

Analyst Outlook

Wall Street rates IOT as "Buy" and ORCL as "Buy". Consensus price targets imply 103.5% upside for ORCL (target: $296) vs 57.2% for IOT (target: $45). ORCL is the only dividend payer here at 1.14% yield — a key consideration for income-focused portfolios.

MetricIOTSamsara Inc.ORCLOracle Corporation
Analyst RatingConsensus buy/hold/sellBuyBuy
Price TargetConsensus 12-month target$45.42$295.85
# AnalystsCovering analysts1786
Dividend YieldAnnual dividend ÷ price+1.1%
Dividend StreakConsecutive years of raises18
Dividend / ShareAnnual DPS$1.65
Buyback YieldShare repurchases ÷ mkt cap0.0%+0.4%
Insufficient data to determine a leader in this category.

Historical Charts

Charts are rendered on first load. Hover for details.

Chart 1Total Return — 5 Years (Rebased to 100)

StockDec 21Feb 26Change
Samsara Inc. (IOT)100106.92+6.9%
Oracle Corporation (ORCL)100182.09+82.1%

Oracle Corporation (ORCL) returned +131% over 5 years vs Samsara Inc. (IOT)'s +17%. A $10,000 investment in ORCL 5 years ago would be worth $23,146 today (including dividends reinvested).

Chart 2Revenue Growth — 10 Years

Stock20162025Change
Samsara Inc. (IOT)$120M$1.2B+942.2%
Oracle Corporation (ORCL)$37.0B$57.4B+54.9%

Oracle Corporation's revenue grew from $37.0B (2016) to $57.4B (2025) — a 5.0% CAGR.

Chart 3Net Margin Trend — 10 Years

Stock20162025Change
Samsara Inc. (IOT)-187.9%-12.4%+93.4%
Oracle Corporation (ORCL)24.0%21.7%-9.8%

Oracle Corporation's net margin went from 24% (2016) to 22% (2025).

Chart 4P/E Ratio History — 9 Years

Stock20172025Change
Oracle Corporation (ORCL)21.444.9+109.8%

Oracle Corporation has traded in a 18x–53x P/E range over 9 years; current trailing P/E is ~34x.

Chart 5EPS Growth — 10 Years

Stock20162025Change
Samsara Inc. (IOT)-0.45-0.28+37.8%
Oracle Corporation (ORCL)2.074.34+109.7%

Oracle Corporation's EPS grew from $2.07 (2016) to $4.34 (2025) — a 9% CAGR.

Chart 6Free Cash Flow — 5 Years

2021
$-204M
$14B
2022
$-191M
$5B
2023
$-136M
$8B
2024
$-23M
$12B
2025
$111M
$-394M
Samsara Inc. (IOT)Oracle Corporation (ORCL)

Samsara Inc. generated $111M FCF in 2025 (+155% vs 2021). Oracle Corporation generated $-394M FCF in 2025 (-103% vs 2021).

Loading custom metrics...

IOT vs ORCL: Frequently Asked Questions

9 questions · data-driven answers · updated daily

01

Is IOT or ORCL a better buy right now?

Oracle Corporation (ORCL) offers the better valuation at 33.5x trailing P/E (19.7x forward), making it the more compelling value choice. Analysts rate Samsara Inc. (IOT) a "Buy" — based on 17 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 ORCL?

On forward P/E, Oracle Corporation is actually cheaper at 19.7x.

03

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

Over the past 5 years, Oracle Corporation (ORCL) delivered a total return of +131.5%, compared to +17.0% for Samsara Inc. (IOT). A $10,000 investment in ORCL five years ago would be worth approximately $23K today (assuming dividends reinvested). Over 10 years, the gap is even starker: ORCL returned +327.4% versus IOT's +17.0%. 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 ORCL?

By beta (market sensitivity over 5 years), Oracle Corporation (ORCL) is the lower-risk stock at 1.40β versus Samsara Inc.'s 1.49β — meaning IOT is approximately 7% more volatile than ORCL relative to the S&P 500. On balance sheet safety, Samsara Inc. (IOT) carries a lower debt/equity ratio of 8% versus 5% for Oracle Corporation — giving it more financial flexibility in a downturn.

05

Which has better profit margins — IOT or ORCL?

Oracle Corporation (ORCL) is the more profitable company, earning 21.7% net margin versus -12.4% for Samsara Inc. — meaning it keeps 21.7% of every revenue dollar as bottom-line profit. Operating margin tells a similar story: ORCL leads at 30.8% versus -15.2% for IOT. At the gross margin level — before operating expenses — IOT leads at 76.1%, 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.

06

Is IOT or ORCL more undervalued right now?

On forward earnings alone, Oracle Corporation (ORCL) trades at 19.7x forward P/E versus 57.0x for Samsara Inc. — 37.3x cheaper on a one-year earnings basis. Analyst consensus price targets imply the most upside for ORCL: 103.5% to $295.85.

07

Which pays a better dividend — IOT or ORCL?

In this comparison, ORCL (1.1% yield) pays a dividend. IOT does not pay a meaningful dividend and should not be held primarily for income.

08

Is IOT or ORCL better for a retirement portfolio?

For long-horizon retirement investors, Oracle Corporation (ORCL) is the stronger choice — it scores higher on the combination of lower volatility, dividend reliability, and long-term compounding (1.1% yield, +327.4% 10Y return). Both have compounded well over 10 years (ORCL: +327.4%, IOT: +17.0%), 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.

09

What are the main differences between IOT and ORCL?

Both stocks operate in the Technology sector, making this a peer-level intra-sector comparison — the same macro tailwinds and headwinds will affect both. ORCL pays a dividend while IOT does 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 beat both.

Stocks Like

IOT

High-Growth Disruptor

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

ORCL

Quality Mega-Cap Compounder

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

Better Than Both

Find stocks that beat IOT and ORCL on the metrics you choose

Revenue Growth>
%
(IOT: 29.2% · ORCL: 14.2%)