MongoDB (MDB) Gross Margin (2016 - 2026)

MongoDB's (MDB) quarterly Gross Margin came in at 72.16% in Q2 2026, up 95.0% year-on-year from 37.0% in Q2 2025, and down 1.2% quarter-over-quarter from 73.04% in Q1 2026.

MongoDB (MDB) Gross Margin (2016 - 2026) Analysis & Trends

MongoDB has disclosed Gross Margin across 11 years of filings, most recently posting 72.16% for Q2 2026.

  • Gross Margin for Q2 2026 came in at 72.16%, up 95.0% year-over-year; the trailing twelve-month figure through Apr 2026 was 71.97% (down 92.0% YoY), and the FY2026 annual result was 71.75%, down 157.0% from the prior year.
  • Gross Margin came in at 72.16% for Q2 2026 at MongoDB, down from 73.04% in the prior quarter.
  • In the past five years, Gross Margin ranged from a high of 75.32% in Q1 2023 to a low of 70.93% in Q3 2022.
  • The 5-year median for Gross Margin is 72.8% (2024), against an average of 72.97%.
  • Across the five-year window, Gross Margin jumped 422 bps in 2023 and plunged 295 bps in 2025, its largest moves.
  • MongoDB's Gross Margin stood at 71.93% in 2022, then rose by 5 bps to 75.27% in 2023, then retreated by 1 bps to 74.44% in 2024, then decreased by 4 bps to 71.48% in 2025, then climbed by 1 bps to 72.16% in 2026.
  • The last three Gross Margin figures came in at 72.16% (Q2 2026), 73.04% (Q1 2026), and 71.48% (Q4 2025), per Business Quant data.

Peer Comparison

# Company Market Cap Enterprise Value Gross Profit (Qtr) Gross Margin (Qtr)
1 Microsoft 2,957.81 Bn 2,879.54 Bn 56.06 Bn 67.63%
2 Alarum Technologies 1,062.12 Bn 1,047.96 Bn 7.23 Mn 61.73%
3 Oracle 576.96 Bn 538.38 Bn 15.14 Bn 88.06%
4 Palantir Technologies 312.40 Bn 304.48 Bn 1.42 Bn 86.78%
5 Palo Alto Networks 182.37 Bn 177.84 Bn 1.91 Bn 73.59%
6 CrowdStrike Holdings 162.52 Bn 159.46 Bn 993.68 Mn 76.12%
7 Fortinet 102.63 Bn 99.33 Bn 1.49 Bn 80.29%
8 Synopsys 87.41 Bn 87.29 Bn 1.77 Bn 73.54%
9 Cloudflare 77.39 Bn 76.44 Bn 455.60 Mn 71.21%
10 MongoDB 28.00 Bn 25.57 Bn 496.18 Mn 72.16%

Historic Data

Download Data
DateValue
Apr 30, 2026 72.16%
Jan 31, 2026 73.04%
Oct 31, 2025 71.48%
Jul 31, 2025 71.01%
Apr 30, 2025 71.21%
Jan 31, 2025 72.83%
Oct 31, 2024 74.44%
Jul 31, 2024 73.17%
Apr 30, 2024 72.77%
Jan 31, 2024 74.97%
Oct 31, 2023 75.27%
Jul 31, 2023 75.14%
Apr 30, 2023 73.54%
Jan 31, 2023 75.32%
Oct 31, 2022 71.93%
Jul 31, 2022 70.93%
Apr 30, 2022 72.60%
Jan 31, 2022 71.56%
Oct 31, 2021 69.83%
Jul 31, 2021 69.46%