MongoDB (MDB) Gross Margin (2016 - 2026)

MongoDB (MDB) posted Gross Margin of 72.16% for Q2 2026, down 1.2% sequentially from 73.04% in Q1 2026, and up 95.0% YoY from 37.0% in Q2 2025.

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

MongoDB (MDB) has 11 years of Gross Margin data on file, last reported at 72.16% in Q2 2026.

  • Quarterly Gross Margin rose 95.0% year-over-year to 72.16% in Q2 2026, while the trailing twelve-month figure through Apr 2026 was 71.97% (down 92.0% YoY) and the FY2026 annual result came in at 71.75%, down 157.0% from the prior year.
  • Gross Margin eased to 72.16% in Q2 2026 per MDB's latest filing, from 73.04% in the prior quarter.
  • The five-year high for Gross Margin was 75.32% in Q1 2023, with the low at 70.93% in Q3 2022.
  • Average Gross Margin over 5 years is 72.97%, with a median of 72.8% recorded in 2024.
  • Year-over-year, Gross Margin surged 422 bps in 2023 and slumped 295 bps in 2025.
  • MongoDB's Gross Margin stood at 71.93% in 2022, then climbed by 5 bps to 75.27% in 2023, then dropped by 1 bps to 74.44% in 2024, then declined by 4 bps to 71.48% in 2025, then rose by 1 bps to 72.16% in 2026.
  • Business Quant data shows MDB's Gross Margin at 72.16% in Q2 2026, 73.04% in Q1 2026, and 71.48% in Q4 2025.

Peer Comparison

# Company Market Cap Enterprise Value Gross Profit (Qtr) Gross Margin (Qtr)
1 Microsoft 2,853.66 Bn 2,775.39 Bn 56.06 Bn 67.63%
2 Oracle 408.21 Bn 376.86 Bn 17.12 Bn 89.22%
3 Palantir Technologies 300.98 Bn 293.06 Bn 1.42 Bn 86.78%
4 Palo Alto Networks 247.84 Bn 243.30 Bn 1.91 Bn 73.59%
5 CrowdStrike Holdings 193.63 Bn 190.57 Bn 993.68 Mn 76.12%
6 Fortinet 117.45 Bn 114.16 Bn 1.49 Bn 80.29%
7 Cloudflare 86.88 Bn 85.93 Bn 455.60 Mn 71.21%
8 Synopsys 86.18 Bn 86.06 Bn 1.77 Bn 73.54%
9 Block 46.10 Bn 39.21 Bn 2.91 Bn 48.03%
10 MongoDB 28.88 Bn 26.45 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%