vs

Side-by-side financial comparison of MongoDB, Inc. (MDB) and McGraw Hill, Inc. (MH). Click either name above to swap in a different company.

MongoDB, Inc. is the larger business by last-quarter revenue ($628.3M vs $434.2M, roughly 1.4× McGraw Hill, Inc.). MongoDB, Inc. runs the higher net margin — -0.3% vs -4.7%, a 4.3% gap on every dollar of revenue. On growth, MongoDB, Inc. posted the faster year-over-year revenue change (18.7% vs -35.1%). McGraw Hill, Inc. produced more free cash flow last quarter ($285.4M vs $141.8M).

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.

McGraw Hill, Inc. is an American education science company that provides educational content, software, and services for students and educators across various levels—from K-12 to higher education and professional settings. They produce textbooks, digital learning tools, and adaptive technology to enhance learning experiences and outcomes. It is one of the "big three" educational publishers along with Houghton Mifflin Harcourt and Pearson Education. McGraw Hill also publishes reference and tra...

MDB vs MH — Head-to-Head

Bigger by revenue
MDB
MDB
1.4× larger
MDB
$628.3M
$434.2M
MH
Growing faster (revenue YoY)
MDB
MDB
+53.8% gap
MDB
18.7%
-35.1%
MH
Higher net margin
MDB
MDB
4.3% more per $
MDB
-0.3%
-4.7%
MH
More free cash flow
MH
MH
$143.6M more FCF
MH
$285.4M
$141.8M
MDB

Income Statement — Q3 FY2026 vs Q3 FY2026

Metric
MDB
MDB
MH
MH
Revenue
$628.3M
$434.2M
Net Profit
$-2.0M
$-20.2M
Gross Margin
71.5%
85.3%
Operating Margin
-2.9%
7.0%
Net Margin
-0.3%
-4.7%
Revenue YoY
18.7%
-35.1%
Net Profit YoY
79.5%
-119.2%
EPS (diluted)
$-0.11

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
MH
MH
Q4 25
$628.3M
$434.2M
Q3 25
$591.4M
$669.2M
Q2 25
$549.0M
$535.7M
Q1 25
$548.4M
Q4 24
$529.4M
Q3 24
$478.1M
Q2 24
$450.6M
Q1 24
$458.0M
Net Profit
MDB
MDB
MH
MH
Q4 25
$-2.0M
$-20.2M
Q3 25
$-47.0M
$105.3M
Q2 25
$-37.6M
$502.0K
Q1 25
$15.8M
Q4 24
$-9.8M
Q3 24
$-54.5M
Q2 24
$-80.6M
Q1 24
$-55.5M
Gross Margin
MDB
MDB
MH
MH
Q4 25
71.5%
85.3%
Q3 25
71.0%
79.2%
Q2 25
71.2%
77.0%
Q1 25
72.8%
Q4 24
74.4%
Q3 24
73.2%
Q2 24
72.8%
Q1 24
75.0%
Operating Margin
MDB
MDB
MH
MH
Q4 25
-2.9%
7.0%
Q3 25
-11.0%
23.4%
Q2 25
-9.8%
18.0%
Q1 25
-3.4%
Q4 24
-5.3%
Q3 24
-14.9%
Q2 24
-21.8%
Q1 24
-15.5%
Net Margin
MDB
MDB
MH
MH
Q4 25
-0.3%
-4.7%
Q3 25
-8.0%
15.7%
Q2 25
-6.9%
0.1%
Q1 25
2.9%
Q4 24
-1.8%
Q3 24
-11.4%
Q2 24
-17.9%
Q1 24
-12.1%
EPS (diluted)
MDB
MDB
MH
MH
Q4 25
$-0.11
Q3 25
$0.57
Q2 25
$0.00
Q1 25
Q4 24
Q3 24
Q2 24
Q1 24

Balance Sheet & Financial Strength

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

