Nifty 50 and Sensex explained: what a stock index is and how it is built
Lesson 6 of 9 · 6 min read · Updated 23 Nov 2026
A stock index tracks the combined price movement of a selected group of shares. The Nifty 50 follows 50 large companies on the NSE and the Sensex follows 30 on the BSE; both weight each company by its free-float market cap.
What a stock index is
There are thousands of listed companies in India. Checking each one to see how "the market" did today is impractical. A stock index solves this. It picks a group of shares, combines their prices with a fixed method and turns the result into one number. When people say "the market rose 1% today", they usually mean the Nifty 50 or Sensex rose 1%.
An index is a measuring tool. You cannot buy an index directly, but you can buy funds that copy it.
Nifty 50 and Sensex at a glance
| Nifty 50 | Sensex | |
|---|---|---|
| Exchange | NSE | BSE |
| Number of companies | 50 | 30 |
| Managed by | NSE Indices Limited | Asia Index Private Limited (BSE) |
| Base period and value | November 3, 1995 = 1,000 | 1978-79 = 100 |
| Weighting | Free-float market cap | Free-float market cap |
| Review | Twice a year | Twice a year |
Because both indices hold India's largest companies, they usually move in the same direction on the same day. The Nifty 50 covers more companies and more sectors, so many funds and analysts use it as the main benchmark.
How an index is built
Step 1: choose the companies
The index provider sets rules for who gets in. For the Nifty 50, a company must be among the larger and more actively traded companies on the NSE, must be available for trading in the futures and options segment, and must meet minimum free-float and listing-history rules. The Sensex uses similar tests on the BSE. Exact criteria are published on the exchange websites and can change.
Step 2: find the free float
Free float is the part of a company's shares that is available for the public to trade. It excludes shares held by promoters, the government in some cases, and other strategic holders who are not likely to sell.
Step 3: weight each company
Each company's weight in the index equals its free-float market cap divided by the total free-float market cap of all index members. Bigger companies with more shares in public hands move the index more.
Step 4: compare with the base
The index value tracks how the total free-float market cap has changed since the base date:
The provider adjusts the base when companies enter or leave, or when share counts change, so these events do not make the index jump on their own.
Worked example: a three-company index
Imagine a tiny index with three companies.
| Company | Market cap | Free float | Free-float market cap | Weight |
|---|---|---|---|---|
| Company F | ₹1,000 crore | 50% | ₹500 crore | 50% |
| Company G | ₹600 crore | 50% | ₹300 crore | 30% |
| Company H | ₹800 crore | 25% | ₹200 crore | 20% |
| Total | ₹1,000 crore | 100% |
Company H has a larger market cap than Company G, but a smaller weight, because promoters hold 75% of it.
Say the base free-float market cap was ₹1,000 crore and the base value is 1,000. Today, Company F rises 10% and the others are flat. Company F's free-float market cap goes from ₹500 crore to ₹550 crore, so the total becomes ₹1,050 crore.
New index value = (1,050 ÷ 1,000) × 1,000 = 1,050, a 5% gain. A 10% move in a stock with a 50% weight moved the index by about 5%.
Rebalancing
Index providers review their lists on a set schedule, twice a year for both the Nifty 50 and Sensex. A company that shrinks or trades less can be dropped, and a growing one can be added. The provider announces changes weeks ahead. Index funds then buy the new entrant and sell the one that left.
Other indices you will see
- Sector indices, such as Nifty Bank, Nifty IT and Nifty Pharma, track one industry.
- Broader indices, such as Nifty 100, Nifty 500 and BSE 500, cover more companies.
- Size indices, such as Nifty Midcap 150 and Nifty Smallcap 250, track mid and small companies.
- India VIX measures how much volatility traders expect over the next 30 days. It is not a price index of shares.
How investors use indices
- As a benchmark. If your portfolio rose 8% in a year while the Nifty 50 rose 12%, you lagged the market.
- As a quick health check. The index tells you whether a fall in your share is about the company or the whole market.
- As an investment. Index funds and ETFs hold the same shares as an index in the same weights, at low cost. The index funds and ETFs lesson covers them.
Related lessons and tools
- Previous lesson: Types of orders
- Next lesson: IPO for beginners
- See all indices, including the Nifty 50
- Learn more about market cap
Frequently asked questions
- What is the difference between Nifty and Sensex?
- The Nifty 50 is the NSE's index of 50 large companies with a 1995 base of 1,000. The Sensex is BSE's index of 30 large companies with a 1978-79 base of 100. Both use free-float market cap weighting and usually move together.
- Can I invest directly in the Nifty 50?
- Not directly, since an index is a calculation. You can invest in Nifty 50 index funds or ETFs, which hold the same shares in the same weights, or buy each share yourself.
- What is free-float market cap?
- It is the market value of only the shares available for public trading. It leaves out shares held by promoters and other strategic holders, so it reflects what investors can actually buy.
All lessons in Stock market basics
- What is the stock market? Meaning, how it works and why companies list
- What is a share? Meaning, types and how shares work
- NSE and BSE explained: India's stock exchanges, SEBI and market timings
- Demat and trading account: meaning, difference and how to open one
- Types of orders in the stock market: market, limit, stop-loss and AMO
- Nifty 50 and Sensex explained: what a stock index is and how it is built
- What is an IPO? How to apply, price band, lot size and allotment
- Share trading charges and T+1 settlement explained for beginners
- Common stock market mistakes beginners make and how to avoid them
For education only. Examples use made-up numbers. Nothing here is a recommendation to buy, sell or hold any security. Disclaimer