HubSpot, Inc. (HUBS) vs MongoDB, Inc. (MDB)

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

Compare

Total return — HUBS vs MDB

growth of $100 · dividends reinvested · last 9y
HUBS +169.4% (+11.6%/yr)MDB +1029.4% (+30.9%/yr)MDB compounded faster over this window
05001k2kStart $1002019202120232025$269$1,129
HUBS MDB

HUBS vs MDB: by the numbers

  • •MDB is the larger company ($26.92B vs $10.41B market cap).
  • •HUBS trades at the lower trailing earnings multiple (71.79 vs 474.52 P/E), one valuation lens rather than an overall verdict.
  • •HUBS converts more revenue to profit (4.26% vs 2.12% net margin).
  • •MDB grew revenue faster over the past five years (31.71% vs 26.31% CAGR).

Metrics side by side

Valuation

MetricHUBSMDB
P/E ratio71.79474.52
P/S ratio3.029.67
P/B ratio6.289.03
EV / EBITDA33.841269.89
FCF yield7.37%2.48%

Profitability

MetricHUBSMDB
Gross margin83.25%72.69%
Operating margin3.83%-0.52%
Net margin4.26%2.12%
ROE8.86%1.98%
ROIC5.70%-0.36%

Growth (annualized)

MetricHUBSMDB
Revenue CAGR (5Y)26.31%31.71%
FCF CAGR (5Y)39.65%N/A
Total return CAGR (5Y)-19.59%-5.82%

Frequently asked

Which has the lower trailing P/E, HUBS or MDB?
HUBS has the lower trailing P/E: HUBS trades at 71.79 and MDB at 474.52. P/E is one valuation measure and does not by itself establish which business is cheaper.
Which has grown faster, HUBS or MDB?
Over the past five years, MDB grew revenue faster — HUBS at a 26.31% CAGR versus MDB at 31.71%.
Is HUBS or MDB more profitable?
HUBS runs the higher net margin — HUBS at 4.26% versus MDB at 2.12%.
How have HUBS and MDB total returns compared?
Over the past 5 years, HUBS delivered -19.59% and MDB delivered -5.82% 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 September 13, 2026.