> For the complete documentation index, see [llms.txt](https://docs.fiinpro.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fiinpro.com/english/methodology/calculating-financial-ratios-for-fiinpro-x/calculating-index-sector-ratios.md).

# Calculating Index/sector Ratios

General formula for calculating Sector-Index:

&#x20;<img src="/files/TzGUytVeJMY7dqmiTnWJ" alt="" data-size="original">

&#x20;Where:

It: Sector-Index at day t

Pit: Price of stock i at day t

Pi0: Price of stock i at day (t-1)

Qit: Volume of stock i at day t

Ht: Divisor factor

&#x20;**I.   Formula for calculating Sector-Index when there is no adjustment:**

&#x20;

Apply the general formula

&#x20;

**II. Formula for calculating Sector-Index in cases of adjustment:**

&#x20;&#x20;

**Why do we need to adjust?**

&#x20;

The index reflects changes in stock prices. Therefore, in the process of calculating the index, factors that change the value of the index but not due to changes in prices, such as newly listed stocks, stock splits, or mergers, are eliminated.

&#x20;

In these cases, the divisor factor is adjusted to ensure that the index is continuous and reflects accurately the changes in prices in the market.

&#x20;

The general adjustment principle: **Total value before adjustment / Unadjusted divisor factor = Total value after adjustment / Adjusted divisor factor**.

***
