> For the complete documentation index, see [llms.txt](https://stcspr.docs.paradiso.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stcspr.docs.paradiso.io/liquid-staking-on-casper/rewards-calculation.md).

# Rewards calculation

<figure><img src="/files/z2C8Gf2gyLTozSMD234Y" alt=""><figcaption></figcaption></figure>

### Protocol APR[​](https://docs.lido.fi/#protocol-apr) <a href="#protocol-apr" id="protocol-apr"></a>

When we refer to Protocol APR, we are talking about the gross Annual Percentage Rate. This rate encompasses the combined rewards earned by our validators from both the Consensus Layer (CL) and the Execution Layer (EL). The rewards are calculated as a ratio of the rewards received by our validators to the total pooled CSPR. The estimation is based on a moving average of the last 7 days, providing a comprehensive overview of the annual rewards earned through the protocol.

Note that APR provides only the current estimation of the protocol rewards based on the historical rewards without any upfront forecasts.

### User APR

User APR is the current estimation of the rewards after taking the protocol fee from the protocol rewards. The rewards after taking the protocol fee from the protocol rewards is called User Rewards and used for calculating the increase of the stCSPR rate as follows:

**Increase of Rate = User Reward / Total Supply of stCSPR**

**where User Reward = Protocol Reward \* (100 - ProtocolFee) / 100**

**Updated Rate = Current Rate + Increase Rate**

Similar to the protocol APR, the user APR estimation is also based a moving average of the last 7 days.


---

# 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:

```
GET https://stcspr.docs.paradiso.io/liquid-staking-on-casper/rewards-calculation.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.
