vs

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

MongoDB, Inc. is the larger business by last-quarter revenue ($628.3M vs $401.4M, roughly 1.6× Affirm Holdings, Inc.). Affirm Holdings, Inc. runs the higher net margin — 32.3% vs -0.3%, a 32.6% gap on every dollar of revenue. On growth, Affirm Holdings, Inc. posted the faster year-over-year revenue change (32.5% vs 18.7%). MongoDB, Inc. produced more free cash flow last quarter ($141.8M vs $118.0M). Over the past eight quarters, Affirm Holdings, Inc.'s revenue compounded faster (43.5% CAGR vs 17.1%).

Affirm Holdings, Inc. is an American financial technology company and a point-of-sale lender. Founded in 2012 by PayPal co-founder Max Levchin, it is the largest U.S. based buy now, pay later (BNPL) financier. As of 2025, Affirm reports nearly 26 million users and processing $37 billion in annual payments.

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.

AFRM vs MDB — Head-to-Head

Bigger by revenue
MDB
MDB
1.6× larger
MDB
$628.3M
$401.4M
AFRM
Growing faster (revenue YoY)
AFRM
AFRM
+13.8% gap
AFRM
32.5%
18.7%
MDB
Higher net margin
AFRM
AFRM
32.6% more per $
AFRM
32.3%
-0.3%
MDB
More free cash flow
MDB
MDB
$23.8M more FCF
MDB
$141.8M
$118.0M
AFRM
Faster 2-yr revenue CAGR
AFRM
AFRM
Annualised
AFRM
43.5%
17.1%
MDB

Income Statement — Q2 FY2026 vs Q3 FY2026

Metric
AFRM
AFRM
MDB
MDB
Revenue
$401.4M
$628.3M
Net Profit
$129.6M
$-2.0M
Gross Margin
71.5%
Operating Margin
29.3%
-2.9%
Net Margin
32.3%
-0.3%
Revenue YoY
32.5%
18.7%
Net Profit YoY
61.3%
79.5%
EPS (diluted)
$0.37

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
AFRM
AFRM
MDB
MDB
Q4 25
$401.4M
$628.3M
Q3 25
$320.5M
$591.4M
Q2 25
$306.6M
$549.0M
Q1 25
$272.5M
$548.4M
Q4 24
$303.0M
$529.4M
Q3 24
$231.8M
$478.1M
Q2 24
$224.0M
$450.6M
Q1 24
$195.0M
$458.0M
Net Profit
AFRM
AFRM
MDB
MDB
Q4 25
$129.6M
$-2.0M
Q3 25
$80.7M
$-47.0M
Q2 25
$69.2M
$-37.6M
Q1 25
$2.8M
$15.8M
Q4 24
$80.4M
$-9.8M
Q3 24
$-100.2M
$-54.5M
Q2 24
$-45.1M
$-80.6M
Q1 24
$-133.9M
$-55.5M
Gross Margin
AFRM
AFRM
MDB
MDB
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
AFRM
AFRM
MDB
MDB
Q4 25
29.3%
-2.9%
Q3 25
19.9%
-11.0%
Q2 25
18.9%
-9.8%
Q1 25
-3.1%
-3.4%
Q4 24
-1.4%
-5.3%
Q3 24
-57.2%
-14.9%
Q2 24
-32.8%
-21.8%
Q1 24
-82.5%
-15.5%
Net Margin
AFRM
AFRM
MDB
MDB
Q4 25
32.3%
-0.3%
Q3 25
25.2%
-8.0%
Q2 25
22.6%
-6.9%
Q1 25
1.0%
2.9%
Q4 24
26.5%
-1.8%
Q3 24
-43.2%
-11.4%
Q2 24
-20.2%
-17.9%
Q1 24
-68.7%
-12.1%
EPS (diluted)
AFRM
AFRM
MDB
MDB
Q4 25
$0.37
Q3 25
$0.23
Q2 25
$0.22
Q1 25
$0.01
Q4 24
$0.23
Q3 24
$-0.31
Q2 24
$-0.13
Q1 24
$-0.43

Balance Sheet & Financial Strength

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

