HP Inc. (HPQ) vs MongoDB, Inc. (MDB)

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

Compare

Total returnHPQ vs MDB

growth of $100 · dividends reinvested · last 9y
HPQ +114.1% (+8.8%/yr)MDB +1049.8% (+31.2%/yr)MDB compounded faster over this window
Log scale — wide-divergence pair
101001k10kStart $1002019202120232025$214$1,150
HPQ MDB

HPQ vs MDB: by the numbers

  • HPQ is the larger company ($29.85B vs $29.66B market cap).
  • HPQ trades at the lower trailing earnings multiple (12.46 vs 522.81 P/E), one valuation lens rather than an overall verdict.
  • HPQ converts more revenue to profit (4.14% vs 2.12% net margin).
  • MDB grew revenue faster over the past five years (31.71% vs -0.96% CAGR).
  • HPQ pays a dividend (3.64% yield), while MDB has no payments in the available dividend history.

Metrics side by side

Valuation

MetricHPQMDB
P/E ratio12.46522.81
Forward P/E10.02N/A
P/S ratio0.5110.87
P/B ratioN/A10.15
EV / EBITDA8.831432.20
FCF yield12.82%2.22%

Profitability

MetricHPQMDB
Gross margin19.78%72.69%
Operating margin5.64%-0.52%
Net margin4.14%2.12%
ROEN/A1.98%
ROIC22.46%-0.36%

Dividends

MetricHPQMDB
Dividend yield3.64%N/A
Payout ratio45.40%N/A

Growth (annualized)

MetricHPQMDB
Revenue CAGR (5Y)-0.96%31.71%
EPS CAGR (5Y)5.84%N/A
FCF CAGR (5Y)-4.59%N/A
Total return CAGR (5Y)5.65%-6.18%

Frequently asked

Which has the lower trailing P/E, HPQ or MDB?
HPQ has the lower trailing P/E: HPQ trades at 12.46 and MDB at 522.81. P/E is one valuation measure and does not by itself establish which business is cheaper.
Which has grown faster, HPQ or MDB?
Over the past five years, MDB grew revenue faster — HPQ at a -0.96% CAGR versus MDB at 31.71%.
Does HPQ or MDB pay a bigger dividend?
HPQ pays a dividend (3.64% yield), while MDB has no payments in the available dividend history.
Is HPQ or MDB more profitable?
HPQ runs the higher net margin — HPQ at 4.14% versus MDB at 2.12%.
How have HPQ and MDB total returns compared?
Over the past 5 years, HPQ delivered 5.65% and MDB delivered -6.18% 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 7, 2026.