MongoDB (MDB) Operating Margin (2016 - 2026)
MongoDB (MDB) recorded Operating Margin of 3.68% in fiscal Q2 2027 (quarter ended Jul 31, 2026), up 14.72 percentage points from -11.04% a year earlier and up 7.29 percentage points from the prior quarter.
MongoDB (MDB) Operating Margin (2016 - 2026) Analysis & Trends
On a TTM basis, MongoDB's Operating Margin came in at -0.52% as of Jul 31, 2026, up 6.93 percentage points year-over-year; for FY2026 (ended Jan 31, 2026), it was -5.56%, up 5.21 percentage points from FY2025.
- Annual Operating Margin has increased for five straight fiscal years, with a five-year change of +29.89 percentage points (FY2021 to FY2026).
- Across earlier fiscal years, Operating Margin came in at -10.77% in FY2025 (+3.12 pp), -13.89% in FY2024 (+13.11 pp), -27.00% in FY2023 (+6.12 pp) and -33.12% in FY2022 (+2.34 pp).
- The fiscal Q2 2027 figure is the highest quarterly Operating Margin in data going back to fiscal Q3 2017.
- On a year-over-year basis, Operating Margin has increased for eight consecutive quarters, with an average year-over-year change of +7.48 percentage points over the last eight quarters.
- Peak year-over-year performance for Operating Margin in the last five years was a gain of 26.26 percentage points in fiscal Q2 2024, against a drop of 3.38 percentage points in fiscal Q2 2025 at the low end.
- Per Business Quant, the preceding three fiscal quarters came in at -3.61% (Q1 2027), 0.04% (Q4 2026) and -2.93% (Q3 2026).
Peer Comparison
| # | Company | Market Cap | Enterprise Value | Gross Profit (Qtr) | Operating Margin (Qtr) |
|---|---|---|---|---|---|
| 1 | Palo Alto Networks | 319.55 Bn | 304.63 Bn | 2.30 Bn | 5.04% |
| 2 | CrowdStrike Holdings | 265.46 Bn | 245.90 Bn | 1.10 Bn | -2.26% |
| 3 | Fortinet | 129.36 Bn | 115.29 Bn | 1.64 Bn | 33.66% |
| 4 | Snowflake | 115.65 Bn | 102.97 Bn | 1.04 Bn | -17.00% |
| 5 | Datadog | 96.45 Bn | 78.09 Bn | 881.34 Mn | 0.49% |
| 6 | Axon Enterprise | 34.50 Bn | 29.03 Bn | 546.45 Mn | 5.17% |
| 7 | Okta | 33.79 Bn | 23.89 Bn | 641.00 Mn | 13.29% |
| 8 | Zscaler | 32.51 Bn | 18.63 Bn | - | - |
| 9 | Baidu | 29.59 Bn | -44.04 Bn | 1.47 Mn | 9.66% |
| 10 | MongoDB | 26.96 Bn | 17.43 Bn | 569.77 Mn | 3.68% |
Historic Data
| Date | Value |
|---|---|
| Jul 31, 2026 | 3.68% |
| Apr 30, 2026 | -3.61% |
| Jan 31, 2026 | 0.04% |
| Oct 31, 2025 | -2.93% |
| Jul 31, 2025 | -11.04% |
| Apr 30, 2025 | -9.75% |
| Jan 31, 2025 | -3.38% |
| Oct 31, 2024 | -5.27% |
| Jul 31, 2024 | -14.94% |
| Apr 30, 2024 | -21.79% |
| Jan 31, 2024 | -15.49% |
| Oct 31, 2023 | -10.44% |
| Jul 31, 2023 | -11.56% |
| Apr 30, 2023 | -18.61% |
| Jan 31, 2023 | -20.19% |
| Oct 31, 2022 | -24.86% |
| Jul 31, 2022 | -37.82% |
| Apr 30, 2022 | -26.60% |
| Jan 31, 2022 | -29.50% |
| Oct 31, 2021 | -33.83% |
MongoDB Operating Margin API
Pull this series into your own models, spreadsheets and apps with the Business Quant
Historical Metrics API. The request below matches the chart above — change the
frequency, period or values and it follows. Swap YOUR_API_KEY for your own key.
https://data.businessquant.com/historic?slug=operating-margin&ticker=MDB&period=max&api_key=YOUR_API_KEY
import requests
url = "https://data.businessquant.com/historic"
params = {"slug": "operating-margin", "ticker": "MDB", "period": "max", "api_key": "YOUR_API_KEY"}
data = requests.get(url, params=params).json()
const res = await fetch("https://data.businessquant.com/historic?slug=operating-margin&ticker=MDB&period=max&api_key=YOUR_API_KEY");
const data = await res.json();