MongoDB, Inc. (MDB) Cash Flow Statement
Where MDB’s cash came from and went, FY2026
January 31, 2026 · U.S. dollars- Cash from operations
- $505.1M +236.3% vs FY2025
- Capital expenditures
- $5.0M 0.2% of revenue
- Free cash flow
- $500.2M 20.3% margin
- Returned to shareholders
- $400.3M 80% of free cash flow
- Change in cash
- $593.9M cash at year-end $1.09B
Drawn to scale: where the cash came from and how it was used. Hover for values.
MDB operating cash flow, capex and free cash flow
MDB cash flow trends, FY2017–FY2026
| Metric | Trend | Then | Latest | Change |
|---|---|---|---|---|
| Operating cash flow | −$38.1MFY2017 | $505.1MFY2026 | — | |
| Capital expenditures | $1.7MFY2017 | $5.0MFY2026 | +12.8%/yr | |
| Free cash flow | −$39.8MFY2017 | $500.2MFY2026 | — | |
| Free cash flow margin | −39.2%FY2017 | 20.3%FY2026 | +59.5 pts | |
| Stock-based compensation | $21.0MFY2017 | $550.5MFY2026 | +43.7%/yr | |
| Dividends paid | $0FY2018 | $43.7MFY2024 | — | |
| Share buybacks (net) | $48,000FY2017 | $400.3MFY2026 | +172.7%/yr | |
| Capex / revenue | 1.7%FY2017 | 0.2%FY2026 | −1.5 pts |
Change is the average annual growth (CAGR) or the difference between the first and latest year.
MDB cash flow by activity
MDB net income vs operating cash flow
Operating cash flow above net income usually means earnings are backed by cash (depreciation and stock-based pay are non-cash expenses).
MDB cash flow statement
| FY2026 | FY2025 | FY2024 | FY2023 | FY2022 | FY2021 | FY2020 | FY2019 | FY2018 | FY2017 | |
|---|---|---|---|---|---|---|---|---|---|---|
| Operating activities | ||||||||||
| Net income | −$71.2M | −$129.1M | −$176.6M | −$345.4M | −$306.9M | −$266.9M | −$175.5M | −$99.0M | −$84.0M | −$70.1M |
| Depreciation & amortization | $26.4M | $27.0M | $32.1M | $29.2M | $24.5M | $24.5M | $19.8M | $5.8M | $3.7M | $3.8M |
| Stock-based compensation | $550.5M | $493.9M | $456.9M | $381.5M | $251.1M | $149.3M | $75.8M | $37.4M | $21.2M | $21.0M |
| Change in working capital | −$747,000 | −$200.3M | −$149.0M | −$74.5M | $27.8M | $1.5M | $26.6M | $13.7M | $14.7M | $7.3M |
| Other non-cash items | $224,000 | −$41.3M | −$42.0M | −$3.7M | $10.5M | $48.9M | $23.8M | $134,000 | −$555,000 | −$42,000 |
| Cash from operating activities | $505.1M | $150.2M | $121.5M | −$13.0M | $7.0M | −$42.7M | −$29.5M | −$42.0M | −$44.9M | −$38.1M |
| Investing activities | ||||||||||
| Capital expenditures | −$5.0M | −$29.6M | −$6.1M | −$7.2M | −$8.1M | −$11.8M | −$3.6M | −$6.8M | −$2.1M | −$1.7M |
| Investments (net) | $545.8M | −$657.4M | $188.0M | −$23.0M | −$839.6M | −$262.7M | $40.5M | −$97.9M | −$172.3M | $31.1M |
| Acquisitions & other investing | −$2.0M | $29.6M | $6.1M | −$3.1M | −$4.5M | $11.8M | −$38.6M | −$55.5M | $2.1M | $1.7M |
| Cash from investing activities | $538.8M | −$657.4M | $188.0M | −$33.3M | −$852.1M | −$262.7M | −$1.6M | −$160.3M | −$172.3M | $31.1M |
| Financing activities | ||||||||||
| Dividends paid | — | — | −$43.7M | −$5.7M | −$25.2M | −$35.5M | −$30.2M | — | $0 | — |
| Share repurchases & issuance (net) | −$400.3M | $36.0M | $36.9M | $29.0M | $25.2M | −$11,000 | −$43,000 | −$327,000 | −$242,000 | −$48,000 |
| Net borrowing (repayment) | −$7.5M | −$6.2M | −$5.5M | −$4.5M | −$33.2M | −$3.8M | $653.9M | $291.1M | $292.9M | $292.9M |
| Shares issued | $0 | $0 | $0 | $0 | $889.2M | $0 | $0 | $0 | $0 | $0 |
| Other financing | −$54.6M | $172.2M | $50.5M | $11.4M | $34.9M | $66.9M | −$34.4M | −$2.6M | −$82.7M | −$249.7M |
| Cash from financing activities | −$462.4M | $202.1M | $38.2M | $30.2M | $890.9M | $27.6M | $589.2M | $288.2M | $209.9M | $43.1M |
| Summary | ||||||||||
| Net change in cash | $593.9M | −$310.9M | $347.3M | −$18.1M | $44.2M | −$276.5M | $558.4M | $85.9M | −$7.0M | $36.1M |
| Cash at end of period | $1.09B | $492.8M | $803.6M | $456.3M | $474.4M | $430.2M | $706.7M | $148.3M | $62.4M | $69.4M |
| Free cash flow | $500.2M | $120.6M | $115.4M | −$20.2M | −$1.1M | −$54.4M | −$33.1M | −$48.8M | −$47.0M | −$39.8M |
| Free cash flow margin | 20.3% | 6.0% | 6.9% | −1.6% | −0.1% | −9.2% | −7.8% | −18.3% | −30.4% | −39.2% |
| Capex / revenue | 0.2% | 1.5% | 0.4% | 0.6% | 0.9% | 2.0% | 0.8% | 2.6% | 1.4% | 1.7% |
| Jul '26 | Apr '26 | Jan '26 | Oct '25 | Jul '25 | Apr '25 | Jan '25 | Oct '24 | Jul '24 | Apr '24 | Jan '24 | Oct '23 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Operating activities | ||||||||||||
| Net income | $40.9M | $4.4M | $15.5M | −$2.0M | −$47.0M | −$37.6M | $15.8M | −$9.8M | −$54.5M | −$80.6M | −$55.5M | −$29.3M |
| Depreciation & amortization | $9.5M | $9.1M | $6.7M | $9.6M | $9.5M | $9.1M | $6.1M | $6.6M | $5.9M | $8.3M | $9.1M | $8.0M |
| Stock-based compensation | $148.9M | $137.8M | $144.0M | $133.6M | $140.4M | $132.4M | $125.0M | $125.7M | $122.4M | $120.8M | $123.8M | $115.8M |
| Change in working capital | −$57.0M | $70.1M | $13.8M | $12.3M | −$26.1M | $7.6M | −$71.8M | −$79.8M | −$71.1M | $22.4M | −$16.9M | −$44.3M |
| Other non-cash items | −$511,000 | −$19.8M | −$441,000 | −$10.0M | −$4.7M | −$1.5M | −$24.6M | −$5.3M | −$4.1M | −$7.3M | −$5.9M | −$11.9M |
| Cash from operating activities | $141.9M | $201.6M | $179.6M | $143.5M | $72.1M | $109.9M | $50.5M | $37.4M | −$1.4M | $63.6M | $54.6M | $38.4M |
| Investing activities | ||||||||||||
| Capital expenditures | −$2.5M | −$2.3M | −$1.1M | −$1.7M | −$537,000 | −$1.6M | −$26.0M | −$2.0M | −$1.1M | −$539,000 | −$2.7M | −$2.1M |
| Investments (net) | −$25.0M | −$84.6M | $167.8M | $232.7M | $89.6M | $51.6M | −$246.3M | −$653.4M | $290.4M | −$48.1M | $252.3M | −$165.3M |
| Acquisitions & other investing | −$9.2M | $0 | $0 | $0 | $537,000 | $1.6M | $26.0M | $2.0M | $1.1M | $539,000 | $2.7M | $2.1M |
| Cash from investing activities | −$36.7M | −$86.9M | $166.7M | $231.0M | $89.6M | $51.6M | −$246.3M | −$653.4M | $290.4M | −$48.1M | $252.3M | −$165.3M |
| Financing activities | ||||||||||||
| Dividends paid | — | — | — | — | — | — | — | — | — | — | −$19.1M | — |
| Share repurchases & issuance (net) | −$100.0M | −$100.3M | −$57.3M | −$148.6M | −$194.4M | $0 | $34.4M | $0 | $18.6M | — | $17.1M | — |
| Net borrowing (repayment) | −$1.8M | −$1.8M | −$1.7M | −$1.7M | −$1.7M | −$2.4M | −$1.6M | −$895,000 | — | — | — | — |
| Shares issued | $0 | $0 | $0 | $0 | $0 | $0 | $0 | $0 | $0 | $0 | $0 | $0 |
| Other financing | −$35.1M | −$57.9M | −$41.3M | −$46.3M | $24.1M | $579,000 | −$17.0M | $315,000 | $169.4M | −$1.1M | $19.7M | −$77,000 |
| Cash from financing activities | −$136.9M | −$159.9M | −$100.3M | −$196.6M | −$172.0M | −$1.8M | $15.7M | −$580,000 | $188.0M | −$1.1M | $17.7M | −$77,000 |
| Summary | ||||||||||||
| Net change in cash | −$33.9M | −$46.9M | $249.5M | $187.0M | −$10.2M | $167.7M | −$182.9M | −$616.8M | $476.1M | $12.7M | $325.3M | −$129.5M |
| Cash at end of period | $1.01B | $1.04B | $1.09B | $837.2M | $650.2M | $660.4M | $492.8M | $675.7M | $1.29B | $815.7M | $803.0M | $478.4M |
| Free cash flow | $139.4M | $199.3M | $178.5M | $150.2M | $71.6M | $108.3M | $24.6M | $35.5M | −$2.4M | $63.1M | $51.9M | $36.3M |
| Free cash flow margin | 18.1% | 29.0% | 25.7% | 23.9% | 12.1% | 19.7% | 4.5% | 6.7% | −0.5% | 14.0% | 11.3% | 8.4% |
| Capex / revenue | 0.3% | 0.3% | 0.2% | 0.3% | 0.1% | 0.3% | 4.7% | 0.4% | 0.2% | 0.1% | 0.6% | 0.5% |
| Operating cash flow / net income | 3.47 | 45.47 | 11.56 | — | — | — | 3.19 | — | — | — | — | — |
Negative numbers are cash paid out. Quarterly columns are labeled by the month the quarter ended. Figures in U.S. dollars as reported; data from EODHD.
MDB cash generation
In fiscal 2026 (ended January 31, 2026), MongoDB generated $505.1 million of cash from operations (up 236.3%) and spent $5.0 million on capital expenditures, leaving free cash flow of $500.2 million, 20.3% of revenue. It returned $400.3 million to shareholders through dividends ($0) and net share buybacks ($400.3 million). Cash and equivalents rose by $593.9 million over the year.
Related: MDB income statement, MDB balance sheet. See the MDB stock overview for the latest quote and news.
MDB cash flow FAQ
What is MongoDB's free cash flow?
MongoDB's free cash flow was $500.2 million in fiscal 2026: $505.1 million of operating cash flow minus $5.0 million of capital expenditures It was $120.6 million a year earlier..
How much cash does MongoDB generate from operations?
MongoDB generated $505.1 million of cash from operating activities in fiscal 2026.
How much does MongoDB spend on capital expenditures?
MongoDB spent $5.0 million on capital expenditures in fiscal 2026, 0.2% of revenue, compared with $29.6 million the year before.
How much stock does MongoDB buy back?
MongoDB spent $400.3 million on net share repurchases in fiscal 2026.