# How the APY is Calculated

### Compound Interest Equation (Principal + Interest)

$$
Α= Ρ e^Rt
$$

Where:

* A = Total Accrued Amount (principal + interest)
* P = Principal Amount
* r = Rate of Interest per year in decimal; r = R/100
* R = Rate of Interest per year as a percent; R = r \* 100
* t = Time Period involved in months or years

It should be noted that rate r and time t should be expressed in the same time units, such as months or years. Time conversions based on a 365-day year have 30.4167 days/month and 91.2501 days/quarter. There are 360 days in a year, with 30 days per month and 90 days per quarter.

### <mark style="color:green;">Example 1:</mark>

If the user invests $1000 worth $C24 for a period of 1 year at 0.018% compounding every 10 minutes. He will have $12,846,157.26 C24 after his investment maturity

**P = (Principle + Interest) =&#x20;**<mark style="color:green;">**$1,000**</mark>

**A = (Total Accrued Amount) =&#x20;**<mark style="color:green;">**$12,846,157.26**</mark>


---

# 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://cx24.gitbook.io/clock-24-protocol/how-the-apy-is-calculated.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.