Metric
AFRM
AFRM
MDB
MDB
Cash + ST InvestmentsLiquidity on hand
$1.5B
$834.1M
Total DebtLower is stronger
$9.0B
Stockholders' EquityBook value
$3.5B
$2.9B
Total Assets
$13.0B
$3.6B
Debt / EquityLower = less leverage
2.54×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
AFRM
AFRM
MDB
MDB
Q4 25
$1.5B
$834.1M
Q3 25
$1.4B
$647.1M
Q2 25
$1.4B
$657.8M
Q1 25
$1.4B
$490.1M
Q4 24
$1.2B
$673.1M
Q3 24
$1.0B
$1.3B
Q2 24
$1.0B
$815.7M
Q1 24
$1.3B
$803.0M
Total Debt
AFRM
AFRM
MDB
MDB
Q4 25
$9.0B
Q3 25
$7.7B
Q2 25
$7.6B
Q1 25
$7.1B
Q4 24
$7.3B
Q3 24
Q2 24
$1.8B
Q1 24
Stockholders' Equity
AFRM
AFRM
MDB
MDB
Q4 25
$3.5B
$2.9B
Q3 25
$3.3B
$2.9B
Q2 25
$3.1B
$3.0B
Q1 25
$2.9B
$2.8B
Q4 24
$2.8B
$1.5B
Q3 24
$2.8B
$1.4B
Q2 24
$2.7B
$1.3B
Q1 24
$2.6B
$1.1B
Total Assets
AFRM
AFRM
MDB
MDB
Q4 25
$13.0B
$3.6B
Q3 25
$11.5B
$3.5B
Q2 25
$11.2B
$3.6B
Q1 25
$10.4B
$3.4B
Q4 24
$10.5B
$3.2B
Q3 24
$10.1B
$3.1B
Q2 24
$9.5B
$3.0B
Q1 24
$9.2B
$2.9B
Debt / Equity
AFRM
AFRM
MDB
MDB
Q4 25
2.54×
Q3 25
2.35×
Q2 25
2.48×
Q1 25
2.49×
Q4 24
2.62×
Q3 24
Q2 24
0.67×
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
AFRM
AFRM
MDB
MDB
Operating Cash FlowLast quarter
$173.7M
$143.5M
Free Cash FlowOCF − Capex
$118.0M
$141.8M
FCF MarginFCF / Revenue
29.4%
22.6%
Capex IntensityCapex / Revenue
13.9%
0.3%
Cash ConversionOCF / Net Profit
1.34×
TTM Free Cash FlowTrailing 4 quarters
$619.1M
$346.3M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
AFRM
AFRM
MDB
MDB
Q4 25
$173.7M
$143.5M
Q3 25
$374.6M
$72.1M
Q2 25
$74.6M
$109.9M
Q1 25
$210.4M
$50.5M
Q4 24
$312.0M
$37.4M
Q3 24
$196.9M
$-1.4M
Q2 24
$68.8M
$63.6M
Q1 24
$208.2M
$54.6M
Free Cash Flow
AFRM
AFRM
MDB
MDB
Q4 25
$118.0M
$141.8M
Q3 25
$320.2M
$71.6M
Q2 25
$23.5M
$108.3M
Q1 25
$157.4M
$24.6M
Q4 24
$268.1M
$35.5M
Q3 24
$152.7M
$-2.4M
Q2 24
$30.5M
$63.1M
Q1 24
$161.7M
$51.9M
FCF Margin
AFRM
AFRM
MDB
MDB
Q4 25
29.4%
22.6%
Q3 25
99.9%
12.1%
Q2 25
7.7%
19.7%
Q1 25
57.7%
4.5%
Q4 24
88.5%
6.7%
Q3 24
65.9%
-0.5%
Q2 24
13.6%
14.0%
Q1 24
82.9%
11.3%
Capex Intensity
AFRM
AFRM
MDB
MDB
Q4 25
13.9%
0.3%
Q3 25
17.0%
0.1%
Q2 25
16.7%
0.3%
Q1 25
19.5%
4.7%
Q4 24
14.5%
0.4%
Q3 24
19.0%
0.2%
Q2 24
17.1%
0.1%
Q1 24
23.8%
0.6%
Cash Conversion
AFRM
AFRM
MDB
MDB
Q4 25
1.34×
Q3 25
4.64×
Q2 25
1.08×
Q1 25
75.03×
3.19×
Q4 24
3.88×
Q3 24
Q2 24
Q1 24

Financial Flow Comparison

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

Revenue Breakdown by Segment

AFRM
AFRM

Merchant Network$328.4M82%
Virtual Card Network$73.0M18%
Commercial Agreement Amazon$1.9M0%

MDB
MDB

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

Related Comparisons