C3.ai, Inc. (AI) vs MongoDB, Inc. (MDB)

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

Compare

Total returnAI vs MDB

growth of $100 · dividends reinvested · last 6y
AI -88.7% (-30.4%/yr)MDB +32.1% (+4.8%/yr)MDB compounded faster over this window
Log scale — wide-divergence pair
1101001kStart $100202120222023202420252026$11$132
AI MDB

AI vs MDB: by the numbers

  • MDB is the larger company ($29.13B vs $1.60B market cap).
  • MDB is profitable (2.12% net margin) while AI runs a net loss (-192.10%).
  • MDB grew revenue faster over the past five years (31.71% vs 3.56% CAGR).

Metrics side by side

Valuation

MetricAIMDB
P/E ratioN/A513.55
P/S ratio6.8910.47
P/B ratio2.309.78
EV / EBITDAN/A1378.27
FCF yieldN/A2.29%

Profitability

MetricAIMDB
Gross margin29.09%72.69%
Operating margin-198.43%-0.52%
Net margin-192.10%2.12%
ROE-64.24%1.98%
ROIC-61.51%-0.36%

Growth (annualized)

MetricAIMDB
Revenue CAGR (5Y)3.56%31.71%
Total return CAGR (5Y)-26.86%-5.22%

Frequently asked

Which has grown faster, AI or MDB?
Over the past five years, MDB grew revenue faster — AI at a 3.56% CAGR versus MDB at 31.71%.
Is AI or MDB more profitable?
MDB runs the higher net margin — AI at -192.10% versus MDB at 2.12%.
How have AI and MDB total returns compared?
Over the past 5 years, AI delivered -26.86% and MDB delivered -5.22% 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 10, 2026.