Superworth

MongoDB profit margin MDB

Gross, operating and net profit as a share of revenue over the last twelve months, from 2017.

Net margin, 12 months
2.1%
Operating margin, 12 months
−0.5%
Net margin on a year earlier
+5.7 pts
Peer median
15.1%

Over the twelve months to Jul 31, 2026, MongoDB kept 2.1% of its revenue as net profit, with an operating margin of −0.5% and a gross margin of 72.7%.

Five years earlier its net margin was −41.2%.

The median for 10 infrastructure software stocks of a similar size is 15.1%.

Profit margin over time

GrossOperatingNet

Open the interactive chart, with overlays and comparisons

Fiscal year by fiscal year

Fiscal yearNet marginOperating marginGross margin
FY2026−2.9%−5.6%71.7%
FY2025−6.4%−10.8%73.3%
FY2024−10.5%−13.9%74.8%
FY2023−26.9%−27.0%72.8%
FY2022−35.1%−33.1%70.3%
FY2021−45.2%−35.5%70.0%
FY2020−41.6%−35.1%70.3%
FY2019−37.1%−36.6%72.4%
FY2018−62.4%−62.9%72.3%
FY2017n/an/an/a

Quarter by quarter

QuarterEndedNet margin, 12 monthsChange on a yearOperating margin
Q2 FY272.1%+5.7 pts−0.5%
Q1 FY27−1.1%+3.0 pts−4.2%
Q4 FY26−2.9%+3.5 pts−5.6%
Q3 FY26−3.1%+7.4 pts−6.7%
Q2 FY26−3.5%+8.5 pts−7.5%
Q1 FY26−4.1%+7.4 pts−8.1%
Q4 FY25−6.4%+4.1 pts−10.8%
Q3 FY25−10.5%+1.2 pts−14.0%
Q2 FY25−12.1%+4.1 pts−15.7%
Q1 FY25−11.5%+12.1 pts−14.9%
Q4 FY24−10.5%+16.4 pts−13.9%
Q3 FY24−11.7%+19.0 pts−14.9%

Against its peers

Companies in Software - Infrastructure nearest MongoDB's size, closest first, today.

CompanyProfit margin
MDBMongoDB2.1%
VRSNVeriSign49.8%
CPAYCorpay22.7%
RBRKRubrik−16.5%
IOTSamsara4.9%
FFIVF522.0%
OKTAOkta9.6%
TWLOTwilio20.6%
ZSZscaler−1.9%
PTCPTC41.4%
XYZBlock1.4%
Peer median15.1%

Where MongoDB ranks

What the profit margin tells you

Profit as a share of revenue at three levels: gross (after making the product), operating (after running the business) and net (after everything, including tax and interest).

Compare within an industry. 10% is superb for a retailer and poor for a software company.

More on MongoDB

Valuation data, not investment advice. Prices as of . Reported figures come from the company's filings with the SEC.