wp-emoji-styles => 
wp-block-library => /wp-includes/css/dist/block-library/style.min.css
classic-theme-styles => 
global-styles => 
wp-pagenavi => https://www.startrader.com/wp-content/plugins/wp-pagenavi/pagenavi-css.css
addtoany => https://www.startrader.com/wp-content/plugins/add-to-any/addtoany.min.css
jquery => 
addtoany-core => https://static.addtoany.com/menu/page.js
addtoany-jquery => https://www.startrader.com/wp-content/plugins/add-to-any/addtoany.min.js
Icon close

The Rise Of STARTRADER

One Of The
World’s Fastest Growing Brokerage

How Stock Indices Are Calculated: Nifty, Sensex Explained

How Stock Indices Are Calculated Nifty, Sensex Explained

When you open a business news app or listen to someone discuss the “markets,” you’re likely to hear words like Sensex, Nasdaq, or Nifty. These numbers change every day, but what do they actually mean? More significantly, how are they calculated?

Even though stock market indexes seem like just numbers on a screen, they have important stories to tell. They tell us if the stock market is rising, dropping, or weak. They also help investors monitor their performance and make wise decisions.

This article will cover everything in great depth. You will learn how stock indices are calculated globally and in India. We will also teach you how to read technical indicators like moving averages and RSI. Finally, we will examine other instruments, including momentum, the Nifty PE ratio, and the put-call ratio. Let’s begin.

What Are Stock Market Indices?

A stock market index is a number that gauges the total performance of a group of stocks. Think of it as a stock market report card. Instead of focusing on just one company’s performance, it reports on the performance of a collection of them.

For instance, India’s Nifty 50 index examines the performance of 50 major firms listed on the National Stock Exchange (NSE). The Sensex index tracks 30 significant firms listed on the Bombay Stock Exchange (BSE). The index rises when the companies in it perform well and drops if they don’t.

What makes these indices necessary, then?

They allow investors to comprehend market patterns quickly for better investment decisions. Verifying the valuations of over 5,000 stocks one at a time would take an eternity. An index, however, offers a summary. In a single figure, it shows whether the market is healthy or poor.

Different stock indices exist, including:

  • Broad market indices (like the S&P 500 or Nifty 50)
  • Sectoral indices, like the Bank Nifty, which only includes banking stocks.
  • Volatility indices (like the US VIX and India’s VIX)

Every index has its own set of rules. Some treat all businesses equally, while others give larger corporations greater weight. Indeed, each is calculated differently depending on what it should show.

Learn how you can trade these indices via CFD trading

General Formula to Calculate Stock Indices

Stock indices are not random numbers. They’re calculated using explicit formulas. Although these formulas vary from index to index, they all have the same goal: to show the whole movement of a chosen set of stocks in a single figure.

Let’s examine the general operation of this calculation.

How Is a Stock Market Index Calculated?

Most stock indices follow one of two methods:

  • Price-weighted
  • Market-capitalization weighted

Let’s break them down.

In a price-weighted index, companies with higher stock prices have more influence. That means a company trading at ₹2,000 will affect the index more than one trading at ₹200, even if the smaller one is a bigger company. One popular example of this is the Dow Jones Industrial Average (DJIA).

The importance of larger companies is higher in a market-cap-weighted index. Here’s how market capitalization is calculated:

Market Cap = Share Price × Total Number of Shares

This shows that big companies like TCS and Reliance Industries LTD have a larger weight in indices like the Sensex and Nifty 50 index. Therefore, if Reliance’s stock rises, the index will climb considerably more sharply.

The general formula looks like this:

Index Value = (Current Market Value of All Companies in Index) ÷ (Base Market Value) × Base Index Value

Regardless of how the actual stock prices or quantity change over time, this formula helps to normalize the index.

How Are Stock Index Values Derived?

Consider this:

Let’s say an index started with a base value of 1,000 in the year 2000. Then, the collective market value of the 30 companies in the index was ₹10 trillion. The index value would double to 2,000 if the same companies were valued at ₹20 trillion today.

This straightforward reasoning enables us to contrast “then vs. now.” But hold on, there’s more. Many indices use the term “divisor” to help account for stock splits, firm mergers, and other corporate changes while maintaining the index’s significance.

For instance, if a stock is divided into two, its price will drop by half. However, the company’s size doesn’t change. The divisor adjusts the index to prevent the drop from unnecessarily dragging the index down.

The result? A consistent index value that represents real market movement as opposed to artificial changes.

This is how stock indices maintain their values transparently and pertinently, even in intricate markets.

How Major Indian Indices Are Calculated

