vs

Side-by-side financial comparison of MongoDB, Inc. (MDB) and SAFETY INSURANCE GROUP INC (SAFT). Click either name above to swap in a different company.

MongoDB, Inc. is the larger business by last-quarter revenue ($628.3M vs $319.3M, roughly 2.0× SAFETY INSURANCE GROUP INC). SAFETY INSURANCE GROUP INC runs the higher net margin — 6.3% vs -0.3%, a 6.6% gap on every dollar of revenue. On growth, MongoDB, Inc. posted the faster year-over-year revenue change (18.7% vs 11.4%). SAFETY INSURANCE GROUP INC produced more free cash flow last quarter ($192.0M vs $141.8M). Over the past eight quarters, MongoDB, Inc.'s revenue compounded faster (17.1% CAGR vs 9.1%).

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.

Nationwide Mutual Insurance Company and affiliated companies, commonly shortened to Nationwide, is a group of large U.S. insurance and financial services companies based in Columbus, Ohio. The company also operates regional headquarters in Scottsdale, Arizona and Des Moines, Iowa. Nationwide currently has approximately 24,000 employees, and is ranked No. 72 in the 2025 Fortune 500 list.

MDB vs SAFT — Head-to-Head

Bigger by revenue
MDB
MDB
2.0× larger
MDB
$628.3M
$319.3M
SAFT
Growing faster (revenue YoY)
MDB
MDB
+7.3% gap
MDB
18.7%
11.4%
SAFT
Higher net margin
SAFT
SAFT
6.6% more per $
SAFT
6.3%
-0.3%
MDB
More free cash flow
SAFT
SAFT
$50.2M more FCF
SAFT
$192.0M
$141.8M
MDB
Faster 2-yr revenue CAGR
MDB
MDB
Annualised
MDB
17.1%
9.1%
SAFT

Income Statement — Q3 FY2026 vs Q4 FY2025

Metric
MDB
MDB
SAFT
SAFT
Revenue
$628.3M
$319.3M
Net Profit
$-2.0M
$20.1M
Gross Margin
71.5%
Operating Margin
-2.9%
8.0%
Net Margin
-0.3%
6.3%
Revenue YoY
18.7%
11.4%
Net Profit YoY
79.5%
147.3%
EPS (diluted)
$1.36

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
SAFT
SAFT
Q4 25
$628.3M
$319.3M
Q3 25
$591.4M
$326.6M
Q2 25
$549.0M
$316.3M
Q1 25
$548.4M
$301.4M
Q4 24
$529.4M
$286.7M
Q3 24
$478.1M
$295.3M
Q2 24
$450.6M
$269.8M
Q1 24
$458.0M
$268.2M
Net Profit
MDB
MDB
SAFT
SAFT
Q4 25
$-2.0M
$20.1M
Q3 25
$-47.0M
$28.3M
Q2 25
$-37.6M
$28.9M
Q1 25
$15.8M
$21.9M
Q4 24
$-9.8M
$8.1M
Q3 24
$-54.5M
$25.9M
Q2 24
$-80.6M
$16.6M
Q1 24
$-55.5M
$20.1M
Gross Margin
MDB
MDB
SAFT
SAFT
Q4 25
71.5%
Q3 25
71.0%
Q2 25
71.2%
Q1 25
72.8%
Q4 24
74.4%
Q3 24
73.2%
Q2 24
72.8%
Q1 24
75.0%
Operating Margin
MDB
MDB
SAFT
SAFT
Q4 25
-2.9%
8.0%
Q3 25
-11.0%
11.1%
Q2 25
-9.8%
11.6%
Q1 25
-3.4%
9.4%
Q4 24
-5.3%
3.5%
Q3 24
-14.9%
11.1%
Q2 24
-21.8%
7.9%
Q1 24
-15.5%
9.5%
Net Margin
MDB
MDB
SAFT
SAFT
Q4 25
-0.3%
6.3%
Q3 25
-8.0%
8.7%
Q2 25
-6.9%
9.1%
Q1 25
2.9%
7.3%
Q4 24
-1.8%
2.8%
Q3 24
-11.4%
8.8%
Q2 24
-17.9%
6.2%
Q1 24
-12.1%
7.5%
EPS (diluted)
MDB
MDB
SAFT
SAFT
Q4 25
$1.36
Q3 25
$1.91
Q2 25
$1.95
Q1 25
$1.48
Q4 24
$0.56
Q3 24
$1.73
Q2 24
$1.13
Q1 24
$1.36

