Correlation Analysis
Costco Wholesale Corp vs International Business Machines Corporation
COST vs IBM
+0.904
Very strong positive
When one moves up, the other tends to follow.
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
International Business Machines Corporation
↗IBM
Incorporated in 1911, International Business Machines, or IBM, is one of the oldest technology companies in the world. It provides software, IT consulting services, and hardware to help business customers modernize their technology workflows. IBM operates in 175 countries and employs approximately 300,000 people. The company has a robust roster of business partners to service its clients, which includes 95% of all Fortune 500 companies. IBMs products, including Red Hat, watsonx, and mainframes, handle some of the worlds most important data workloads in areas like finance and retail.
Market cap 231.5B
Time Series
Relative Performance
Who Moves First
COST leads IBM by 6 days
COST tends to move before IBM.
After testing 13 timing shifts, the strongest relationship was +0.907 (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.775
12 periods · Return correlation when both series rose
Both Falling
N/A
4 periods · Return correlation when both series fell
Diverging
-0.656
19 periods · Return correlation when series moved apart
R-Squared
81.8%
Share of variance in one series explained by the other.
Trend Agreement
61.0%
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.894, 0.914]
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
Costco Wholesale Corp
COST
Market cap 451.9B
Stock · 1,254 raw → 1,254 prepared
Series B
International Business Machines Corporation
IBM
Market cap 231.5B
Stock · 1,254 raw → 1,254 prepared
Sign agreement
100.0%
How often both values share the same sign.
Zero crossings
7
Estimated crossover points between normalized spreads.
Slope
0.2449
Linear regression slope.
Intercept
13.0327
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
IBM
International Business Machines Corporation
Highest
+0.956
JPMorgan Chase & Co.
JPM · 1,254 data points
Lowest
+0.356
Johnson & Johnson
JNJ · 1,254 data points
Saved 7 hours ago · ID: stock-cost-vs-stock-ibm-daily