MongoDB (MDB) Gross Margin (2016 - 2026)

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

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.

  • For the quarter ending Q2 2026, Gross Margin rose 95.0% year-over-year to 72.16%; the trailing twelve-month figure through Apr 2026 stood at 71.97% (down 92.0% YoY), and the FY2026 full-year result was 71.75%, down 157.0% from the prior year.
  • Gross Margin eased to 72.16% in Q2 2026, 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.
  • A 5-year average of 72.97% and a median of 72.8% in 2024 frame the typical range for Gross Margin.
  • Across the five-year window, Gross Margin jumped 422 bps in 2023 and slumped 295 bps in 2025, its largest moves.
  • Tracing MDB's Gross Margin over 5 years: stood at 71.93% in 2022, then increased by 5 bps to 75.27% in 2023, then fell by 1 bps to 74.44% in 2024, then retreated by 4 bps to 71.48% in 2025, then advanced 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,921.46 Bn 2,797.02 Bn 56.06 Bn 67.63%
2 PagSeguro Digital 2,686.70 Bn 2,686.70 Bn 358.92 Mn 37.74%
3 Oracle 344.13 Bn 312.24 Bn - -
4 Repay Holdings 342.29 Bn 342.15 Bn - -
5 Palantir Technologies 294.57 Bn 286.54 Bn 1.42 Bn 86.78%
6 Palo Alto Networks 224.46 Bn 219.93 Bn 1.91 Bn 73.59%
7 CrowdStrike Holdings 182.52 Bn 179.42 Bn 993.68 Mn 76.12%
8 Fortinet 111.29 Bn 107.99 Bn 1.49 Bn 80.29%
9 Cloudflare 93.63 Bn 92.68 Bn 455.60 Mn 71.21%
10 MongoDB 24.99 Bn 22.56 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%