TTM
72.0%
YoY change
−1.57pp
Trough year (2016)
68.0%
Peak year (2024)
74.8%
Latest annual
71.7%
Gross Margin history chart for MongoDB (MDB) from 2016 to 2026
Latest: 71.7%
Gross Margin change chart for MongoDB (MDB) from 2016 to 2026
Latest: −1.57pp
Gross Margin history table for MongoDB (MDB) from 2016 to 2026
| 2026 | 71.7% | -1.57pp | ||
| 2025 | 73.3% | -1.46pp | ||
| 2024 | 74.8% | +1.98pp | ||
| 2023 | 72.8% | +2.49pp | ||
| 2022 | 70.3% | +0.30pp | ||
| 2021 | 70.0% | -0.27pp | ||
| 2020 | 70.3% | -2.17pp | ||
| 2019 | 72.4% | +0.19pp | ||
| 2018 | 72.3% | +1.73pp | ||
| 2017 | 70.5% | +2.49pp | ||
| 2016 | 68.0% | — |
- 202671.7%-1.57pp
- 202573.3%-1.46pp
- 202474.8%+1.98pp
- 202372.8%+2.49pp
- 202270.3%+0.30pp
- 202170.0%-0.27pp
- 202070.3%-2.17pp
- 201972.4%+0.19pp
- 201872.3%+1.73pp
- 201770.5%+2.49pp
- 201668.0%—
Gross Margin values are taken from MongoDB's reported income statements (quarterly 10-Q and annual 10-K filings with the U.S. Securities and Exchange Commission). Each row shows the period end date and the filing date. YoY compares each figure to the same period one year earlier. Amounts are in USD as filed.
About Gross Margin at MongoDB (MDB)
According to MongoDB's latest reported financial statements, the company's latest reported gross margin is 72.0%. Gross margin is gross profit divided by revenue, expressed as a percentage. It shows how much of each sales dollar survives the direct cost of goods sold — before operating expenses, interest, and taxes. A higher gross margin generally signals pricing power and production efficiency. Margins are most meaningful compared against sector peers and a company's own history.
Headline figure above is from the reporting period ending (reported ). Chart and table below cover the full reported history back to .
2026's annual gross margin for MongoDB (MDB) came in at 71.75% – contracted 1.6 percentage points year-over-year.
Across the available history, gross margin reached its high of 74.78% in 2024 and its low of 68.04% in 2016.
MongoDB Gross Margin by Year
MongoDB Gross Margin 2026: 71.7%
2026's gross margin for MongoDB came in at 71.75%, contracted 1.6 percentage points from 2025.
MongoDB Gross Margin 2025: 73.3%
MongoDB posted gross margin of 73.32% in 2025, contracted 1.5 percentage points from 2024.
MongoDB Gross Margin 2024: 74.8%
In 2024, MongoDB reported gross margin of 74.78%, expanded 2.0 percentage points from 2023. This figure represents the highest annual value in the available history.
MongoDB Gross Margin 2023: 72.8%
MongoDB gross margin in 2023 was 72.80%, expanded 2.5 percentage points from 2022.
MongoDB Gross Margin 2022: 70.3%
MongoDB gross margin in 2022 was 70.30%.
See more financial history for MongoDB (MDB).
Sector peers by Gross Margin
Technology peers of MongoDB (MDB), ranked by their latest gross margin
| 74.1% | |
| 68.3% | |
| 67.0% | |
| 61.8% | |
| 58.4% | |
| 52.6% | |
| 50.3% | |
| 47.9% |
- 74.1%
- 68.3%
- 67.0%
- 61.8%
- 52.6%
- 50.3%
- 47.9%
Frequently asked questions
MongoDB (MDB) Key Financials
Charts, filings, and peer comparison for every metric
Explore more
Deep-dives across the income statement, cash flow, capital return, and valuation