Correlation Analysis
Costco Wholesale Corp vs Rivian Automotive, Inc. Class A Common Stock
COST vs RIVN
-0.438
Moderate inverse
When one moves up, the other tends to move down.
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
Rivian Automotive, Inc. Class A Common Stock
↗RIVN
Rivian is a battery electric vehicle automaker that sells its vehicles in the US and Canada. The company also develops electronic control units and related software for autos in a joint venture with Volkswagen. Rivian has multiple vehicles in its fleet, which include a luxury truck and full-size SUV and a delivery van. The company plans to begin selling a midsize SUV in 2026. Total deliveries were over 42,000 in 2025. Rivian is also developing autonomous driving software to be used in its vehicles.
Market cap 19B · 15,232 employees
Time Series
Relative Performance
Who Moves First
COST leads RIVN by 6 days
COST tends to move before RIVN.
After testing 13 timing shifts, the strongest relationship was -0.448 (they moved in opposite directions).
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.008
11 periods · Return correlation when both series rose
Both Falling
+0.380
9 periods · Return correlation when both series fell
Diverging
-0.580
15 periods · Return correlation when series moved apart
R-Squared
19.2%
Share of variance in one series explained by the other.
Trend Agreement
59.8%
How often both series moved in the same direction period-to-period.
Overlap Quality
1,104
Deep shared window — 1,104 usable pairs.
Significance
p < 0.001
95% CI: [-0.484, -0.389]
Scatter
XY Regression
Pipeline
Data quality details
Pipeline
Data quality details
Pipeline Summary
1,104 paired data points survived the daily window.
Raw input
1,254
1,104
Normalized
1,254
1,104
Prepared
1,254
1,104
Aligned
1,104
1,104
Invalid removed
0
A: 0 / B: 0
Duplicates removed
0
A: 0 / B: 0
Alignment drops
150
A: 150 / B: 0
Series A
Costco Wholesale Corp
COST
Market cap 451.9B
Stock · 1,254 raw → 1,254 prepared
Series B
Rivian Automotive, Inc. Class A Common Stock
RIVN
Market cap 19B · 15,232 employees
Stock · 1,104 raw → 1,104 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
1
Estimated crossover points between normalized spreads.
Slope
-0.0459
Linear regression slope.
Intercept
56.6455
Linear regression intercept.
Related Extremes
Highest and Lowest Correlated
COST
Costco Wholesale Corp
Highest
+0.977
Republic Services Inc.
RSG · 1,254 data points
Lowest
-0.912
Fiserv, Inc. Common Stock
FISV · 644 data points
RIVN
Rivian Automotive, Inc. Class A Common Stock
Highest
+0.170
Tesla, Inc. Common Stock
TSLA · 1,104 data points
Lowest
-0.728
Exxon Mobil Corporation
XOM · 1,104 data points
Saved 6 hours ago · ID: stock-cost-vs-stock-rivn-daily