Last close $ 312.69 up +9.4% As of
MongoDB (MDB) Profitability
MongoDB (MDB) profitability shows a net profit margin of -1.1%, a return on equity of -1.0% and a free cash flow margin of 20.3%. On the simple score used here, MongoDB is above the industry median on 2 of 6 measures. All figures come from the company's reported statements; the latest fiscal year shown is 2026.
- Industry Score:
- 2 of 6
- Gross Margin:
- 72.0%
- Operating Margin:
- -3.6%
- Net Margin:
- -1.1%
- FCF Margin:
- 20.3%
- Return on Equity:
- -1.0%
- Return on Assets:
- -1.8%
- Return on Invested Capital:
- -18.1%
MongoDB scores 2 of 6: one point for each measure above the median of its Software - Infrastructure peers, without weighting. The comparison uses up to 176 stocks per measure. MongoDB's summary margins, ROE and ROA cover the trailing twelve months, while the tables below use fiscal years.
MDB profit margins
(Percent of revenue)
MongoDB's operating margin went from -84.8% in fiscal 2017 to -5.6% in fiscal 2026, and its net margin from -85.5% to -2.9%, while the gross margin moved from 70.5% to 71.7%. The best net margin was -2.9% in 2026 and the weakest -85.5% in 2017. Free cash flow was 20.3% of revenue in the latest fiscal year.
| Line item | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Gross margin | 72.2% | 73.0% | 71.5% | 71.0% | 71.2% | 72.8% | 74.4% | 73.2% | 72.2% | 75.0% | 75.3% | 75.1% |
| Operating margin | -3.6% | 0.0% | -2.9% | -11.0% | -9.8% | -3.4% | -5.3% | -14.9% | -21.8% | -15.5% | -10.4% | -11.6% |
| Net margin | 0.6% | 2.2% | -0.3% | -8.0% | -6.9% | 2.9% | -1.8% | -11.4% | -17.9% | -12.1% | -6.8% | -8.9% |
| Free cash flow margin | 29.0% | 25.7% | 23.9% | 12.1% | 19.7% | 4.5% | 6.7% | -0.5% | 14.0% | 11.3% | 8.4% | -6.1% |
| Line item | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Gross margin | 71.7% | 73.3% | 74.8% | 72.8% | 70.3% | 70.0% | 70.3% | 72.4% | 72.3% | 70.5% |
| Operating margin | -5.6% | -10.8% | -13.9% | -27.0% | -33.1% | -35.5% | -35.1% | -36.6% | -62.9% | -84.8% |
| Net margin | -2.9% | -6.4% | -10.5% | -26.9% | -35.1% | -45.2% | -41.6% | -37.1% | -62.4% | -85.5% |
| Free cash flow margin | 20.3% | 6.0% | 6.9% | -1.6% | -0.1% | -9.2% | -7.8% | -18.3% | -30.4% | -39.2% |
MongoDB return on equity, assets and capital
(Percent, by fiscal year)
MongoDB earned a return on equity of -2.5% in fiscal 2026, net income of $-71 million on average equity of $2,867 million, against - in fiscal 2017. Return on assets was -2.0% on average assets of $3,595 million, and return on invested capital -18.1%, from NOPAT of $-108 million on invested capital of $598 million.
| Fiscal year | Return on equity | Return on assets | Return on invested capital | Net income (USD millions) | Average equity (USD millions) | Average assets (USD millions) | NOPAT (USD millions) | Invested capital (USD millions) |
|---|---|---|---|---|---|---|---|---|
| -2.5% | -2.0% | -18.1% | -71 | 2,867 | 3,595 | -108 | 598 | |
| -6.7% | -4.1% | -35.4% | -129 | 1,926 | 3,150 | -171 | 482 | |
| -19.5% | -6.5% | -77.7% | -177 | 904 | 2,729 | -185 | 238 | |
| -49.1% | -13.7% | -312.2% | -345 | 703 | 2,519 | -274 | 88 | |
| -92.8% | -15.9% | -949.0% | -307 | 331 | 1,929 | -229 | 24 | |
| -686.0% | -19.5% | -1008.7% | -267 | 39 | 1,368 | -165 | 16 | |
| -101.0% | -17.0% | -165.9% | -176 | 174 | 1,031 | -117 | 70 | |
| -43.2% | -17.2% | -499.8% | -99 | 229 | 574 | -77 | 15 | |
| - | -32.7% | - | -96 | -47 | 295 | -77 | -85 | |
| - | -52.3% | - | -87 | -258 | 166 | -68 | -402 |
MongoDB free cash flow
(USD millions)
MDB generated $500 million of free cash flow in its latest fiscal year on $2.46 billion of revenue, up from -$40 million in fiscal 2017, a free cash flow margin of 20.3%.
| Line item | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Operating cash flow | 202 | 180 | 152 | 72 | 110 | 51 | 37 | -1 | 64 | 55 | 38 | -25 |
| Capital expenditure | 2 | 1 | 2 | 1 | 2 | 26 | 2 | 1 | 1 | 3 | 2 | 1 |
| Free cash flow | 199 | 178 | 150 | 72 | 108 | 25 | 35 | -2 | 63 | 52 | 36 | -26 |
| Free cash flow margin | 29.0% | 25.7% | 23.9% | 12.1% | 19.7% | 4.5% | 6.7% | -0.5% | 14.0% | 11.3% | 8.4% | -6.1% |
| Free cash flow per share (USD) | 2.44 | 2.06 | 1.85 | 0.88 | 1.34 | 0.29 | 0.48 | -0.03 | 0.86 | 0.72 | 0.51 | -0.37 |
| Line item | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Operating cash flow | 505 | 150 | 121 | -13 | 7 | -43 | -30 | -42 | -45 | -38 |
| Capital expenditure | 5 | 30 | 6 | 7 | 8 | 12 | 4 | 7 | 2 | 2 |
| Free cash flow | 500 | 121 | 115 | -20 | -1 | -54 | -33 | -49 | -47 | -40 |
| Free cash flow margin | 20.3% | 6.0% | 6.9% | -1.6% | -0.1% | -9.2% | -7.8% | -18.3% | -30.4% | -39.2% |
| Free cash flow per share (USD) | 6.16 | 1.62 | 1.62 | -0.29 | -0.02 | -0.92 | -0.59 | -0.94 | -0.95 | -0.99 |
MongoDB profitability against the industry
MongoDB is above the median of the other Software - Infrastructure stocks on 2 of 6 measures, with the widest gap on free cash flow margin at +14.3 points; it is not above the median on operating margin, net margin, return on equity, return on assets.
| Measure | Stock | Industry median | Difference | Stocks compared | Result |
|---|---|---|---|---|---|
| Gross margin | 72.0% | 59.5% | +12.5 points | 171 | Above |
| Operating margin | -3.6% | 0.0% | -3.7 points | 176 | Not above |
| Net margin | -1.1% | 0.0% | -1.1 points | 176 | Not above |
| Free cash flow margin | 20.3% | 6.0% | +14.3 points | 170 | Above |
| Return on equity | -1.0% | 0.0% | -1.0 points | 176 | Not above |
| Return on assets | -1.8% | 0.0% | -1.8 points | 176 | Not above |