vs

Side-by-side financial comparison of MongoDB, Inc. (MDB) and Martin Marietta Materials (MLM). Click either name above to swap in a different company.

Martin Marietta Materials is the larger business by last-quarter revenue ($1.1B vs $628.3M, roughly 1.8× MongoDB, Inc.). Martin Marietta Materials runs the higher net margin — 24.5% vs -0.3%, a 24.8% gap on every dollar of revenue. On growth, MongoDB, Inc. posted the faster year-over-year revenue change (18.7% vs -30.1%). Martin Marietta Materials produced more free cash flow last quarter ($424.0M vs $141.8M). Over the past eight quarters, MongoDB, Inc.'s revenue compounded faster (17.1% CAGR vs -4.5%).

MongoDB, Inc. is an American software company that develops and provides commercial support for the source-available database engine MongoDB, a database for unstructured data. Over the years, the company has expanded the product from its NoSQL roots to have broader appeal to enterprise customers, such as adding ACID and transactions.

Martin Marietta Materials, Inc. is an American company and a supplier of aggregates and heavy building materials, with operations spanning 26 states, Canada, and the Caribbean. In particular, Martin Marietta Materials supplies resources for the construction of roads, sidewalks, and foundations.

MDB vs MLM — Head-to-Head

Bigger by revenue
MLM
MLM
1.8× larger
MLM
$1.1B
$628.3M
MDB
Growing faster (revenue YoY)
MDB
MDB
+48.8% gap
MDB
18.7%
-30.1%
MLM
Higher net margin
MLM
MLM
24.8% more per $
MLM
24.5%
-0.3%
MDB
More free cash flow
MLM
MLM
$282.2M more FCF
MLM
$424.0M
$141.8M
MDB
Faster 2-yr revenue CAGR
MDB
MDB
Annualised
MDB
17.1%
-4.5%
MLM

Income Statement — Q3 FY2026 vs Q4 FY2025

Metric
MDB
MDB
MLM
MLM
Revenue
$628.3M
$1.1B
Net Profit
$-2.0M
$279.0M
Gross Margin
71.5%
35.0%
Operating Margin
-2.9%
24.6%
Net Margin
-0.3%
24.5%
Revenue YoY
18.7%
-30.1%
Net Profit YoY
79.5%
-4.8%
EPS (diluted)
$4.59

Green = leading value per metric. Periods may differ when fiscal calendars don't align.

8-Quarter Revenue & Profit Trend

Side-by-side quarterly history. Quarters aligned by calendar period so offset fiscal years line up.

Revenue
MDB
MDB
MLM
MLM
Q4 25
$628.3M
$1.1B
Q3 25
$591.4M
$1.8B
Q2 25
$549.0M
$1.8B
Q1 25
$548.4M
$1.4B
Q4 24
$529.4M
$1.6B
Q3 24
$478.1M
$1.9B
Q2 24
$450.6M
$1.8B
Q1 24
$458.0M
$1.3B
Net Profit
MDB
MDB
MLM
MLM
Q4 25
$-2.0M
$279.0M
Q3 25
$-47.0M
$414.0M
Q2 25
$-37.6M
$328.0M
Q1 25
$15.8M
$116.0M
Q4 24
$-9.8M
$293.0M
Q3 24
$-54.5M
$363.0M
Q2 24
$-80.6M
$294.0M
Q1 24
$-55.5M
$1.0B
Gross Margin
MDB
MDB
MLM
MLM
Q4 25
71.5%
35.0%
Q3 25
71.0%
33.1%
Q2 25
71.2%
30.0%
Q1 25
72.8%
24.8%
Q4 24
74.4%
30.0%
Q3 24
73.2%
31.7%
Q2 24
72.8%
29.3%
Q1 24
75.0%
21.7%
Operating Margin
MDB
MDB
MLM
MLM
Q4 25
-2.9%
24.6%
Q3 25
-11.0%
27.4%
Q2 25
-9.8%
25.3%
Q1 25
-3.4%
14.3%
Q4 24
-5.3%
24.4%
Q3 24
-14.9%
25.9%
Q2 24
-21.8%
22.6%
Q1 24
-15.5%
Net Margin
MDB
MDB
MLM
MLM
Q4 25
-0.3%
24.5%
Q3 25
-8.0%
22.4%
Q2 25
-6.9%
18.1%
Q1 25
2.9%
8.6%
Q4 24
-1.8%
18.0%
Q3 24
-11.4%
19.2%
Q2 24
-17.9%
16.7%
Q1 24
-12.1%
83.5%
EPS (diluted)
MDB
MDB
MLM
MLM
Q4 25
$4.59
Q3 25
$6.85
Q2 25
$5.43
Q1 25
$1.90
Q4 24
$4.87
Q3 24
$5.91
Q2 24
$4.76
Q1 24
$16.87

Balance Sheet & Financial Strength

Snapshot of each company's liquidity, leverage and book value from the latest quarter.

