Stock Correlation Calculator

A stock correlation calculator measures how closely two stocks move together, on a scale from −1 to +1. A reading near +1 means they rise and fall together. Near 0 means no steady relationship. Near −1 means they move opposite. Correlation is calculated from period returns, not raw prices, using the Pearson formula.

The formula

How to use the stock correlation calculator

Worked examples

Two tech stocks. Two large-cap tech names often show a daily return correlation around 0.6 to 0.8. Owning both adds less diversification than the two tickers suggest.

Why prices mislead. Two stocks that both drifted up for a year can show a price correlation above 0.9 while their daily returns correlate at 0.2. The shared trend, not shared daily behavior, produced the high number.

Where traders get this wrong

What this calculator cannot tell you

Correlation measures direction, not size. Two stocks can correlate at 0.9 while one moves three times as much as the other. It also changes over time, which is what the rolling chart shows. A series that never changes has no defined correlation, and that pair shows as not available.

Use it with these calculators

Sources

Stock Correlation Calculator questions

How do you calculate correlation between two stocks?

Convert both price series to period returns, line them up by date, then apply the Pearson correlation formula.

What is a good correlation for diversification?

Lower is better for spreading risk. Holdings that correlate below about 0.5 add real diversification. Above 0.8 they behave like one position.

Should I use prices or returns for correlation?

Returns. Price levels trend, and shared trends inflate the result.

Can correlation be negative?

Yes. A negative reading means the two tend to move in opposite directions. Stable negative correlation between two stocks is rare.

Does low correlation mean low risk?

No. It means the holdings do not move in step. A portfolio of uncorrelated, highly volatile stocks is still volatile.

By the FullStack Alpha Editorial Team. Reviewed by Jay Rocco, Chief Editor. Educational tool, not financial advice.

The FullStack Alpha Network

Four sites, one standard. Tested tools, no paid rankings.