Metric
MDB
MDB
MH
MH
Cash + ST InvestmentsLiquidity on hand
$834.1M
$514.4M
Total DebtLower is stronger
$2.6B
Stockholders' EquityBook value
$2.9B
$775.3M
Total Assets
$3.6B
$5.6B
Debt / EquityLower = less leverage
3.36×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
MDB
MDB
MH
MH
Q4 25
$834.1M
$514.4M
Q3 25
$647.1M
$463.2M
Q2 25
$657.8M
$247.3M
Q1 25
$490.1M
Q4 24
$673.1M
Q3 24
$1.3B
Q2 24
$815.7M
Q1 24
$803.0M
Total Debt
MDB
MDB
MH
MH
Q4 25
$2.6B
Q3 25
$2.8B
Q2 25
$3.2B
Q1 25
Q4 24
Q3 24
Q2 24
Q1 24
Stockholders' Equity
MDB
MDB
MH
MH
Q4 25
$2.9B
$775.3M
Q3 25
$2.9B
$794.6M
Q2 25
$3.0B
$283.3M
Q1 25
$2.8B
Q4 24
$1.5B
Q3 24
$1.4B
Q2 24
$1.3B
Q1 24
$1.1B
Total Assets
MDB
MDB
MH
MH
Q4 25
$3.6B
$5.6B
Q3 25
$3.5B
$6.0B
Q2 25
$3.6B
$5.7B
Q1 25
$3.4B
Q4 24
$3.2B
Q3 24
$3.1B
Q2 24
$3.0B
Q1 24
$2.9B
Debt / Equity
MDB
MDB
MH
MH
Q4 25
3.36×
Q3 25
3.52×
Q2 25
11.17×
Q1 25
Q4 24
Q3 24
Q2 24
Q1 24

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
MH
MH
Operating Cash FlowLast quarter
$143.5M
$309.0M
Free Cash FlowOCF − Capex
$141.8M
$285.4M
FCF MarginFCF / Revenue
22.6%
65.7%
Capex IntensityCapex / Revenue
0.3%
5.4%
Cash ConversionOCF / Net Profit
TTM Free Cash FlowTrailing 4 quarters
$346.3M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
MDB
MDB
MH
MH
Q4 25
$143.5M
$309.0M
Q3 25
$72.1M
$265.0M
Q2 25
$109.9M
$-96.7M
Q1 25
$50.5M
Q4 24
$37.4M
Q3 24
$-1.4M
Q2 24
$63.6M
Q1 24
$54.6M
Free Cash Flow
MDB
MDB
MH
MH
Q4 25
$141.8M
$285.4M
Q3 25
$71.6M
$243.8M
Q2 25
$108.3M
$-112.9M
Q1 25
$24.6M
Q4 24
$35.5M
Q3 24
$-2.4M
Q2 24
$63.1M
Q1 24
$51.9M
FCF Margin
MDB
MDB
MH
MH
Q4 25
22.6%
65.7%
Q3 25
12.1%
36.4%
Q2 25
19.7%
-21.1%
Q1 25
4.5%
Q4 24
6.7%
Q3 24
-0.5%
Q2 24
14.0%
Q1 24
11.3%
Capex Intensity
MDB
MDB
MH
MH
Q4 25
0.3%
5.4%
Q3 25
0.1%
3.2%
Q2 25
0.3%
3.0%
Q1 25
4.7%
Q4 24
0.4%
Q3 24
0.2%
Q2 24
0.1%
Q1 24
0.6%
Cash Conversion
MDB
MDB
MH
MH
Q4 25
Q3 25
2.52×
Q2 25
-192.53×
Q1 25
3.19×
Q4 24
Q3 24
Q2 24
Q1 24

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%

MH
MH

Higher Education$225.4M52%
Digital$103.5M24%
Other$44.4M10%
Global Professional$36.2M8%
Print$24.7M6%

Related Comparisons