> For the complete documentation index, see [llms.txt](https://doc.armadillo.is/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.armadillo.is/more-information/premium-calculation.md).

# Premium calculation

We define the dependency between [`CVI`](https://cvi.finance/) and the expected IL percentage for the next 14, 30 and 60 days as a simple quadratic parabola fitted to the historical data.

**Impermanent loss protection price formula is defined as:**

&#x20;**(a\* (Xt-Xo)^2+C)\*P**

where:&#x20;

a - Stands for the coefficient of the fitted model, and describes the quadratic parabola slope.

Xt - Stands for the level of [CVI](https://cvi.finance/) at the time of IL protection purchase.

Xo - Stands for the level of [CVI](https://cvi.finance/) at the lowest expected IL percentage.

C - Stands for the IL percentage relative to X0.

P - Stands for the premium charged, calculated according to the collateral ratio, this variant is designed to create an equilibrium between the liquidity pool value that is provided to the IL protection and the value covered by the IL protection. For example: We defined at 15% the max IL protection cap, which covers up to 99.7% of IL percentage according to historical data.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://doc.armadillo.is/more-information/premium-calculation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