Some of the world’s most popular stock market indices are found in India. However, how are the Nifty, Bank Nifty, NSE/BSE, and Sensex indexes calculated?

Let’s break them down one by one.

How Is Sensex Calculated?

Have you ever wondered how the Sensex moves every day? The Sensitive Index, or Sensex, gauges the performance of the top 30 firms on the Bombay Stock Exchange (BSE). These companies hold prominent positions in critical areas of the Indian economy.

You can trade major global indices easily using STARTRADER’s indices platform

Now, here’s how Sensex is calculated:

Sensex = (Total Free-Float Market Cap of 30 Companies ÷ Index Divisor) × Base Index Value

Let’s break that down:

  • The “Free-float market cap” describes the number of shares available for public trading. Shares held by the government or promoters are not included.
  • The index divisor is a fixed number that ensures that the index value stays the same when businesses are added or removed.
  • Sensex’s base year is 1978–79, and its base value is 100.

So, how is Sensex calculated in real-time? As the prices of these 30 equities increase and fall, so does their total market capitalization, which impacts the index.

Want to know a secret? Besides monitoring performance, the Sensex also shows how confident investors are about India’s economic future.

How Is Nifty 50 Calculated?

Let’s now talk about the Nifty 50 index—India’s most popular index on the National Stock Exchange (NSE).

So, what is Nifty, and how is it calculated?

The Nifty 50 represents the top 50 businesses in 13 different industries listed on the NSE and serves as a general gauge of the Indian economy.

Now, how is the Nifty calculated?

Nifty Index = (Free-Float Market Cap of 50 Companies ÷ Index Divisor) × 1000

Let’s make things simpler.

  • Free-float market capitalization is used to give a more accurate representation, just like the Sensex.
  • The base value is 1,000, and the base year is 1995.
  • Events like stock splits and company replacements are taken into consideration by the index divisor.

Precious metals like gold are also widely tracked through indices and traded by investors seeking safer assets.

So, how is the Nifty price or value calculated during the day?

Share prices fluctuate according to the free-float market capitalization, and as a result, the Nifty index is automatically updated in real-time.

This approach shows the performance of India’s biggest and most traded stocks. An increase in the Nifty typically means that most large companies are performing well.

That’s how the Nifty 50 is calculated and why it matters so much to investors.

How Is Bank Nifty Calculated?

One of India’s most robust industries is banking. For this reason, there’s a separate index for it called the Bank Nifty.

But how is Bank Nifty calculated? It includes 12 of the most liquid and large-cap banking stocks, such as:

  • HDFC Bank
  • ICICI Bank
  • Axis Bank
  • Kotak Mahindra Bank
  • State Bank of India (SBI)

Bank Nifty = (Free-Float Market Cap of 12 Banks ÷ Index Divisor) × 1000

Just like the Nifty 50, this index:

  • Only considers shares that are openly traded because they use free-float market capitalization.
  • It was created in 2000 and has a base value of 1,000.
  • It makes use of an index divisor to guarantee that the figure stays normal as businesses evolve.

So, how is the Bank Nifty index or price calculated during the trading day?

It updates every few seconds as bank stock prices change. If banks like HDFC Bank or ICICI Bank move up, Bank Nifty goes up, too. If they fall, so does the index.

Want to know why this matters? Bank Nifty is a favorite for traders, especially those who trade futures and options. Its quick swings make it a popular tool for short-term trading.

How Is the NSE/BSE Index Calculated?

You might be wondering. Apart from Nifty and Sensex, how are the broader NSE and BSE indices calculated?

Let’s take each one.

How is the BSE index calculated?

The Bombay Stock Exchange has several indices like:

  • BSE 100
  • BSE 200
  • BSE MidCap
  • BSE SmallCap

Each is calculated using the free-float market cap method. It uses a base year and a base value (usually 100 or 1,000), and it adjusts with an index divisor. Thus, the BSE index reflects the overall movement of the selected set of companies in that group.

How is the NSE index calculated?

The National Stock Exchange also offers indices beyond Nifty 50, like:

  • Nifty MidCap 100
  • Nifty SmallCap 50
  • Nifty 500

Again, the formula remains mostly the same:

Index = (Free-Float Market Cap of Stocks ÷ Index Divisor) × Base Value

This means every index on NSE or BSE uses similar logic. The only difference is the list of stocks and the base settings. So the next time someone asks, “How is the NSE index calculated?” or “How is the BSE index calculated?” you’ve got the answer!

Global Indices Calculation Methods

Stock indices exist in nations other than India. There are widely used indices that function in different ways worldwide. Let’s review how some of them are calculated.

