Accrued interest on a cash flow is the interest that has built up since the last payment or accounting date but has not yet been paid or received in cash. You determine it in four moves: identify the principal balance and the exact accrual period, convert the stated annual rate to a daily or per-period rate on the correct day-count basis, multiply by the period, and then apply any compounding and rounding the instrument requires. The key condition is that the accrual period, the rate basis, and the day count must all match the same convention the loan, bond, or deposit uses—mixing a 30/360 loan with actual-day arithmetic will give you a number that annualizes to the wrong figure.

The result shows up in two places that answer different questions. For cash-flow purposes, you care about what will actually change hands and when: accrued interest payable on a liability, or accrued interest receivable on an asset, sitting on the balance sheet until the coupon date or settlement date arrives. For valuation and reporting, you care about the accrual adjustment—the piece of income or expense earned in one period but not yet settled in cash. Both come from the same arithmetic; what differs is the period you cut and whether you're measuring position or flow.

Before any calculation, pin down five inputs: principal outstanding during the period, coupon or stated annual rate, the day-count convention, the payment frequency, and the accrual start and end dates. Missing any one of these produces a number that looks precise and is quietly wrong. The sections below walk through each, then work the estimates by hand, then cover the errors that most often distort accrual figures in practice.

Step 1: Establish the principal balance and the accrual window

