MongoDB (MDB) Net Margin (2016 - 2026)
MongoDB (MDB) posted Net Margin of 5.30% for fiscal Q2 2027 (quarter ended Jul 31, 2026), up 13.26 percentage points from -7.96% a year earlier and up 4.66 percentage points from the prior quarter.
MongoDB (MDB) Net Margin (2016 - 2026) Analysis & Trends
For the trailing twelve months through Jul 31, 2026, Net Margin at MongoDB was 2.12%, up 5.66 percentage points year-over-year; for FY2026 (ended Jan 31, 2026), it came in at -2.89%, up 3.55 percentage points from FY2025.
- Annual Net Margin has increased for five consecutive fiscal years, with a five-year change of +42.33 percentage points (FY2021 to FY2026).
- In prior fiscal years, MongoDB's Net Margin was -6.43% in FY2025 (+4.06 pp), -10.49% in FY2024 (+16.41 pp), -26.90% in FY2023 (+8.22 pp) and -35.12% in FY2022 (+10.10 pp).
- The fiscal Q2 2027 figure stands as the highest quarterly Net Margin in data going back to fiscal Q3 2017.
- On a year-over-year basis, Net Margin increased in seven of the last eight quarters, with an average year-over-year change of +7.00 percentage points.
- The strongest year-over-year quarter for Net Margin in the past five years was fiscal Q2 2024, with a gain of 30.27 percentage points; the weakest was fiscal Q1 2025, with a drop of 3.16 percentage points.
- According to Business Quant data, Net Margin for the three prior fiscal quarters was 0.64% (Q1 2027), 2.23% (Q4 2026) and -0.32% (Q3 2026).
Peer Comparison
| # | Company | Market Cap | Enterprise Value | Gross Profit (Qtr) | Net Margin (Qtr) |
|---|---|---|---|---|---|
| 1 | Palo Alto Networks | 319.55 Bn | 304.63 Bn | 2.30 Bn | -8.27% |
| 2 | CrowdStrike Holdings | 265.46 Bn | 245.90 Bn | 1.10 Bn | 0.36% |
| 3 | Fortinet | 129.36 Bn | 115.29 Bn | 1.64 Bn | 29.61% |
| 4 | Snowflake | 115.65 Bn | 102.97 Bn | 1.04 Bn | -12.39% |
| 5 | Datadog | 96.45 Bn | 78.09 Bn | 881.34 Mn | 3.97% |
| 6 | Axon Enterprise | 34.50 Bn | 29.03 Bn | 546.45 Mn | 3.25% |
| 7 | Okta | 33.79 Bn | 23.89 Bn | 641.00 Mn | 14.41% |
| 8 | Zscaler | 32.51 Bn | 18.63 Bn | - | - |
| 9 | Baidu | 29.59 Bn | -44.04 Bn | 1.47 Mn | 7.38% |
| 10 | MongoDB | 26.96 Bn | 17.43 Bn | 569.77 Mn | 5.30% |
Historic Data
| Date | Value |
|---|---|
| Jul 31, 2026 | 5.30% |
| Apr 30, 2026 | 0.64% |
| Jan 31, 2026 | 2.23% |
| Oct 31, 2025 | -0.32% |
| Jul 31, 2025 | -7.96% |
| Apr 30, 2025 | -6.85% |
| Jan 31, 2025 | 2.89% |
| Oct 31, 2024 | -1.85% |
| Jul 31, 2024 | -11.41% |
| Apr 30, 2024 | -17.89% |
| Jan 31, 2024 | -12.11% |
| Oct 31, 2023 | -6.77% |
| Jul 31, 2023 | -8.87% |
| Apr 30, 2023 | -14.73% |
| Jan 31, 2023 | -17.82% |
| Oct 31, 2022 | -25.43% |
| Jul 31, 2022 | -39.14% |
| Apr 30, 2022 | -27.08% |
| Jan 31, 2022 | -31.69% |
| Oct 31, 2021 | -35.83% |
MongoDB Net 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=net-margin&ticker=MDB&period=max&api_key=YOUR_API_KEY
import requests
url = "https://data.businessquant.com/historic"
params = {"slug": "net-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=net-margin&ticker=MDB&period=max&api_key=YOUR_API_KEY");
const data = await res.json();