How Is the Nasdaq Composite Index Calculated?

One of the most popular indices in the US is the Nasdaq Composite Index. It tracks over 3,000 companies listed on the Nasdaq, many of which are tech firms, such as Microsoft, Amazon, and Apple. The index was launched in 1971 with a base value of 100, which helped standardize its movement over decades despite massive changes in stock prices and market cap.

How is the Nasdaq Composite Index calculated, then?

Nasdaq Index = (Market Cap of All Nasdaq-listed Stocks ÷ Index Divisor)

Here’s what that means:

  • Like the Nifty and Sensex, it is a market capitalization-weighted index.
    1. Bigger companies are more significant.
    2. Smaller businesses have less of a substantial impact on the index.
    3. It accounts for splits, dividends, and the addition of new companies using an index divisor.

Unlike price-weighted indices, Nasdaq gives importance to how big a company is, not just how high its share price is.

So, when people say “the Nasdaq is up,” it usually means that big tech stocks are performing well. It’s a key sign of how the tech-heavy part of the U.S. market is doing.

How Is the VIX Index Calculated?

The volatility index, or VIX, does not track stock prices. Instead, it evaluates market volatility and fear, measuring how much people think prices will increase or decrease in the future.

The VIX is based on the prices of options (specifically, S&P 500 index options) traded in the market. These options show what traders think will happen in the next 30 days.

VIX = Based on the weighted average of option prices across multiple strike prices

Here’s the trick: Traders expect large market swings, either upward or downward, when option prices are high. A high VIX denotes a high level of uncertainty or dread, while the market is calm when the VIX is low.

So, how does the VIX get calculated in India? India’s version is based on Nifty 50 options and is known as the India VIX. The formula is similar and uses a specific model called the Black-Scholes model to predict volatility.

VIX isn’t about companies; it’s about emotions. And that makes it one of the most watched indices during uncertain times.

How Is the ASX 200 / TSX Index Calculated?

Let’s travel to Australia and Canada now. The ASX 200 tracks the top 200 stocks on the Australian Securities Exchange. It was introduced in 2000 with a base value of 3,133.3, aligning with the All Ordinaries Index at that time. It gives investors a solid look at how Australia’s most prominent companies are doing.

How is the ASX 200 calculated?

ASX 200 = (Free-Float Market Cap of 200 Stocks ÷ Index Divisor)

Just like the Nifty or Nasdaq, it:

  • Uses free-float market capitalization
  • Adjusts with a divisor
  • It gives more weight to larger companies

This helps it show a real-time picture of Australia’s corporate health.

Now, how about the TSX Index in Canada?

The S&P/TSX Composite Index tracks the top companies on the Toronto Stock Exchange. The TSX Index was restructured in 1977 with a base value of 1,000, creating a more accurate benchmark for Canadian markets. It also uses a market-cap-weighted method, adjusted for free float. In both countries, the index moves based on:

  • Company size
  • Share prices
  • Corporate actions

So, when global investors want to compare markets, they look at indices like Nasdaq, ASX 200, and TSX to get a snapshot.

Key Technical Indicators & How They Are Calculated

Stock indices reflect market developments. Technical indicators, however, help traders make better decisions. They use these methods to locate entry and exit points.

Let’s examine how four of the most common ones are calculated.

How to Find the RSI of a Stock?

RSI stands for Relative Strength Index. It’s a number between 0 and 100 that shows whether a stock is overbought or oversold.

  • The stock can be overbought (too costly) if the RSI rises above 70.
  • The stock can be oversold (too cheap) if the RSI drops below 30.

But how is the relative strength index calculated?

RSI = 100–[100 ÷ (1 + RS)]
Where RS = Average Gain over 14 days ÷ Average Loss over 14 days

Here’s how to find RSI of a stock in simple steps:

  1. Look at the stock’s daily price changes for the last 14 days.
  2. Separate gains and losses.
  3. Calculate average gain and average loss.
  4. Plug them into the formula above.

RSI in the stock market helps traders understand momentum. If a stock is rising too fast or falling too quickly, RSI can be your early warning.

How to Calculate Moving Averages (50, 200, etc.)?

Moving averages smooth out price data to show trends. But wait—how is a 50-day moving average calculated?

It’s simple:

50-Day MA = Total closing prices of last 50 days ÷ 50

It’s the same for the 200-day moving average, just using 200 days of data.

So, how do you find the moving average of a stock? You can do it manually using price history or use stock platforms like:

  • TradingView
  • Moneycontrol
  • Yahoo Finance

Want to know how to find stocks below 200 day moving average? Most platforms allow filters or screeners. Just set the condition: “Stock price < 200-day MA,” and the tool will show all results.

