F5, Inc. (FFIV) vs MongoDB, Inc. (MDB)
FFIV leads on 10 of 11 compared metrics.
A side-by-side comparison of F5, Inc. and MongoDB, Inc. across valuation, profitability, dividends, and growth — built entirely from reported fundamentals, as of July 25, 2026. The ● marks the stronger figure on each row (cheaper multiple, higher margin/return).
FFIV
F5, Inc.
$392.21TechnologyAt close: Jul 24, 2026, 4:00 PM ET
MDB
MongoDB, Inc.
$298.22TechnologyAt close: Jul 24, 2026, 4:00 PM ET
Total return — FFIV vs MDB
growth of $100 · dividends reinvested · last 9yFFIV +239.0%MDB +829.9%MDB compounded faster
FFIV MDB
FFIV vs MDB: by the numbers
- •MDB is the larger company ($23.99B vs $22.13B market cap).
- •FFIV is profitable (21.96% net margin) while MDB runs a net loss (-1.12%).
- •MDB grew revenue faster over the past five years (32.32% vs 5.49% CAGR).
Which is better, FFIV or MDB?
Metric tally: FFIV 10 · MDB 1It depends on what you're optimizing for:
GrowthMDB(faster 5Y revenue CAGR)
QualityFFIV(higher ROIC)
Metrics side by side
Valuation
| Metric | FFIV | MDB |
|---|---|---|
| P/E ratio | 32.17 | — |
| Forward P/E | 23.79● | 61.93 |
| P/S ratio | 6.97● | 9.35 |
| P/B ratio | 6.16● | 8.29 |
| PEG ratio | 1.13 | — |
| EV / EBITDA | 23.89 | — |
| FCF yield | 4.28%● | 2.46% |
Profitability
| Metric | FFIV | MDB |
|---|---|---|
| Gross margin | 81.90%● | 71.97% |
| Operating margin | 24.65%● | -4.16% |
| Net margin | 21.96%● | -1.12% |
| ROE | 19.41%● | -0.99% |
| ROIC | 13.85%● | -4.42% |
Growth (annualized)
| Metric | FFIV | MDB |
|---|---|---|
| Revenue CAGR (5Y) | 5.49% | 32.32%● |
| EPS CAGR (5Y) | 18.82% | — |
| FCF CAGR (5Y) | 11.35% | — |
| Total return CAGR (5Y) | 15.33%● | -3.78% |
Frequently asked
- Which is better, FFIV or MDB?
- It depends on your goal. growth: MDB (faster 5Y revenue CAGR); quality: FFIV (higher ROIC). Across all compared metrics, FFIV leads 10 to 1.
- Which has grown faster, FFIV or MDB?
- Over the past five years, MDB grew revenue faster — FFIV at a 5.49% CAGR versus MDB at 32.32%.
- Is FFIV or MDB more profitable?
- FFIV runs the higher net margin — FFIV at 21.96% versus MDB at -1.12%.
- Which has been the better investment, FFIV or MDB?
- Over the past 5-year, FFIV delivered the higher annualized total return — FFIV at 12.27% versus MDB at -3.78%. Past performance doesn't predict future results.
Go deeper
Dig into the metrics
F5 P/E ratioMongoDB P/E ratioF5 dividend yieldMongoDB dividend yieldF5 ROEMongoDB ROEF5 operating marginMongoDB operating marginF5 revenue growthMongoDB revenue growthF5 free cash flowMongoDB free cash flow
F5 & 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 July 25, 2026.