Correlation Analysis
Affirm Holdings, Inc. Class A Common Stock vs Costco Wholesale Corp
AFRM vs COST
+0.183
Weak positive
When one moves up, the other tends to follow.
Affirm Holdings, Inc. Class A Common Stock
↗AFRM
Founded in 2012, Affirm is a market leader in the buy-now, pay-later space with around $36 billion in transaction volume in fiscal 2025. Affirm offers both zero-interest financing, which is merchant subsidized, and interest-bearing loans, which function as personal loans that are approved on a per-transaction basis. Over 70% of Affirm's transaction volume comes from its interest-bearing loans, which also comprise the majority of its revenue. Affirm operates in the United States, which accounted for more than 95% of its revenue in 2025, but the firm has also expanded to Canada and the United Kingdom.
Market cap 16.1B · 2,206 employees
Costco Wholesale Corp
↗COST
Founded in 1983, Costco Wholesale now operates a global chain of membership-based warehouse clubs, delivering high-quality goods and services at consistently low prices. As of its most recent fiscal year, Costco operated approximately 910 warehouses, serving more than 80 million members across its three geographic segments: Costco US (approximately 73% of total revenue), Costco Canada (13%), and Costco International (14%).Costco's core value proposition—quality products at unbeatable prices—has yielded consistently strong member renewal rates (93% in the US and Canada and nearly 90% internationally). About 55% of Costco's fiscal 2025 revenue came from its grocery offerings, and another 25% from general merchandise.
Market cap 451.9B
Time Series
Relative Performance
Who Moves First
AFRM leads COST by 6 days
AFRM tends to move before COST.
After testing 13 timing shifts, the strongest relationship was +0.185 (they moved in the same direction).
Do They Crash Together?
Correlation by Market Regime
How these series behave when markets are rising, falling, or diverging. A correlation that holds in drawdowns is very different from one that only works in rallies.
Both Rising
+0.175
14 periods · Return correlation when both series rose
Both Falling
+0.501
9 periods · Return correlation when both series fell
Diverging
-0.600
12 periods · Return correlation when series moved apart
R-Squared
3.4%
Share of variance in one series explained by the other.
Trend Agreement
58.5%
How often both series moved in the same direction period-to-period.
Overlap Quality
1,254
Deep shared window — 1,254 usable pairs.
Significance
p < 0.001
95% CI: [0.129, 0.236]
Scatter
XY Regression
Pipeline
Data quality details
Pipeline
Data quality details
Pipeline Summary
1,254 paired data points survived the daily window.
Raw input
1,254
1,254
Normalized
1,254
1,254
Prepared
1,254
1,254
Aligned
1,254
1,254
Invalid removed
0
A: 0 / B: 0
Duplicates removed
0
A: 0 / B: 0
Alignment drops
0
A: 0 / B: 0
Series A
Affirm Holdings, Inc. Class A Common Stock
AFRM
Market cap 16.1B · 2,206 employees
Stock · 1,254 raw → 1,254 prepared
Series B
Costco Wholesale Corp
COST
Market cap 451.9B
Stock · 1,254 raw → 1,254 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
3
Estimated crossover points between normalized spreads.
Slope
1.2836
Linear regression slope.
Intercept
621.3431
Linear regression intercept.
Related Extremes
Highest and Lowest Correlated
AFRM
Affirm Holdings, Inc. Class A Common Stock
Highest
+0.560
Tesla, Inc. Common Stock
TSLA · 1,254 data points
Lowest
-0.411
Exxon Mobil Corporation
XOM · 1,254 data points
Saved 5 hours ago · ID: stock-afrm-vs-stock-cost-daily