> For the complete documentation index, see [llms.txt](https://pnd-docs.defigeek.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pnd-docs.defigeek.xyz/punodwo-dokyumento/english/specification/relationship-between-interest-rates-and-rewards/apr-calculation-method.md).

# APR Calculation Method

The vertical axis of all graphs in punodwoɔ represents APR (annualized yield).

APR for borrowers and lenders is calculated using the following formulas respectively.

```
Annualized reward amount for borrowers = baseTrackingBorrowSpeed / 10^15 × 60 × 60 × 24 × 365 × PND unit price
Borrow Reward APR = Annualized reward amount for borrowers / Total borrows × 100
```

```
Annualized reward amount for lenders = baseTrackingSupplySpeed / 10^15 × 60 × 60 × 24 × 365 × PND unit price
Deposit Reward APR = Annualized reward amount for lenders / Total deposits × 100
```

APR <mark style="color:red;">changes</mark> due to fluctuations in the variables in the above formulas (baseTrackingRewardSpeed for borrows and deposits for any pool, total amounts, and PND unit price).

Conversely, the values shown in the graphs are the values assuming these variables remain at current levels for one year without deviation.

By multiplying APR by your borrowed or deposited base assets, you can calculate interest or rewards under the above assumption.

When the CJPY pool's interest rate APR for borrowers is 4.109% and reward APR is 0.543%,\
effective borrow APR is 4.109 - 0.543 = 3.566%, and borrow interest is incurred.\
When the above variables fluctuate and interest rate APR and reward APR become equal, <mark style="color:red;">when effective borrow APR becomes 0%,</mark>

<mark style="color:red;">the state where interest is offset by rewards</mark> is achieved.


---

# 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://pnd-docs.defigeek.xyz/punodwo-dokyumento/english/specification/relationship-between-interest-rates-and-rewards/apr-calculation-method.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.
