HomeFinanceCalculate APY: The Formula, Worked Examples and the US Rule

Calculate APY: The Formula, Worked Examples and the US Rule

To calculate APY, divide the yearly interest rate by the number of compounding periods, add 1, raise the result to the number of periods, and subtract 1. APY stands for annual percentage yield. It shows what a deposit earns in one year once compounding is counted, so it is usually a little higher than the stated rate.

This guide covers the formula, the official US method in Regulation DD (the Truth in Savings rule), and worked examples for monthly and daily compounding at a 5% rate on $10,000. It also compares APY with the interest rate and APR. The examples use US dollars, but the same math works in any currency.

The APY Formula

Here is the standard formula to calculate APY for a full year:

APY = (1 + r/n)^n − 1
  • r is the yearly interest rate as a decimal (5% is 0.05).
  • n is the number of compounding periods in a year (12 for monthly, 365 for daily).

Multiply the result by 100 to get a percentage. If interest compounds once a year, n is 1 and the APY equals the rate. The more often interest compounds, the higher the APY, because each period earns interest on the interest already added.

APY and the effective annual rate are the same math. The effective annual rate formula post uses this calculation for loans and investments in general. This post looks at it from the US savings side, where APY is the term set by federal rules. The formula is also a one-year case of the compound interest formula.

How to Calculate APY Step by Step

Take one round example: $10,000 in a savings account at a 5% yearly interest rate. Below, the same rate is compounded monthly and then daily.

Two coin stacks with cards reading 5.12% and 5.13% to calculate APY for monthly and daily compounding

Monthly compounding

  1. Find the periodic rate: 0.05 ÷ 12 = about 0.0041667 (about 0.4167% a month).
  2. Add 1: 1.0041667.
  3. Raise to the 12th power: 1.0041667^12 = 1.051162 (rounded).
  4. Subtract 1: 0.051162, or an APY of about 5.12%.

On $10,000, that is about $511.62 of interest after one year, for a balance of about $10,511.62.

Daily compounding

  1. Find the periodic rate: 0.05 ÷ 365 = about 0.000137 (about 0.0137% a day).
  2. Add 1 and raise to the 365th power: 1.051267 (rounded).
  3. Subtract 1: 0.051267, or an APY of about 5.13%.

On $10,000, daily compounding pays about $512.67 in one year. That is about $1 more than monthly compounding at the same rate. The table shows the full pattern.

Compounding n APY (rounded) Interest on $10,000 in one year
Annually 1 5.00% $500.00
Quarterly 4 5.09% $509.45
Monthly 12 5.12% $511.62
Daily 365 5.13% $512.67

The gains shrink as compounding gets more frequent. Moving from annual to monthly adds far more than moving from monthly to daily. To test other rates, balances or time frames, try the compound interest calculator.

The Regulation DD APY Formula in Plain Words

In the US, Regulation DD sets how banks and savings institutions must work out APY. It defines APY as a percentage rate reflecting the total amount of interest paid on an account, based on the interest rate and how often it compounds over a 365-day period. Appendix A of the rule gives this general formula, which can calculate APY for a term of any length:

APY = 100 × [(1 + Interest/Principal)^(365/Days in term) − 1]

Hourglass and two coin stacks joined by a rising ribbon, showing a six-month term scaled to a yearly APY

In plain words, the Appendix A APY calculation uses three inputs and one exponent:

  • Principal is the amount assumed to be deposited at the start.
  • Interest is the total dollars earned on that principal over the term.
  • Days in term is the actual number of days in the account’s term.
  • The exponent 365/Days in term turns the result for any term into a yearly figure.

For a 365-day term the exponent is 1, so the rule simplifies to APY = 100 × (Interest/Principal). Check it with the monthly example: 100 × ($511.62 ÷ $10,000) gives about 5.12%, the same answer as the first formula.

A shorter term example

Now take a 182-day CD of $10,000 at 5% compounded daily. It earns about $252.43 over the term. The exponent is 365 ÷ 182, about 2.0055. Then 100 × [(1 + 252.43/10,000)^2.0055 − 1] gives an APY of about 5.13%. That matches the daily figure above, which shows how the rule puts a six-month CD and a one-year account on the same yearly scale.

APY vs Interest Rate vs APR

These three terms are easy to mix up. Regulation DD defines the interest rate as the yearly rate that does not reflect compounding. APR is mainly a borrowing term. The CFPB describes APR as a broader measure of the cost of borrowing money than the interest rate, because it can include points and fees.

Term Used for What it reflects Example at 5%
Interest rate Savings and loans The yearly rate, with no compounding 5%
APY Savings accounts and CDs The rate plus the effect of compounding over 365 days About 5.12% with monthly compounding
APR Loans, mortgages and credit cards The rate plus points, fees and other loan charges Depends on the fees charged

For a full look at the borrowing side, see APR vs interest rate.

Why APY Is the Number to Compare Savings Accounts and CDs

Two accounts can quote different rates and compound on different schedules. APY puts them on one scale. Regulation DD supports this. When an advertisement states a rate of return, the advertising rule says it must be stated as an “annual percentage yield” using that term. The interest rate may appear next to it, but not more prominently.

Here is why that matters. Imagine two hypothetical accounts:

  • Account A pays 4.90% compounded daily. Its APY is about 5.02%.
  • Account B pays 5.00% compounded once a year. Its APY is 5.00%.

Calculate APY for both and Account A comes out ahead, even with the lower rate. On $10,000 it earns about $502.17 in a year, against $500.00 for Account B. Comparing rates alone would point the wrong way. Comparing APYs gets it right.

The Federal Reserve’s Regulation DD compliance guide says the rule requires institutions to disclose account terms so consumers can make informed decisions. It also says the interest rate and the APY must both be disclosed for interest-bearing accounts. To see how this yearly figure turns into monthly interest on a real balance, read the guide to savings account interest.

Keep in mind that APY assumes the money stays in the account for the full year and the rate does not change. Withdrawals, fees or a variable rate can make actual earnings differ from the APY.

Conclusion

To calculate APY, use (1 + r/n)^n − 1. At 5%, monthly compounding gives about 5.12% and daily compounding gives about 5.13%. Regulation DD uses an equivalent formula that works from dollars of interest and days in the term, so CDs of any length can be compared on a yearly basis. When you calculate APY for two accounts, the higher APY earns more over a year, whatever rate each one quotes.

RELATED ARTICLES

Most Popular