MongoDB, Inc. (MDB) vs Ubiquiti Inc. (UI)

A side-by-side comparison of MongoDB, Inc. and Ubiquiti Inc. across valuation, profitability, dividends, and growth — built entirely from reported fundamentals, as of August 8, 2026. Differences are shown without an overall score or investment verdict.

Compare

Total returnMDB vs UI

growth of $100 · dividends reinvested · last 9y
MDB +1143.5%UI +890.9%MDB compounded faster
05001k2kStart $1002019202120232025$1,244$991
MDB UI

MDB vs UI: by the numbers

  • UI is the larger company ($34.27B vs $32.08B market cap).
  • UI is profitable (30.43% net margin) while MDB runs a net loss (-1.12%).
  • MDB grew revenue faster over the past five years (32.32% vs 12.27% CAGR).
  • UI pays a dividend (0.57% yield), while MDB has no payments in the available dividend history.

Metrics side by side

Valuation

MetricMDBUI
P/E ratioN/A36.39
Forward P/E82.8137.13
P/S ratio12.5011.08
P/B ratio11.0928.53
PEG ratioN/A0.34
EV / EBITDAN/A30.21
FCF yield1.84%2.19%

Profitability

MetricMDBUI
Gross margin71.97%46.02%
Operating margin-4.16%35.75%
Net margin-1.12%30.43%
ROE-0.99%78.37%
ROIC-4.42%72.62%

Dividends

MetricMDBUI
Dividend yieldN/A0.57%
Payout ratioN/A27.19%

Growth (annualized)

MetricMDBUI
Revenue CAGR (5Y)32.32%12.27%
EPS CAGR (5Y)N/A15.17%
FCF CAGR (5Y)N/A6.21%
Total return CAGR (5Y)1.32%13.53%

Frequently asked

Which has grown faster, MDB or UI?
Over the past five years, MDB grew revenue faster — MDB at a 32.32% CAGR versus UI at 12.27%.
Does MDB or UI pay a bigger dividend?
UI pays a dividend (0.57% yield), while MDB has no payments in the available dividend history.
Is MDB or UI more profitable?
UI runs the higher net margin — MDB at -1.12% versus UI at 30.43%.
How have MDB and UI total returns compared?
Over the past 5 years, MDB delivered 1.32% and UI delivered 28.49% annualized total return. Past performance doesn't predict future results.

Figures are sourced from reported fundamentals and the latest end-of-day price. This comparison is informational only and is not investment advice. Past performance does not predict future results. See our methodology. Compiled by TGMCharts Research · data verified August 8, 2026.