CorrlensCorrlens
Correlate

Correlation Analysis

Costco Wholesale Corp vs Xylem Inc

COST vs XYL

+0.629

Moderate positive

When one moves up, the other tends to follow.

COST logo

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

XYL logo

Xylem Inc

XYL

Xylem is a global leader in water technology and offers a wide range of solutions, including the transport, treatment, testing, and efficient use of water for customers in the utility, industrial, commercial, and residential sectors. Xylem was spun off from ITT in 2011. Based in Rye Brook, New York, Xylem has a presence in over 150 countries and employs 16,200. The company generated $9 billion in revenue in 2025.

Market cap 29.8B · 22,000 employees

Apr 9, 2021 — Apr 7, 2026Daily1,254 data pointsStockStockConsumer

Time Series

Relative Performance

Green: COSTGray: XYL36 of 1,254 points (sampled)

Who Moves First

XYL leads COST by 6 days

XYL tends to move before COST.

After testing 13 timing shifts, the strongest relationship was +0.630 (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.554

11 periods · Return correlation when both series rose

Both Falling

+0.337

6 periods · Return correlation when both series fell

Diverging

-0.709

18 periods · Return correlation when series moved apart

R-Squared

39.6%

Share of variance in one series explained by the other.

Trend Agreement

64.3%

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.595, 0.662]

Scatter

XY Regression

3064006008001,0001,13475.680100120140157.2Costco Wholesale CorpXylem IncData pointsFit (r = 0.629)

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

COST logo

Costco Wholesale Corp

COST

Market cap 451.9B

Stock · 1,254 raw → 1,254 prepared

Series B

XYL logo

Xylem Inc

XYL

Market cap 29.8B · 22,000 employees

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

0.0532

Linear regression slope.

Intercept

80.3232

Linear regression intercept.

Related Extremes

Highest and Lowest Correlated

Saved 7 hours ago · ID: stock-cost-vs-stock-xyl-daily