Balance Sheet & Financial Strength

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

Metric
MDB
MDB
SAFT
SAFT
Cash + ST InvestmentsLiquidity on hand
$834.1M
$73.9M
Total DebtLower is stronger
$50.0M
Stockholders' EquityBook value
$2.9B
$892.3M
Total Assets
$3.6B
$2.5B
Debt / EquityLower = less leverage
0.06×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
MDB
MDB
SAFT
SAFT
Q4 25
$834.1M
$73.9M
Q3 25
$647.1M
$56.2M
Q2 25
$657.8M
$49.4M
Q1 25
$490.1M
$64.7M
Q4 24
$673.1M
$59.0M
Q3 24
$1.3B
$82.3M
Q2 24
$815.7M
$44.6M
Q1 24
$803.0M
$30.8M
Total Debt
MDB
MDB
SAFT
SAFT
Q4 25
$50.0M
Q3 25
$30.0M
Q2 25
$30.0M
Q1 25
$30.0M
Q4 24
Q3 24
Q2 24
Q1 24
Stockholders' Equity
MDB
MDB
SAFT
SAFT
Q4 25
$2.9B
$892.3M
Q3 25
$2.9B
$899.6M
Q2 25
$3.0B
$873.3M
Q1 25
$2.8B
$850.7M
Q4 24
$1.5B
$828.5M
Q3 24
$1.4B
$851.4M
Q2 24
$1.3B
$810.2M
Q1 24
$1.1B
$807.1M
Total Assets
MDB
MDB
SAFT
SAFT
Q4 25
$3.6B
$2.5B
Q3 25
$3.5B
$2.4B
Q2 25
$3.6B
$2.4B
Q1 25
$3.4B
$2.3B
Q4 24
$3.2B
$2.3B
Q3 24
$3.1B
$2.3B
Q2 24
$3.0B
$2.2B
Q1 24
$2.9B
$2.1B
Debt / Equity
MDB
MDB
SAFT
SAFT
Q4 25
0.06×
Q3 25
0.03×
Q2 25
0.03×
Q1 25
0.04×
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
SAFT
SAFT
Operating Cash FlowLast quarter
$143.5M
$194.5M
Free Cash FlowOCF − Capex
$141.8M
$192.0M
FCF MarginFCF / Revenue
22.6%
60.1%
Capex IntensityCapex / Revenue
0.3%
0.8%
Cash ConversionOCF / Net Profit
9.67×
TTM Free Cash FlowTrailing 4 quarters
$346.3M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
MDB
MDB
SAFT
SAFT
Q4 25
$143.5M
$194.5M
Q3 25
$72.1M
$85.5M
Q2 25
$109.9M
$32.3M
Q1 25
$50.5M
$3.2M
Q4 24
$37.4M
$128.7M
Q3 24
$-1.4M
$73.8M
Q2 24
$63.6M
$25.6M
Q1 24
$54.6M
$-21.1M
Free Cash Flow
MDB
MDB
SAFT
SAFT
Q4 25
$141.8M
$192.0M
Q3 25
$71.6M
Q2 25
$108.3M
$32.3M
Q1 25
$24.6M
$2.8M
Q4 24
$35.5M
$124.3M
Q3 24
$-2.4M
$73.2M
Q2 24
$63.1M
$25.0M
Q1 24
$51.9M
$-24.2M
FCF Margin
MDB
MDB
SAFT
SAFT
Q4 25
22.6%
60.1%
Q3 25
12.1%
Q2 25
19.7%
10.2%
Q1 25
4.5%
0.9%
Q4 24
6.7%
43.4%
Q3 24
-0.5%
24.8%
Q2 24
14.0%
9.3%
Q1 24
11.3%
-9.0%
Capex Intensity
MDB
MDB
SAFT
SAFT
Q4 25
0.3%
0.8%
Q3 25
0.1%
0.0%
Q2 25
0.3%
0.0%
Q1 25
4.7%
0.1%
Q4 24
0.4%
1.5%
Q3 24
0.2%
0.2%
Q2 24
0.1%
0.2%
Q1 24
0.6%
1.1%
Cash Conversion
MDB
MDB
SAFT
SAFT
Q4 25
9.67×
Q3 25
3.02×
Q2 25
1.12×
Q1 25
3.19×
0.14×
Q4 24
15.83×
Q3 24
2.85×
Q2 24
1.54×
Q1 24
-1.05×

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%

SAFT
SAFT

Segment breakdown not available.

Related Comparisons