Stock correlation checker

Pick two to ten NSE stocks to see how closely each pair has moved, from adjusted daily closes over one, two or three years. Each pair gets a correlation from −1 to +1 and a plain reading: on how many days in 10 both rose or both fell. Pairs at 0.7 or more move together.

Stocks · 4 of 10

Reading daily closes from Upstox…

How it's worked out

Your browser reads each stock's daily closes from Upstox's public price service, three years at a time, already adjusted for splits and bonuses. Nothing goes to Profytect, and nothing about you goes to Upstox: the request names only the stock's ISIN.

A day's return is the close over the previous session's close, minus one. Each pair is measured on the sessions both stocks have a return for, so a stock listed last year shortens only its own pairs; the others keep every session in the period.

Correlation is the Pearson correlation of the two stocks' daily returns. How closely two holdings move together, from −1 to +1; near +1 they rise and fall together. It weighs big days more than small ones, so the page also gives the plain count: of the sessions on which both stocks moved, the share on which both rose or both fell. 5 days in 10 is what two unrelated stocks give by chance.

A pair needs 60 shared sessions, about three months of trading, before a figure is shown; with fewer, a few unusual days decide the number. The period starts at two years, as on Profytect's Risk page, long enough to hold more than one kind of market and short enough to describe the companies as they are now.

A pair at 0.7 or more is marked as moving together, the same line Profytect's Risk page draws. If a stock moves more than 40% in one session, most likely a split or bonus Upstox hasn't adjusted yet, only the sessions from that day on are used, and the page says so under the stock.

Worked example: ten sessions of two made-up stocks

Session 1: A +1.2%, B +0.8%Same way
Session 2: A −0.8%, B −0.5%Same way
Session 3: A +0.5%, B −0.3%Opposite ways
Session 4: A +2.1%, B +1.6%Same way
Session 5: A −1.5%, B −1.1%Same way
Session 6: A +0.3%, B −0.2%Opposite ways
Session 7: A −0.4%, B +0.4%Opposite ways
Session 8: A +1.0%, B +0.7%Same way
Session 9: A −2.0%, B −1.4%Same way
Session 10: A +0.6%, B +0.9%Same way
Same way7 days in 10
Correlation0.92

Reading a correlation

At 0.7 or more, two stocks have mostly risen and fallen together, and their big days have come together. Between about 0.3 and 0.6 they share part of their moves, usually the part the whole market moves; two large Indian companies in different businesses often sit here, because foreign and domestic money moves in and out of the market as a whole. Near 0 their daily moves have been unrelated, and below 0 one has tended to rise when the other fell, which is rare between two Indian stocks over years.

The example above shows why the two figures differ. A and B went the same way on 7 days in 10, but their correlation is 0.92, because on every big day they moved together; the three days they disagreed were small ones. Correlation says how much of the size of their moves they share, the count says how often their direction agreed.

Why two banks usually move together

Two banks earn from the same thing, lending, so the same news moves both: the RBI's rate decisions, how fast credit grows, how many loans go bad. They are also large weights in the Nifty and Nifty Bank, so money moving into or out of those indices buys or sells them together. Two IT companies share the dollar and their American clients in the same way. Turn on Compare with Nifty 50 to see how much of each stock's moves the market as a whole explains.

Why ten stocks can still swing like one

Holding more stocks spreads the money out, but it spreads the swing only if the stocks don't move together. Ten stocks whose pairs mostly sit above 0.7 rise and fall almost as one, so the whole book swings nearly as much as a single one of them. The portfolio risk checker measures that for a whole book: its yearly swing, a bad day 1 in 20, and how much each holding adds.

Correlations also change. Over a calm year they are often lower than over the year that holds a sharp fall, when most stocks fall together. Compare the 1-year and 3-year figures to see how much a pair has moved around.

See this for your own holdings, every night

Profytect's Risk page shows this for your own holdings every night, and Check a trade shows what a buy does to it before you buy.

Try Profytect free

Questions

Your browser reads each stock's daily closes from Upstox's public price service; Profytect's servers aren't asked for any price, and the stocks you pick aren't stored. The stock search reads a list of NSE stocks that Profytect copies from Upstox once a day.

The two stocks share fewer than 60 sessions of prices in the period, usually because one of them listed recently, or Upstox didn't send its prices. Choose a longer period, or try again in a minute if Upstox didn't answer.

Correlation depends on the period, on daily or weekly returns, and on whether prices are adjusted for splits and bonuses. This page uses daily returns on adjusted closes over the period shown, the same way Profytect's Risk page measures your holdings.

ETFs listed on the NSE are in the search like any stock. Nifty 50 has its own switch, Compare with Nifty 50, which adds it as one more row.

No. It describes how the stocks moved over the period, not what they will do, and it says nothing about whether either is worth owning. It tells you how much two holdings have shared their ups and downs.

Checked 26 Nov 2026. Estimates from the figures you enter and the rates shown. Your broker's contract note is final. Not investment or tax advice.