# How the APY is Calculated

{% hint style="info" %}
**How the APY is Calculated**

Calculating APY

### Simple Interest Equation (Principal + Interest) <a href="#simple-interest-equation-principal--interest" id="simple-interest-equation-principal--interest"></a>

A = P(1 + rt)

Where:

·       A = Total Accrued Amount (principal + interest)

·       P = Principal Amount

·       I = Interest 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

From the base formula, A = P(1 + rt) derived from A = P + I and since I = Prt then A = P + I becomes A = P + Prt which can be rewritten as A = P(1 + rt)

Note that rate r and time t should be in the same time units such as months or years. Time conversions that are based on day count of 365 days/year have 30.4167 days/month and 91.2501 days/quarter. 360 days/year have 30 days/month and 90 days/quarter.

### Simple Interest Formulas and Calculations: <a href="#simple-interest-formulas-and-calculations" id="simple-interest-formulas-and-calculations"></a>

A = the Final Investment Value, using the simple interest formula: A = P(1 + rt) where P is the Principal amount of money to be invested at an Interest Rate R% per period for t Number of Time Periods. Where r is in decimal form; r=R/100; r and t are in the same units of time.

The accrued amount of an investment is the original principal P plus the accumulated simple interest, I = Prt, therefore we have:

A = P + I = P + (Prt), and finally **A = P(1 + rt)**

·       Calculate Total Amount Accrued (Principal + Interest), solve for A

o   A = P(1 + rt)

·       Calculate Principal Amount, solve for P

o   P = A / (1 + rt)

·       Calculate rate of interest in decimal, solve for r

o   r = (1/t)(A/P - 1)

·       Calculate rate of interest in percent

o   R = r \* 100

·       Calculate time, solve for t

o   t = (1/r)(A/P - 1)

**P = (Principle + Interest) = $1,000**

**A = (Total Accrued Amount) = $9,535,565.80**

&#x20;
{% endhint %}


---

# 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://gbankapy.gitbook.io/usdgbankapy/gbank-apy/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.
