If you follow the Indian stock market, you will often hear about the Nifty 50 and Sensex. When the market rises, financial news reports that Nifty and Sensex gained. When investors become nervous, both indices can fall sharply.
But what exactly are Nifty and Sensex? Which companies are included in them, how are they calculated, and can investors invest in them?
This guide explains Nifty and Sensex in simple language and shows why these two indices matter to investors.
What Are Nifty and Sensex?
Nifty 50 is a stock market index that tracks 50 large and liquid companies listed on the National Stock Exchange (NSE). It represents important sectors of the Indian economy and is widely used as a benchmark for the Indian equity market. NSE says Nifty 50 represented about 53.73% of the free-float market capitalization of stocks listed on the NSE as of March 30, 2026.
Sensex, officially known as the S&P BSE Sensex, is the major benchmark index of the Bombay Stock Exchange (BSE). It tracks 30 major companies and is one of India's oldest and most recognized measures of stock market performance.
In simple terms, both indices act like market thermometers. They do not represent every listed company, but they provide a quick view of how many of India's largest businesses are performing.
Nifty 50 vs Sensex: What Is the Difference?
The main difference is the number of companies and the exchange they represent.
| Feature | Nifty 50 | Sensex |
|---|---|---|
| Exchange | NSE | BSE |
| Number of companies | 50 | 30 |
| Main role | Large-cap market benchmark | Large-cap market benchmark |
| Methodology | Free-float market capitalization | Free-float market capitalization |
| Base period | November 3, 1995 | 1978–79 |
| Coverage | 50 major companies | 30 major companies |
Many large Indian businesses are represented in both indices. As a result, Nifty and Sensex frequently move in the same direction, although their daily returns can be different because their company weights and constituents are not identical.
Which Companies Are Included in Nifty 50 and Sensex?
Nifty 50 and Sensex contain companies from several major industries, including banking, information technology, energy, automobiles, telecom, consumer goods, healthcare and industrials.
Some of the prominent companies represented in the Nifty 50 include HDFC Bank, ICICI Bank, Reliance Industries, Bharti Airtel, Larsen & Toubro, State Bank of India, Infosys, Axis Bank, Kotak Mahindra Bank, Mahindra & Mahindra, ITC and Tata Consultancy Services.
NSE's February 27, 2026 constituent data shows that HDFC Bank, ICICI Bank and Reliance Industries were among the largest Nifty 50 constituents by weight at that time.
| Company | Major sector | Nifty 50 |
|---|---|---|
| HDFC Bank | Financial Services | Yes |
| ICICI Bank | Financial Services | Yes |
| Reliance Industries | Energy | Yes |
| Bharti Airtel | Telecom | Yes |
| Larsen & Toubro | Construction | Yes |
| Infosys | Information Technology | Yes |
| State Bank of India | Financial Services | Yes |
| ITC | Consumer Goods | Yes |
| Tata Consultancy Services | Information Technology | Yes |
| Mahindra & Mahindra | Automobiles | Yes |
The exact list should always be checked before publication because index constituents can change during periodic reviews. NSE publishes the official constituent data and methodology for Nifty 50.
The same principle applies to the Sensex. It contains 30 major BSE-listed companies, and its constituents can also change as market conditions and eligibility requirements change.
The important point for investors is that being included in an index does not mean a company will remain there permanently.
How Is the Nifty 50 Calculated?
Nifty 50 uses a free-float market capitalization weighted method. This means companies with a larger eligible market value generally have a greater influence on the index.
For example, suppose a large bank has a much higher free-float market capitalization than a smaller company in the same index. A major movement in the bank's share price will normally have a larger impact on Nifty.
NSE states that Nifty 50 has used the free-float market capitalization methodology since June 26, 2009.
This is why Nifty 50 is not calculated by simply adding the share prices of all 50 companies and dividing them equally.
How Is the Sensex Calculated?
Sensex also uses a free-float market capitalization methodology.
This means the index gives greater importance to companies with a larger eligible market value available for public trading. A heavily weighted company can therefore have a much greater effect on Sensex than a smaller constituent.
This weighting system is important because it explains why the movement of a few large companies can sometimes have a noticeable effect on the overall index.
Why Do Nifty and Sensex Go Up or Down?
Several factors can influence these indices.
Company earnings are one of the most important drivers. Strong profits and better future guidance can increase investor confidence, while weak earnings can put pressure on share prices.
Interest rates also matter. Higher borrowing costs can affect corporate profits and valuations, while lower rates can support economic activity and investment.
Other factors include inflation, RBI policy, crude oil prices, the Indian rupee, foreign investment flows, global stock markets and geopolitical events.
Investor expectations are also important. Stock prices often move before the actual economic impact of an event becomes visible because investors are constantly trying to price future conditions.
Nifty 50 vs Sensex: Which Is Better?
There is no universal answer that one index is better than the other.
Nifty 50 contains 50 companies, while Sensex contains 30. Nifty therefore provides exposure to a somewhat broader group of large companies, while Sensex remains a highly recognized benchmark for the BSE.
For an investor, the better question is:
Which index is more appropriate as a benchmark for my portfolio?
If your portfolio is mainly invested in large Indian companies, comparing its performance with Nifty 50 can help you understand whether your portfolio is keeping pace with the broader market.
Can You Invest Directly in Nifty or Sensex?
You cannot buy an index itself in the same way that you buy shares of a company.
However, investors can get exposure through index mutual funds and exchange-traded funds (ETFs) designed to track Nifty 50 or Sensex.
These products aim to follow the performance of their underlying index, although fees and tracking differences can cause actual returns to vary slightly from the index.
For beginners, index investing can be a simple way to gain exposure to several large companies without selecting individual stocks.
Nifty and Sensex Historical Performance
Historical performance shows that stock markets can deliver strong gains over long periods, but returns are not consistent every year.
The table below shows selected annual Nifty 50 Total Return Index performance. NSE's research shows that Nifty 50 has experienced both strong positive years and significant negative years, demonstrating the importance of a long-term perspective.
| Year | Nifty 50 Total Return |
|---|---|
| 2016 | 4.4% |
| 2017 | 30.3% |
| 2018 | 4.6% |
| 2019 | 13.5% |
| 2020 | 16.1% |
| 2021 | 25.6% |
| 2022 | 5.7% |
| 2023 | 20.0% |
| 2024 | 10.5% |
| 2025 | 9.9% |
The graph makes one point clear: stock market returns are not a straight line. Some years can produce very strong gains, while other periods can be much weaker.
NSE's latest research also reports a 13.68% annualized price return for Nifty 50 over the 10 years ending February 27, 2026.
Investors should therefore focus on long-term performance rather than judging the market from one good or bad year.
Nifty and Sensex During Market Crashes
Market crashes show why investors should understand what an index actually represents.
During a major sell-off, Nifty and Sensex can fall rapidly because investors sell shares across many large companies. However, this does not mean every stock falls by exactly the same percentage.
Some companies may decline much more than the index, while defensive businesses may fall less. A few stocks can even rise while the broader market is under pressure.
This is why an index should be viewed as a benchmark, not a guarantee of portfolio performance.
Final Thoughts
Nifty 50 and Sensex are two of the most important indicators of India's stock market. Nifty tracks 50 major companies on the NSE, while Sensex tracks 30 major companies on the BSE.
Understanding their constituents, calculation methods and major market drivers can help investors make better sense of financial news.
But investors should remember one important lesson: a rising index does not automatically make every stock attractive, and a falling index does not make every company a bad investment.
For individual investment decisions, investors should look beyond the index and study business quality, earnings, valuation, debt, competition and long-term growth prospects.