An accrued interest calculator in Excel calculates the interest that has accumulated on a loan or investment since the last payment date, based on the principal, annual rate, and days elapsed. You enter the principal, annual interest rate, and the start and end dates, and the calculator returns the accrued interest amount. This article explains the formula, shows you how to build the calculator step by step, and covers common pitfalls.
Formula
The standard simple-interest accrual formula is:
Accrued Interest = Principal × (Annual Rate / 100) × (Days / 365)
Where:
- Principal – the amount of money borrowed or invested, in dollars.
- Annual Rate – the yearly interest rate as a percentage (e.g., 5 for 5%).
- Days – the number of days between the last payment date and the accrual date.
- 365 – the assumed number of days in a year. Some instruments use 360 (a “banker’s year”) – see the limitations section.
The calculator above uses the actual number of days between the two dates (Excel’s date serial numbers subtract directly). It assumes simple interest, not compounding, which matches most accrued-interest calculations for bonds, loans, and savings between payment dates.
Worked Example
Using the default values from the calculator:
- Principal = $10,000
- Annual rate = 5%
- Start date = January 1, 2024
- End date = April 1, 2024
Step 1: Calculate the number of days. From Jan 1 to Apr 1 is 91 days (Jan has 31, Feb has 29 in 2024 – a leap year – and Mar has 31, totaling 31+29+31 = 91).
Step 2: Convert the annual rate to a decimal: 5 / 100 = 0.05.
Step 3: Apply the formula: 10000 × 0.05 × (91 / 365) = 10000 × 0.05 × 0.249315… = 124.6575… which rounds to $124.66.
The calculator gives the same result: $124.66.
Assumptions
- Simple interest accrues daily, not compounded during the period.
- A 365-day year is used. Some loans and bonds use a 360-day year (see limitations).
- The start date is the last payment date or the issue date; the end date is the valuation date.
- No fees, penalties, or compounding effects are included.
How to Build This Calculator in Excel
You don’t need a pre-made template – you can create the calculator in a few minutes. Here’s how:
- Open a new Excel workbook.
- In cells A1:A4, enter the labels: Principal, Annual Rate (%), Start Date, End Date.
- In cells B1:B4, enter the values: e.g., 10000, 5, 1/1/2024, 4/1/2024. Format B1 as currency, B2 as percentage (or keep as number), and B3:B4 as dates.
- In cell A6, enter the label “Accrued Interest”.
- In cell B6, enter the formula:
=B1*(B2/100)*(B4-B3)/365 - Format B6 as currency with two decimal places.
That’s it. To make it more robust, you can add data validation to ensure the end date is after the start date, and use the DAYS function instead of direct subtraction: =B1*(B2/100)*DAYS(B4,B3)/365.
When to Use Accrued Interest
Accrued interest appears in several real-world situations:
- Bonds – when you buy a bond between coupon payment dates, you pay the seller the accrued interest.
- Loans – if you pay off a loan early, you owe interest up to the payoff date, not just the last scheduled payment.
- Savings accounts – interest accrues daily but is credited monthly; the accrued amount appears on statements.
- Accounting – businesses record accrued interest as an expense or revenue at the end of an accounting period.
This calculator works for any of these, as long as the rate is annual and simple.
Common Mistakes and How to Avoid Them
- Using 360 days instead of 365 – Some financial instruments (like certain corporate bonds and commercial paper) use a 360-day year. If your instrument uses that convention, change the divisor to 360. The difference is about 1.4% of the interest amount.
- Forgetting to convert the percentage – If you enter 5 instead of 0.05, the result will be 100 times too high. In the formula above, dividing by 100 handles that.
- Date format confusion – Excel stores dates as serial numbers, so subtracting dates gives the correct number of days. But if you enter dates as text, the subtraction fails. Ensure the cells are formatted as Date.
- Leap years – The actual day count includes February 29 in leap years. The calculator handles this automatically because it uses real dates. If you manually count days, be careful.
- Rounding too early – Round only the final result, not intermediate steps, to avoid small errors.
Limitations of the Simple Interest Formula
The formula above assumes simple interest – no compounding within the accrual period. That’s correct for most accrued interest calculations because you’re measuring interest that has not yet been added to the principal. However, if you’re calculating the total interest over multiple periods where interest is compounded (e.g., a savings account that pays interest on interest), you need a compound interest formula instead.
Also, the formula assumes a constant annual rate. If the rate changes mid-period (e.g., a variable-rate loan), you’d need to split the period into sub-periods with different rates. The calculator here only handles a single fixed rate.
Frequently Asked Questions
How do I calculate accrued interest in Excel for a bond?
For a bond, use the same formula: Principal × Coupon Rate × (Days since last coupon payment / Days in coupon period). If the coupon pays semi-annually, divide the annual coupon rate by 2 and use the actual days in the six-month period (usually 180 or 181). The calculator above works if you enter the semi-annual rate as the annual rate and adjust the day count accordingly – but for standard bond accrued interest, you’d replace 365 with the actual days in the coupon period.
What is the difference between accrued interest and compound interest?
Accrued interest is the interest that has accumulated but not yet been paid or added to the principal. Compound interest is interest earned on previously accumulated interest. Accrued interest typically uses simple interest for the period between payments; compound interest applies when interest is added to the principal and then earns more interest.
Does Excel have a built-in accrued interest function?
Yes, Excel has the ACCRINT function for securities that pay periodic interest, and ACCRINTM for securities that pay interest at maturity. These functions require issue dates, settlement dates, coupon rates, and par values. They are more complex than the simple formula above and are designed for bond markets. For a simple loan or savings accrual, the manual formula is easier and more transparent.
Why does my accrued interest calculation differ from my bank statement?
Banks may use a different day-count convention (360 vs. 365), compound interest daily, or include fees. They also might round to the nearest cent at each step. Check your account agreement for the exact method. The calculator gives an estimate; the bank’s disclosure shows the exact figures.
Can I use this calculator for a mortgage payoff?
Yes, but with caution. Mortgage interest is typically calculated monthly on the outstanding balance, not daily. To get the exact payoff amount, you’d need the lender’s per-diem interest figure. This calculator gives a close approximation for the interest between your last payment and the payoff date, but the lender’s payoff statement is the authoritative number.
The result from this calculator is an estimate for educational purposes; always check the lender’s or issuer’s official statement for exact accrued interest amounts.
Related
Formula used
in p | Principal | $ | 10000 | 0 | 100000000 in apr | Annual interest rate | % | 5 | 0.01 | 100 in start | Start date (last payment) | - | 2024-01-01 | 2020-01-01 | 2030-12-31 in end | End date (today or statement) | - | 2024-04-01 | 2020-01-01 | 2030-12-31 out acc | Accrued interest | $ | p * (apr / 100) * (end - start) / 365 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.
More in this section
- How to Pay Off a 72-Month Car Loan Faster$405.53
- Is a 72 Month Car Loan Bad?
- Average Car Loan Payment: Monthly Cost Data$405.53
- 20,000 Car Loan Monthly Payment: What to Expect$405.53
- Car Loan Cost per Month: What to Expect$405.53
- 20k Car Loan Monthly Payment: How Much?$405.53