Tools

    Calculator

    Correlation Calculator

    Correlation Calculator

    Quick Use Samples
    PeriodAsset AAsset B
    1
    2
    3
    4
    5
    6
    7
    8

    Pearson Correlation (r)

    1.00

    Shared Variance (R²):99%

    Correlation Analysis

    A correlation of 1.00 is effectively one asset in two wrappers — 99% of the variance in one is explained by the other. Holding both buys almost no diversification. If costs, yields, or taxes differ between them, pick the better vehicle; otherwise holding both is just concentrated risk with extra paperwork.

    *Pearson correlation over the entered paired periods. Correlation is backward-looking and varies by horizon; it does not guarantee future co-movement. Educational only, not investment advice.

    Why Two Holdings Aren't the Same as One

    Diversification is often described as not putting all your eggs in one basket, but the real question is whether two baskets ride in the same truck. Correlation measures how consistently two assets move together, from plus one (locked in step) through zero (independent) to minus one (mirror images). Two funds that both track the S&P 500 will show a correlation near one regardless of their names, while equities and long-term Treasury bonds have historically shown low or negative correlation during equity drawdowns — which is precisely why the classic sixty-forty portfolio holds together in a downturn. For American investors the number matters because most portfolios are far less diversified than they appear. Holding forty individual US stocks sounds diversified, but if they all swing with the same market factor the portfolio carries one big bet, not forty. The same holds for asset classes: real estate, high-yield bonds, and emerging markets often correlate with US equities more closely than their marketing suggests, especially in crises when correlations famously 'go to one.' The correlation coefficient is the cheapest, fastest test of whether a new purchase actually adds a distinct return stream — or just adds paperwork to a bet you already own.

    Covariance, Normalized to a Minus-One to Plus-One Scale

    Correlation is covariance divided by the product of the two standard deviations. Covariance captures how the two series move around their own averages in tandem: for each paired period, multiply asset A's deviation from its mean by asset B's deviation from its mean, average those products, and the sign tells you the direction — positive when they deviate the same way, negative when opposite. But covariance's scale depends on the volatility of each series, so it is impossible to compare across different pairs. Dividing by the two standard deviations removes the scale and pins the result between minus one and plus one — the Pearson correlation coefficient, r. Squaring it yields R-squared, the share of one series' variance explained by the other, which answers how much of asset A's movement asset B accounts for. The calculator applies this pair-by-pair to the entered returns, handling unequal lengths by using only the paired periods, and reports r, R-squared, covariance, each asset's volatility, and a hedge-quality verdict. One caution the math cannot fix: correlation is a linear measure of co-movement sampled from history, and a small or turbulent sample can make the number swing almost as much as the assets themselves.

    Expert Insights

    Correlations Rise Exactly When You Need Them Most

    The most dangerous moment for diversification assumptions is a market crisis, because in a broad selloff investors sell what they can sell, not what they want to sell — and nearly everything equity-correlated drops together. Bonds, real estate funds, international stocks, and high-yield credit all see their correlations to US equities spike toward one in the worst weeks. This is why a correlation measured in calm times flatters a portfolio's diversification benefit. When underwriting how much protection an asset provides, assume its crisis correlation is higher than its long-run average, and give the most trust to assets with a structural reason to move differently, not just a historical pattern.

    High R-Squared Means Redundancy, Not Synergy

    When two holdings share 90% of their variance, the second one adds nothing to the portfolio except cost and complexity — the combined position behaves like holding more of the first. Many investors discover this only after a drawdown moves both funds identically. Before adding a position, compute its correlation against what you already own, not against the market alone. A new international fund that is 0.9 correlated with your existing US fund is not international diversification; it is a second expense line on the same exposure. Real diversification requires return streams with a genuine economic reason to differ.

    Negative Correlation Is a Hedge Only if It's Stable

    A minus 0.6 correlation looks like an excellent hedge until you ask what is driving it. If the inverse relationship comes from a durable economic mechanism — long Treasuries rallying when growth expectations fall, gold rising when real rates drop — the hedge has legs. If it comes from a short sample, a temporary regime, or shared liquidity effects, it can flip without warning. Treasuries, the most relied-upon equity hedge in American portfolios, turned positively correlated with stocks as inflation surged in 2022, breaking a forty-year pattern. Verify the mechanism behind a negative correlation before sizing a hedge around it.

    Actionable Tips

    • 1

      Test Every New Fund Against What You Already Own

      Before buying any new fund or stock, paste a few years of paired monthly returns into this calculator against your largest existing holdings. If the correlation is above 0.8 with your core position, the purchase is largely redundant; between 0.4 and 0.8 it adds partial diversification; below 0.3 it genuinely changes the portfolio's risk profile. This one check filters out the majority of disappointing fund purchases, which usually turn out to be expensive second copies of an existing bet. The discipline takes five minutes and prevents years of hidden concentration.

    • 2

      Measure Correlation in Both Bull and Bear Windows

      Correlation is not a fixed property of a pair; it changes with the market regime. Run the calculator separately on an up-market stretch and on a down-market stretch. Assets that show low correlation in rallies but high correlation in selloffs offer only fair-weather diversification — they protect nothing when protection is needed. The pairs worth keeping are those whose low or negative correlation persists in the down window. That bear-market number, not the all-period average, is the one that decides how your portfolio behaves in the moments that matter.

    • 3

      Build Around the Uncorrelated Core, Then Add Satellites

      Use correlation to structure the portfolio deliberately: one or two genuinely distinct return streams as the core (for example, diversified equities plus duration bonds or cash), then satellites layered around them. Each addition should be checked against the core before entry. If you cannot find a meaningful number of low-correlation assets, that is itself a useful finding — it argues for holding fewer, truly distinct positions rather than many correlated ones. A five-position portfolio of independent return streams usually beats a thirty-position portfolio of one bet wearing thirty labels.

    Real-World Examples

    Sanjay's Twenty Stocks Were One Bet

    Sanjay held twenty individual US technology stocks and believed he was well diversified. Running the calculator on paired monthly returns across his holdings against a broad index fund showed correlations clustering around 0.85, and an index fund against the same returns showed his portfolio moved almost lock-step with the market. He had built twenty variations of a single technology bet. He sold down to a core index position plus a handful of genuinely different exposures, and the portfolio's drawdowns in the following tech selloff were markedly milder — for the first time, his diversification was real.

    The Bonds That Betrayed the Sixty-Forty Plan

    For decades the sixty-forty stock-bond portfolio was the default American retirement allocation because bonds reliably fell when stocks fell — a negative correlation that cushioned every drawdown. In 2022, as inflation and rising rates hit simultaneously, that correlation flipped positive: stocks fell and bonds fell together, and sixty-forty portfolios experienced one of their worst historical years. Investors who had never computed the correlation, only assumed it, took the double hit without warning. The lesson was not that diversification fails, but that every diversification assumption must be measured in the current regime, not inherited from the last one.

    Lena Found Her Real Diversifier in a Boring Place

    Lena hunted for diversifiers in exotic assets — commodities, managed futures, private credit — and kept finding correlations above 0.6 against her equity core when markets sold off. Then she tested short-duration Treasuries and cash equivalents: correlations near zero in every window, including crashes, and with none of the exotic fees. Rebuilding around a low-correlation core of equities, duration, and cash cut her portfolio's drawdowns without sacrificing much return. The best diversification she found was also the cheapest and most boring — a recurring pattern once investors measure instead of assume.

    Glossary of Terms

    Pearson Correlation (r)
    A measure from minus one to plus one of how consistently two series move together linearly, computed as their covariance divided by the product of their standard deviations.
    Covariance
    The raw measure of two assets' joint movement around their means; positive when they deviate the same direction, negative when opposite. Its magnitude depends on the assets' volatilities.
    R-Squared
    The correlation squared — the proportion of one asset's variance explained by the other. An R-squared of 0.8 means roughly 80% of one series' movement tracks the other.

    Frequently Asked Questions

    Everything you need to know about this topic.

    Ivy Sinclair-Wren

    Ivy Sinclair-Wren

    Financial Chaos Analyst

    Connect on LinkedIn

    Ivy Sinclair-Wren is a Financial Chaos Analyst covering investing, AI, wealth psychology, and the emotional consequences of opening finance apps during market crashes. Based in Melbourne, she specializes in demystifying the US tax code and helping users navigate the intersection of spreadsheet logic and human irrationality.