Moving averages help you:

  • Spot trends
  • Avoid noise
  • Identify long-term buying/selling signals

Traders love them because they show the “bigger picture.”

How Is Stock Volume Calculated?

Stock volume means the total number of shares traded in a day. It tells you how much interest there is in a stock.

So, how is stock volume calculated?

There’s no big formula. It’s just:

Volume = Total quantity of shares bought/sold during a specific period

For example:

  • If 1,000 people each buy 100 shares of stock in a day, volume = 100,000
  • If no one trades it, volume = 0

You’ll find volume listed beside every stock on trading platforms. It updates in real-time.

Why is volume essential?

Because price + volume = real signal. If a stock goes up with high volume, it’s a strong move. If it goes up with low volume, it might be fake.

Volume gives you confidence in trends. And it helps confirm signals from indicators like RSI and moving averages.

How to Find Support and Resistance of a Stock?

Support and resistance are key price levels on a chart.

  • Support is the price at which a stock usually stops falling.
  • Resistance is where it usually stops rising.

Here’s how to find stock support and resistance:

  1. Look at past charts.
  2. Find price points where the stock:
  3. Bounced up (support)
    1. Fell (resistance)

There’s no fixed formula, but you can also use tools like:

  • Trend lines
  • Moving averages
  • Fibonacci retracement

So, how to find resistance levels or support levels in real time? Most trading platforms let you draw lines or add indicators. You can even set alerts when the price crosses those levels.

Support and resistance in stocks help you decide when to enter or exit a trade. They act like invisible walls on a chart.

Bonus Metrics: Nifty PE, Put-Call Ratio, Momentum

Investors turn to other metrics, such as the Nifty PE ratio, Put-Call Ratio, and momentum, in addition to index values and technical indicators, because they offer a more comprehensive insight into the market’s sentiment and potential future direction.

Let’s explore how each one is measured.

How Nifty PE Is Calculated

PE stands for the Price-to-Earnings ratio. It tells you how expensive or cheap the market is based on company profits.

Nifty PE = Total Market Cap of Nifty 50 Companies ÷ Total Earnings of Nifty 50 Companies

This means:

  • If the Nifty PE is high (say, 27+), stocks might be overvalued.
  • If it’s low (say, under 15), they might be undervalued.

The Nifty PE is published daily on the NSE website. It changes as company profits or prices change.

Why does it matter? Because long-term investors use it to spot market bubbles and seize opportunities.

You are paying extra for every ₹1 profit when the Nifty PE is high. You are getting greater value for your money if the PE is low.

How to Find Put Call Ratio

The Put-Call Ratio (PCR) shows the number of people betting against the market (puts) compared to the market (calls).

Put-Call Ratio = Total Put Options ÷ Total Call Options

  • If PCR > 1: More puts = Bearish mood (market may fall)
  • If PCR < 1: More calls = Bullish mood (market may rise)

So, how do you find the Put Call Ratio?

You can check it live on the NSE derivatives page. Look for “PCR” in the options data section.

PCR is a sentiment indicator used by traders. It enables them to determine whether people are confident or anxious. But hold on, don’t rely just on PCR. For better signals, combine it with volume or price activity.

How to Measure Momentum in Stocks

Momentum tells you how fast a stock is moving in a specific direction.

There are many ways to measure it, but here’s a simple one:

Momentum = Current Price – Price n days ago

For example:

  • If a stock is ₹120 today and was ₹100 ten days ago, momentum = ₹20.
  • If it was ₹130 ten days ago, momentum =–₹10.

You can also use technical indicators like:

  • RSI
  • MACD
  • Rate of Change (ROC)

These show momentum more clearly with charts and signals.

Traders use momentum to catch trends early and ride them for profit. The stronger the momentum, the higher the chance a stock will keep moving in that direction at least for a while.

Final Thoughts

Even though stock indices appear to be straightforward figures, you now understand that there is a lot of activity going on behind the scenes. Every index, from the Sensex and Nifty 50 to the Nasdaq and VIX, is calculated differently, but they all have the same goal: to represent market trends and direct investment choices.

To help investors understand not just where the market is but also where it might be heading, we also looked at essential indicators like RSI, moving averages, and tools like the Put-Call Ratio and Nifty PE.

So, the next time someone asks how stock indices are calculated, you won’t just know the formula; you’ll understand the full story behind the numbers.

Open Live Account

Start trading with A globally leading broker

Want to start trading?

STARTRADER

Online Trading App

Online App Score
Install
Customer Service
Customer Service
Customer Service
Customer Service