# 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**.

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fiinpro.com/english/methodology/calculating-financial-ratios-for-fiinpro-x/calculating-index-sector-ratios.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
