MongoDB (MDB) Cost of Revenue (2016 - 2026)
MongoDB (MDB) posted Cost of Revenue of $202.01 million for fiscal Q2 2027 (quarter ended Jul 31, 2026), up 17.8% from $171.43 million a year earlier and up 5.5% from the prior quarter.
MongoDB (MDB) Cost of Revenue (2016 - 2026) Analysis & Trends
For the trailing twelve months through Jul 31, 2026, Cost of Revenue at MongoDB was $760.04 million, up 23.8% year-over-year; for FY2026 (ended Jan 31, 2026), it was $696.06 million, up 30.0% from FY2025.
- Annual Cost of Revenue has increased for ten consecutive fiscal years, with a five-year compound annual growth rate of 31.5% (FY2021 to FY2026).
- In prior fiscal years, MongoDB's Cost of Revenue was $535.3 million in FY2025 (+26.1%), $424.49 million in FY2024 (+21.5%), $349.3 million in FY2023 (+34.6%) and $259.49 million in FY2022 (+46.5%).
- The fiscal Q2 2027 figure stands as the highest quarterly Cost of Revenue in data going back to fiscal Q3 2017.
- On a year-over-year basis, Cost of Revenue has increased in each of the last 36 quarters, with growth averaging 27.0% over the last eight quarters.
- Across the past five years, year-over-year growth in Cost of Revenue ran from 14.3% in fiscal Q3 2024 to 48.7% in fiscal Q4 2022.
- According to Business Quant data, Cost of Revenue for the three prior fiscal quarters was $191.44 million (Q1 2027), $187.41 million (Q4 2026) and $179.18 million (Q3 2026).
Peer Comparison
| # | Company | Market Cap | Enterprise Value | Gross Profit (Qtr) | Cost of Rev (Qtr) |
|---|---|---|---|---|---|
| 1 | Palo Alto Networks | 319.55 Bn | 304.63 Bn | 2.30 Bn | 1.11 Bn |
| 2 | CrowdStrike Holdings | 265.46 Bn | 245.90 Bn | 1.10 Bn | 374.00 Mn |
| 3 | Fortinet | 129.36 Bn | 115.29 Bn | 1.64 Bn | 404.70 Mn |
| 4 | Snowflake | 115.65 Bn | 102.97 Bn | 1.04 Bn | 510.08 Mn |
| 5 | Datadog | 96.45 Bn | 78.09 Bn | 881.34 Mn | 240.11 Mn |
| 6 | Axon Enterprise | 34.50 Bn | 29.03 Bn | 546.45 Mn | 357.94 Mn |
| 7 | Okta | 33.79 Bn | 23.89 Bn | 641.00 Mn | 164.00 Mn |
| 8 | Zscaler | 32.51 Bn | 18.63 Bn | - | - |
| 9 | Baidu | 29.59 Bn | -44.04 Bn | 1.47 Mn | 2.82 Bn |
| 10 | MongoDB | 26.96 Bn | 17.43 Bn | 569.77 Mn | 202.01 Mn |
Historic Data
| Date | Value |
|---|---|
| Jul 31, 2026 | 202.01 Mn |
| Apr 30, 2026 | 191.44 Mn |
| Jan 31, 2026 | 187.41 Mn |
| Oct 31, 2025 | 179.18 Mn |
| Jul 31, 2025 | 171.43 Mn |
| Apr 30, 2025 | 158.04 Mn |
| Jan 31, 2025 | 149.02 Mn |
| Oct 31, 2024 | 135.33 Mn |
| Jul 31, 2024 | 128.25 Mn |
| Apr 30, 2024 | 122.70 Mn |
| Jan 31, 2024 | 114.64 Mn |
| Oct 31, 2023 | 107.06 Mn |
| Jul 31, 2023 | 105.34 Mn |
| Apr 30, 2023 | 97.45 Mn |
| Jan 31, 2023 | 89.16 Mn |
| Oct 31, 2022 | 93.65 Mn |
| Jul 31, 2022 | 88.28 Mn |
| Apr 30, 2022 | 78.22 Mn |
| Jan 31, 2022 | 75.80 Mn |
| Oct 31, 2021 | 68.46 Mn |
MongoDB Cost of Revenue 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=cost-of-revenue&ticker=MDB&period=max&api_key=YOUR_API_KEY
import requests
url = "https://data.businessquant.com/historic"
params = {"slug": "cost-of-revenue", "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=cost-of-revenue&ticker=MDB&period=max&api_key=YOUR_API_KEY");
const data = await res.json();