Metric
MDB
MDB
MLM
MLM
Cash + ST InvestmentsLiquidity on hand
$834.1M
$67.0M
Total DebtLower is stronger
$5.3B
Stockholders' EquityBook value
$2.9B
$10.0B
Total Assets
$3.6B
$18.7B
Debt / EquityLower = less leverage
0.53×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
MDB
MDB
MLM
MLM
Q4 25
$834.1M
$67.0M
Q3 25
$647.1M
$57.0M
Q2 25
$657.8M
$225.0M
Q1 25
$490.1M
$101.0M
Q4 24
$673.1M
$670.0M
Q3 24
$1.3B
$52.0M
Q2 24
$815.7M
$109.0M
Q1 24
$803.0M
$2.6B
Total Debt
MDB
MDB
MLM
MLM
Q4 25
$5.3B
Q3 25
$5.5B
Q2 25
$5.4B
Q1 25
$5.4B
Q4 24
$5.4B
Q3 24
$4.0B
Q2 24
$4.3B
Q1 24
$4.3B
Stockholders' Equity
MDB
MDB
MLM
MLM
Q4 25
$2.9B
$10.0B
Q3 25
$2.9B
$9.7B
Q2 25
$3.0B
$9.4B
Q1 25
$2.8B
$9.1B
Q4 24
$1.5B
$9.5B
Q3 24
$1.4B
$9.2B
Q2 24
$1.3B
$8.8B
Q1 24
$1.1B
$8.9B
Total Assets
MDB
MDB
MLM
MLM
Q4 25
$3.6B
$18.7B
Q3 25
$3.5B
$18.7B
Q2 25
$3.6B
$18.1B
Q1 25
$3.4B
$17.7B
Q4 24
$3.2B
$18.2B
Q3 24
$3.1B
$16.5B
Q2 24
$3.0B
$16.3B
Q1 24
$2.9B
$16.2B
Debt / Equity
MDB
MDB
MLM
MLM
Q4 25
0.53×
Q3 25
0.57×
Q2 25
0.58×
Q1 25
0.60×
Q4 24
0.57×
Q3 24
0.44×
Q2 24
0.49×
Q1 24
0.49×

Cash Flow & Capital Efficiency

How much cash each business actually produces after reinvestment. Cash flow is harder to manipulate than net income.

Metric
MDB
MDB
MLM
MLM
Operating Cash FlowLast quarter
$143.5M
$629.0M
Free Cash FlowOCF − Capex
$141.8M
$424.0M
FCF MarginFCF / Revenue
22.6%
37.2%
Capex IntensityCapex / Revenue
0.3%
18.0%
Cash ConversionOCF / Net Profit
2.25×
TTM Free Cash FlowTrailing 4 quarters
$346.3M
$978.0M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
MDB
MDB
MLM
MLM
Q4 25
$143.5M
$629.0M
Q3 25
$72.1M
$551.0M
Q2 25
$109.9M
$387.0M
Q1 25
$50.5M
$218.0M
Q4 24
$37.4M
$686.0M
Q3 24
$-1.4M
$600.0M
Q2 24
$63.6M
$1.0M
Q1 24
$54.6M
$172.0M
Free Cash Flow
MDB
MDB
MLM
MLM
Q4 25
$141.8M
$424.0M
Q3 25
$71.6M
$361.0M
Q2 25
$108.3M
$208.0M
Q1 25
$24.6M
$-15.0M
Q4 24
$35.5M
$453.0M
Q3 24
$-2.4M
$317.0M
Q2 24
$63.1M
$-138.0M
Q1 24
$51.9M
$-28.0M
FCF Margin
MDB
MDB
MLM
MLM
Q4 25
22.6%
37.2%
Q3 25
12.1%
19.6%
Q2 25
19.7%
11.5%
Q1 25
4.5%
-1.1%
Q4 24
6.7%
27.8%
Q3 24
-0.5%
16.8%
Q2 24
14.0%
-7.8%
Q1 24
11.3%
-2.2%
Capex Intensity
MDB
MDB
MLM
MLM
Q4 25
0.3%
18.0%
Q3 25
0.1%
10.3%
Q2 25
0.3%
9.9%
Q1 25
4.7%
17.2%
Q4 24
0.4%
14.3%
Q3 24
0.2%
15.0%
Q2 24
0.1%
7.9%
Q1 24
0.6%
16.0%
Cash Conversion
MDB
MDB
MLM
MLM
Q4 25
2.25×
Q3 25
1.33×
Q2 25
1.18×
Q1 25
3.19×
1.88×
Q4 24
2.34×
Q3 24
1.65×
Q2 24
0.00×
Q1 24
0.16×

Financial Flow Comparison

Revenue → gross profit → operating profit → net profit for each company.

Revenue Breakdown by Segment

MDB
MDB

Mongo DB Atlas Related$470.4M75%
Other Subscription$138.7M22%
Services$19.2M3%

MLM
MLM

Building Materials Business East Group$774.0M68%
Building Materials Business West Group$233.0M20%
Services$88.0M8%
Other$45.0M4%

Related Comparisons