What Is a Stock Market Index? How Nifty 50 and Sensex Are Actually Calculated

Every evening someone says "Nifty fell 200 points today" or "Sensex closed in the green", and most of us nod along. For a long time I did too. I knew the number mattered, but I couldn't have told you what was inside it, who picks the companies, or why a move in one big bank can drag the whole thing down.
So this post is the explainer I wish I had read when I started. No market views, just how the thing is built.
An Index Is a Scoreboard, Not a Stock
A stock market index is a single number that tracks the combined value of a chosen group of shares. When those shares, taken together, become more valuable, the index goes up. When they lose value, it goes down.
You can't buy "the Nifty" the way you buy a share of a company. It is a measurement. Funds and other products can be built to follow it, but the index itself is just a carefully maintained calculation.
NSE Indices Ltd describes the Nifty 50 as "a well-diversified 50 companies index reflecting overall market conditions." It is used to benchmark fund portfolios and as the base for index funds, ETFs and derivatives.
The Starting Point: Base Date and Base Value
Every index needs a starting line. For the Nifty 50, NSE Indices lists a base date of 3 November 1995 and a base value of 1,000. The index was launched on 22 April 1996.
The Sensex is older. BSE says it was launched on 2 January 1986, with 1978-79 as the base period and a base value of 100.
This is why the two numbers look so different on your screen. A Sensex reading is not "bigger" than a Nifty reading in any useful sense. They simply started from different points, at different times, with different groups of stocks.
How the Number Is Worked Out
Both indices use what is called the free-float market capitalisation method. That sounds heavy, so let me break it into pieces.
Market capitalisation is share price multiplied by the number of shares. If a company has 10 crore shares trading at ₹500, its market cap is ₹5,000 crore.
Free float is the part of those shares that ordinary investors can actually buy and sell. Shares held by promoters, by the government in some cases, by strategic investors or locked in for a period are not really "floating" in the market. The index ignores them.
NSE Indices handles this through something called the Investible Weight Factor (IWF). It is worked out from the shareholding pattern that each company files with the exchanges every quarter. The methodology lists the holdings that are left out, including promoter shareholding, promoter family members, Foreign Direct Investment, private equity, government holdings and shares under lock-in.
In NSE's own worked example, a company with 1 crore shares where about 39% falls in those excluded groups ends up with an IWF of 0.608794. Only that floating part counts towards the index.
The formula in the methodology document is:
Index Value = (Index Market Capitalisation ÷ Base Market Capitalisation) × Base Index Value
where each stock contributes Shares outstanding × IWF × Capping factor × Price.
The Nifty 50 has used this float-adjusted approach since 26 June 2009. The Sensex moved to it from 1 September 2003, according to BSE.
A Tiny Example to Make It Click
This example is my own and the numbers are made up, just to show the logic.
Imagine an index with only two companies. Company A has ₹9,000 crore of free-float market cap. Company B has ₹1,000 crore. The total is ₹10,000 crore.
Now Company A rises 10%. Its free-float value becomes ₹9,900 crore, and the total becomes ₹10,900 crore. The index is up 9%.
If Company B had risen 10% instead, the total would be ₹10,100 crore. The index would be up just 1%.
Same 10% move, very different effect. That is what "weighted" means. Bigger free-float companies push the index harder.
Why a Few Stocks Move the Whole Index
This is where it gets practical. NSE's factsheet dated 30 October 2026 shows that the top three Nifty 50 constituents by weight were HDFC Bank (9.95%), ICICI Bank (9.39%) and Reliance Industries (7.30%). Financial services as a sector made up 37.13% of the index.
So on a day when big banks fall sharply, the Nifty can end in the red even if most of the 50 companies went up. When I read "Nifty down" now, I check which heavyweights moved before deciding the whole market had a bad day.
Who Picks the Stocks, and When?
Stocks don't get into an index by popularity. There are written rules.
For the Nifty 50, the methodology says companies are chosen from the Nifty 100 based on free-float market cap. They also need to be liquid: an average impact cost of 0.50% or less for 90% of observations, for a basket of ₹10 crore. Impact cost is roughly the extra price you pay because of the gap between buyers and sellers, so a low number means the stock is easy to trade in size. The company must also have derivative contracts available on NSE.
The Nifty 50 is reviewed twice a year, using six months of data ending January and July. Any replacements take effect from the last trading day of March and September, with four weeks' notice to the market.
The Sensex has its own process. BSE says its 30 companies are drawn from the BSE 100, and stocks must meet conditions such as at least six months of listing history at BSE and having a derivative contract.
Nifty 50 and Sensex Side by Side
Exchange: Nifty 50 tracks the NSE (run by NSE Indices Ltd), whereas Sensex tracks the BSE.
Number of companies: Nifty 50 covers 50 large-cap companies, whereas Sensex covers 30.
Base period and value: Nifty 50 starts from 3 Nov 1995 = 1,000, while Sensex starts from 1978-79 = 100.
Calculation method: Both indices use the free-float market capitalisation method.
Because both are built from large companies with similar methods, they usually move in the same direction on most days. The percentage change can still differ a little because the stocks and their weights are not the same.
What Doesn't Move an Index
One thing confused me early on. When a company splits its shares or does a rights issue, its share price changes overnight. Does the index jump?
No. The methodology says it accounts for constituent changes and corporate actions such as stock splits and rights issues "without affecting the index value." The calculation is adjusted so that only real changes in market value show up. The same logic applies when one company is replaced by another during a review.
Reading Index News With Fresh Eyes
Once you know how an index is built, a lot of market headlines become easier to read. A 1% fall in Nifty means the combined free-float value of those 50 companies fell about 1%, with the heaviest stocks doing most of the work. It doesn't tell you what happened to the stock you own.
If you want to go one step further, the India VIX is built on Nifty options and tries to measure how much movement the market expects. And if you are curious how new companies enter the market before they ever qualify for an index, I have also written about how IPO subscription categories work.
FAQs
What is a stock market index in simple words?
It is one number that tracks the combined value of a selected group of shares. If those shares together gain value, the index rises. If they lose value, it falls.
How many companies are in the Nifty 50 and the Sensex?
The Nifty 50 has 50 companies, according to NSE Indices. The Sensex has 30 companies, according to BSE.
What is free-float market capitalisation?
It is the market value of only those shares that are realistically available for trading. Holdings such as promoter shares, certain government holdings and locked-in shares are left out of the index calculation.
Why is the Sensex number so much higher than the Nifty number?
They started from different base values and dates. The Sensex base is 100 for 1978-79, while the Nifty 50 base is 1,000 on 3 November 1995. The raw numbers can't be compared directly; percentage changes are what matter.
How often are Nifty 50 stocks changed?
NSE Indices reviews the Nifty 50 twice a year. Changes, if any, take effect from the last trading day of March and September, with four weeks' prior notice.
Does a stock split change the index value?
No. The index is adjusted for corporate actions like splits and rights issues so that the index value is not affected by them.
Sources: NSE Indices Ltd, Nifty 50 factsheet (30 October 2026) and Nifty Indices Methodology Document (November 2026); BSE, SENSEX@40 white paper and BSE SENSEX FAQ.
For more simple explanations of how the market works, join my Telegram: t.me/nishijain_com


