MongoDB, Inc. (MDB) financials: revenue, earnings and cash flow
Fiscal 2017–2026 + TTM · from SEC filings · data as of November 13, 2026
Summary
MongoDB’s revenue went from $115M in fiscal 2017 to $2.5B in fiscal 2026, growth of about 40.6% a year.
Net income in fiscal 2026 was -$71M, a net margin of -2.9%; the best year in this period was 2017 with -$70M.
Over the twelve months to July 31, 2026, revenue was $2.8B and net income $59M.
Free cash flow was $500M in fiscal 2026 and positive in 3 of the 10 years shown.
The diluted share count rose 565% over the period (dilution).
Revenue, profit and cash flow by year
Income statement
| Fiscal year | TTM | 2026 | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Revenue | $2.8B | $2.5B | $2.0B | $1.7B | $1.3B | $874M | $590M | $422M | $267M | $166M | $115M |
| Gross profit | $2.0B | $1.8B | $1.5B | $1.3B | $935M | $614M | $413M | $296M | $193M | $123M | $85M |
| Operating income | -$15M | -$137M | -$216M | -$234M | -$347M | -$289M | -$209M | -$148M | -$98M | -$85M | -$69M |
| Net income | $59M | -$71M | -$129M | -$177M | -$345M | -$307M | -$267M | -$176M | -$99M | -$84M | -$70M |
| EPS (diluted) | $0.71 | $-0.88 | $-1.73 | $-2.48 | $-5.03 | $-4.75 | $-4.53 | $-3.14 | $-1.90 | $-3.54 | $-5.74 |
| R&D | $780M | $716M | $597M | $516M | $422M | $309M | $205M | $149M | $90M | $62M | $52M |
| Revenue growth | — | +22.8% | +19.2% | +31.1% | +46.9% | +48.0% | +40.0% | +57.9% | +60.8% | +44.6% | +75.9% |
Cash flow
| Fiscal year | TTM | 2026 | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Operating cash flow | $667M | $505M | $150M | $121M | -$13M | $7M | -$43M | -$30M | -$42M | -$45M | -$38M |
| Capital spending | -$8M | -$5M | -$30M | -$6M | -$7M | -$8M | -$12M | -$4M | -$7M | -$2M | -$2M |
| Free cash flow | $659M | $500M | $121M | $115M | -$20M | -$1M | -$54M | -$33M | -$49M | -$47M | -$40M |
| Dividends paid | — | $0 | $0 | $0 | $0 | $0 | $0 | $0 | $0 | $0 | $0 |
| Buybacks | $406M | $400M | $0 | $0 | $0 | $0 | $11000 | $43000 | $327000 | $242000 | $48000 |
| Stock-based pay | $564M | $550M | $494M | $457M | $381M | $251M | $149M | $76M | $37M | $21M | $21M |
Balance sheet
| Fiscal year | TTM | 2026 | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Cash | — | $2.4B | $2.3B | $2.0B | $1.8B | $1.8B | $958M | $987M | $466M | $279M | $116M |
| Debt | — | $33M | $36M | $1.2B | $1.2B | $1.2B | $979M | $923M | $217M | $0 | — |
| Equity | — | $3.0B | $2.8B | $1.1B | $740M | $667M | -$5M | $83M | $265M | $248M | -$245M |
| Total assets | — | $3.8B | $3.4B | $2.9B | $2.6B | $2.4B | $1.4B | $1.3B | $733M | $433M | $174M |
| Shares (diluted) | 82M | 81M | 75M | 71M | 69M | 65M | 59M | 56M | 52M | 24M | 12M |
Margins and returns
| Fiscal year | TTM | 2026 | 2025 | 2024 | 2023 | 2022 | 2021 | 2020 | 2019 | 2018 | 2017 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Gross margin | 72.7% | 71.8% | 73.3% | 74.8% | 72.8% | 70.3% | 70.0% | 70.3% | 72.5% | 74.2% | 74.0% |
| Operating margin | -0.5% | -5.6% | -10.8% | -13.9% | -27.0% | -33.1% | -35.4% | -35.1% | -36.6% | -51.1% | -60.4% |
| Net margin | 2.1% | -2.9% | -6.4% | -10.5% | -26.9% | -35.1% | -45.2% | -41.6% | -37.1% | -50.6% | -61.0% |
| FCF margin | 23.7% | 20.3% | 6.0% | 6.9% | -1.6% | -0.1% | -9.2% | -7.8% | -18.3% | -28.3% | -34.6% |
| ROIC | — | -3.6% | -7.5% | -8.2% | -14.2% | -12.4% | -17.0% | -14.6% | -19.7% | -27.1% | — |
| ROE | — | -2.4% | -4.6% | -16.5% | -46.7% | -46.0% | 5303.9% | -211.8% | -37.4% | -33.9% | 28.6% |
Frequently asked questions
What is MongoDB’s annual revenue?
$2.5B in fiscal 2026 and $2.8B over the twelve months to July 31, 2026.
How much profit does MongoDB make?
Net income was -$71M in fiscal 2026 (net margin -2.9%).
Is MongoDB’s revenue growing?
Yes: revenue rose 22.8% in fiscal 2026 compared with the year before.
From the company’s 10-K and 10-Q filings with the SEC; per-share figures adjusted for stock splits. Rebuilt daily. Not investment advice.