Accrued interest starts from a specific balance on a specific date. For a plain fixed-rate loan, that's the outstanding principal after the most recent payment. For a bond, it's the face amount (or the amortized book value, if you're computing accrual for accounting purposes rather than settlement). For a savings account, it's the balance that has actually been earning interest since the last crediting date—not the balance after a pending deposit that hasn't cleared.

The accrual window runs from the last payment date (exclusive, in most conventions) to the valuation date or settlement date (exclusive or inclusive depending on convention). The classic bond-market convention, sometimes summarized as "actual/actual," treats accrued interest as the number of days from and including the last coupon date up to but excluding the settlement date. That asymmetry—include the start, exclude the end—matters at the boundary: a settlement that falls on the coupon date itself usually carries zero accrued interest because the coupon has just been paid.

Two edge cases trip people up. First, a partial period at the start of a loan: the first accrual runs from the disbursement date, not from a calendar month boundary. Second, a skipped or deferred payment: the accrual continues to run over the deferred period, so you must extend the window rather than reset it.

To check your window is right, add the accrual days, the days remaining to the next payment, and any excluded settlement day; the total should equal the full coupon period per the instrument's schedule. If it doesn't, your date handling is off.

Step 2: Match the day-count convention to the instrument

The day-count convention is the rule book for turning a calendar interval into a fraction of a year, and it changes the answer. Three conventions cover most bank and credit instruments:

Actual/365 (fixed) divides the actual number of days elapsed by 365, regardless of leap year. Common on many consumer loans, some money-market instruments, and certain deposit products. A 31-day month at a 6% rate accrues 31 ÷ 365 × 0.06 = 0.005096 of principal, or roughly $50.96 per $10,000.

Actual/360 divides actual days by 360. This is standard for many money-market instruments and some commercial loans, and it's why an "actual/360" loan at a quoted 6% costs more than a 6% actual/365 loan: the same 31 days produce 31 ÷ 360 × 0.06 = 0.005167, or about $51.67 per $10,000. The quoted rate is not the effective annual cost; the day-count basis inflates it by roughly 365/360 ≈ 1.4%.

30/360 treats every month as 30 days and every year as 360, with rules for month-end dates. It's common on many corporate bonds and some mortgages. A full month accrues exactly 1/12 of the annual coupon, which is convenient for scheduled cash flows but diverges from actual calendar accrual, especially in 31-day months and Februaries.

For floating-rate instruments, the rate itself resets periodically (often tied to a reference rate such as SOFR or a prime rate), and you accrue each sub-period at its own rate on its own day-count basis. You cannot collapse a floating-rate accrual into one average rate without documenting that approximation.

The success check here is simple: take your computed accrual for one full coupon period and compare it to the coupon amount you know will be paid. If the instrument pays $300 semiannually on $10,000 at 6%, your accrual over the full period must equal $300 under the instrument's own convention—if you get $296 or $304, you've used the wrong basis.

Step 3: Convert the annual rate to the accrual period

With principal, window, and convention fixed, the per-period rate is:

Period rate = stated annual rate × (accrual days ÷ basis days)

For a simple example, $25,000 outstanding at an 8% stated annual rate, accruing 45 actual days on an actual/365 basis:

Period rate = 0.08 × 45 ÷ 365 = 0.009863 Accrued interest = $25,000 × 0.009863 = $246.58

If the same loan used actual/360, the accrual becomes 0.08 × 45 ÷ 360 = 0.01, or exactly $250. The $3.42 difference is the day-count effect, and over a year at this balance it compounds into a meaningful gap.

For a 30/360 loan at 6% from the 15th of one month to the 15th of the next, the convention says one full month, so the accrual is $10,000 × 0.06 × (30 ÷ 360) = $50. Note that this matches exactly one-twelfth of the annual coupon, which is the whole point of the convention: predictable, calendar-independent splits.

State the units explicitly in your workpaper: rate as a decimal, days as integers, result as currency to the cent. Rounding only at the final step avoids drift; rounding intermediate day fractions can shift a few cents, which matters in reconciliation but not in analysis.

Step 4: Apply compounding, and know when simple interest is correct

Most coupon-bearing instruments and simple loans accrue on a simple-interest basis between payment dates: the accrued amount is linear in time, and the coupon payment resets the clock. Do not compound within the period unless the instrument says so.

Compounding enters when interest is capitalized—added to principal—rather than paid. A savings account that credits interest monthly compounds monthly; a loan with negative amortization capitalizes unpaid interest into the balance, so the next period's accrual runs on a larger principal. The general form for accumulated value is:

Balance after n periods = P × (1 + r/m)^(m × t)

where r is the nominal annual rate, m the compounding frequency, and t the time in years. For $10,000 at 5% compounded monthly for 4 months: 10,000 × (1 + 0.05/12)^4 = 10,000 × 1.016772 ≈ $10,167.72, so interest accrued and capitalized is about $167.72—higher than the $166.67 you'd get from simple pro-rata accrual over 4/12 of a year.

The distinction matters for cash-flow forecasting. If interest is paid in cash each period, your cash-flow line is the coupon, and accrued interest is only a balance-sheet timing item. If interest is capitalized, it never appears as a cash interest payment, but it does change future cash flows by changing the principal. Confusing the two overstates or understates future interest expense.

Worked examples across instrument types

A corporate bond settlement. A bond pays a 5% semiannual coupon on a $1,000 face value, with coupon dates of March 1 and September 1, on a 30/360 basis. You settle a purchase on June 15. Accrued interest runs from March 1 to June 15: three full months (March, April, May) plus 14 days in June under 30/360 month-end rules, giving 3 × 30 + 14 = 104 days, so 104/360 of the $50 semiannual coupon, or $14.44. The buyer pays the seller this amount on top of the clean price; the buyer then receives the full $50 on September 1, netting $35.56 of interest for the 78 days actually held. Check: 104 + 78 = 182, which should equal the full period's 180 days only if the convention's month-end adjustments apply—here the period is 182 actual days, so verify your 30/360 day count against the schedule rather than the calendar. That discrepancy is exactly why 30/360 requires its own month-end rules rather than actual-day subtraction.

A savings account mid-month. An account pays 4.25% credited monthly on the last day of the month, actual/365. On the 18th, the balance that has earned interest all month is $8,400 (a $600 deposit made on the 18th starts earning the next day under the account's terms—check your bank's crediting rule). Accrued interest through the 17th: 8,400 × 0.0425 × 17 ÷ 365 = $16.63. The monthly credit on the 31st will include the 18th through 31st on the larger balance, so don't double count.

A floating-rate loan. A $500,000 loan resets quarterly to a reference rate plus 2.00%, actual/360. If the reference rate is 4.30% for the current quarter's first 30 days and 4.45% thereafter to day 45, accrual = 500,000 × (0.063 × 30 ÷ 360) + 500,000 × (0.0645 × 15 ÷ 360) = 2,625 + 1,343.75 = $3,968.75. Averaging the two rates over 45 days would produce a slightly different number because the sub-periods aren't equal in length; document any such shortcut.

Reconciling accrual to actual cash flows

The practical test of any accrual figure is that it reconciles to cash over the full cycle. Set up a small schedule: opening accrued balance, plus accrual for the period, minus interest paid in cash, equals closing accrued balance. If the instrument pays exactly on schedule and the rate hasn't changed, the closing balance should be zero right after each payment date. A persistent nonzero residual points to a day-count mismatch, a missed rate reset, or a payment posted on a different date than the one you used.

For cash-flow forecasting, separate three lines: interest paid in cash (from the payment schedule), the change in accrued interest (a balance-sheet timing item), and interest expense or income on an accrual basis (the sum effect). Lenders and analysts often forecast the first and forget the second, which is fine for long-run cash totals but wrong for monthly liquidity projections. A borrower whose coupon falls due in January but whose fiscal year ends in December shows accrued interest payable at year-end; that liability is real and will consume cash in the next period.

A useful consistency check: total interest expense over the life of a fixed-rate loan should equal total cash interest paid, assuming no capitalization and no fees. If your accrual schedule doesn't sum to the coupon total, find the discrepancy before trusting any single period's number.

Common errors and how to detect them

Wrong basis for the rate type. A quoted annual rate applied to actual days but divided by 360 rather than 365 overstates accrual by about 1.4%. Detect it by annualizing: if a year of daily accruals at 6% yields more than 6% of principal on a simple basis, your denominator is wrong for a simple-interest instrument.

Inclusive/exclusive date drift. Adding one day at each boundary can shift a bond settlement's accrued interest by a day's worth—about $0.69 per $10,000 at 2.5% semiannual. Detect it by checking that the accrual is zero on the coupon date and equals the full coupon on the day before the next coupon date.

Compounding simple instruments. Applying monthly compounding to a bond that pays semiannually overstates accrual within the period. Match the compounding to the actual payment or capitalization frequency, not to a convenient spreadsheet function.

Stale principal. Accruing on the original balance after a partial repayment overstates interest. Rebuild the principal from the amortization schedule or statement, and confirm the accrual window starts after the payment posts.

Rate resets ignored. On floating-rate instruments, using the prior period's rate for the whole current period misstates accrual whenever the reference rate moved at reset. Pull the reset dates and rates from the loan agreement or servicer statement.

Rounding at each step. Rounding day fractions or intermediate per-diem amounts accumulates cents of error across many periods. Carry full precision and round once at the reporting line.

When to hand the calculation to a professional

Most retail loans, bonds, and deposit accounts follow the mechanics above, but a specific stop condition applies when the instrument is complex enough that a wrong accrual figure has contractual or reporting consequences. Examples: loans with payment-in-kind interest, original-issue-discount bonds where accrual affects tax basis, structured notes with path-dependent coupons, or any instrument whose day-count and business-day conventions are defined in a multi-page indenture. If your reconciliation doesn't close after one careful pass, or if the difference between conventions exceeds the materiality threshold your reporting requires, take the schedule, the instrument terms, and your workpaper to the lender's servicer, a qualified accountant, or the trustee—they can confirm the governing convention rather than have you infer it.