The formula
A = P × (1 + r / 365)365 × t. With monthly deposits D, each deposit grows at the monthly equivalent of the daily rate, (1 + r/365)365/12 − 1, from the month it is made.
Worked example: $10,000 at 5% compounded daily
| Years | Balance | Interest earned |
|---|---|---|
| 1 | $10,512.67 | $512.67 |
| 3 | $11,618.22 | $1,618.22 |
| 5 | $12,840.03 | $2,840.03 |
| 10 | $16,486.65 | $6,486.65 |
| 20 | $27,180.96 | $17,180.96 |
The effective yield of 5% compounded daily is 5.127% a year.