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).

Compare

Total returnFFIV vs MDB

growth of $100 · dividends reinvested · last 9y
FFIV +239.0%MDB +829.9%MDB compounded faster
05001k2kStart $1002019202120232025$339$930
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 1

It depends on what you're optimizing for:

GrowthMDB(faster 5Y revenue CAGR)
QualityFFIV(higher ROIC)

Metrics side by side

Valuation

MetricFFIVMDB
P/E ratio32.17
Forward P/E23.7961.93
P/S ratio6.979.35
P/B ratio6.168.29
PEG ratio1.13
EV / EBITDA23.89
FCF yield4.28%2.46%

Profitability

MetricFFIVMDB
Gross margin81.90%71.97%
Operating margin24.65%-4.16%
Net margin21.96%-1.12%
ROE19.41%-0.99%
ROIC13.85%-4.42%

Growth (annualized)

MetricFFIVMDB
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.

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.