MongoDB MDB
NASDAQ MDB
$434.62 -4.08 (-0.93%)
At close: Aug 18, 2026 · 3:59 PM UTC

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 has reported Gross Margin for 11 years, with the latest figure 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.
  • Over five years, Gross Margin peaked at 75.32% in Q1 2023 and troughed at 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.
  • The sharpest annual moves came in 2023 and 2025: Gross Margin soared 422 bps in 2023, then plunged 295 bps in 2025.
  • Over 5 years, Gross Margin stood at 71.93% in 2022, then advanced by 5 bps to 75.27% in 2023, then slipped by 1 bps to 74.44% in 2024, then dropped by 4 bps to 71.48% in 2025, then increased by 1 bps to 72.16% in 2026.
  • According to Business Quant data, Gross Margin over the past three periods registered 72.16%, 73.04%, and 71.48% for Q2 2026, Q1 2026, and Q4 2025 respectively.

Peer Comparison

# Company Market Cap Enterprise Value Gross Profit (Qtr) Gross Margin (Qtr)
1 Microsoft 3,576.39 Bn 3,443.64 Bn 60.48 Bn 67.20%
2 Palantir Technologies 412.58 Bn 403.17 Bn 1.64 Bn 84.66%
3 Oracle 407.66 Bn 375.77 Bn - -
4 Palo Alto Networks 299.27 Bn 296.16 Bn 2.03 Bn 67.55%
5 Fortinet 115.83 Bn 111.76 Bn 1.64 Bn 80.24%
6 Cloudflare 106.65 Bn 102.48 Bn 499.52 Mn 71.76%
7 Synopsys 76.61 Bn 74.41 Bn 1.77 Bn 73.54%
8 CoreWeave 51.53 Bn 45.99 Bn 1.70 Bn 65.86%
9 Block 47.55 Bn 41.12 Bn 3.17 Bn 47.84%
10 MongoDB 34.95 Bn 32.52 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%