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.
HPQ
HP Inc.
$32.64TechnologyAt close: Sep 4, 2026 (market close, ET)
MDB
MongoDB, Inc.
$368.74TechnologyAt close: Sep 4, 2026 (market close, ET)
Total return — HPQ vs MDB
growth of $100 · dividends reinvested · last 9yHPQ +114.1% (+8.8%/yr)MDB +1049.8% (+31.2%/yr)MDB compounded faster over this window
Log scale — wide-divergence pair
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
| Metric | HPQ | MDB |
|---|---|---|
| P/E ratio | 12.46 | 522.81 |
| Forward P/E | 10.02 | N/A |
| P/S ratio | 0.51 | 10.87 |
| P/B ratio | N/A | 10.15 |
| EV / EBITDA | 8.83 | 1432.20 |
| FCF yield | 12.82% | 2.22% |
Profitability
| Metric | HPQ | MDB |
|---|---|---|
| Gross margin | 19.78% | 72.69% |
| Operating margin | 5.64% | -0.52% |
| Net margin | 4.14% | 2.12% |
| ROE | N/A | 1.98% |
| ROIC | 22.46% | -0.36% |
Dividends
| Metric | HPQ | MDB |
|---|---|---|
| Dividend yield | 3.64% | N/A |
| Payout ratio | 45.40% | N/A |
Growth (annualized)
| Metric | HPQ | MDB |
|---|---|---|
| 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.
Go deeper
Dig into the metrics
HP P/E ratioMongoDB P/E ratioHP dividend yieldHP ROEMongoDB ROEHP operating marginMongoDB operating marginHP revenue growthMongoDB revenue growthHP free cash flowMongoDB free cash flow
HP & MongoDB appear in these rankings
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.