Bond accrued interest
Estimate the coupon accrued from the last coupon date through, but not including, settlement. The convention is named in the result. Not a trade confirmation.
Dates and coupon
Actual/Actual (ICMA), regular coupons only
accrued = (annual coupon / frequency) × (days from D1 to D2 / days from D1 to D3)
The annual coupon is face times the annual rate. A regular period is exactly 12/frequency months from D1 to D3, using the same day of month or the last day of the month when that day does not exist. Settlement on D1 has zero accrued: the new period has not started to earn. Settlement on or after D3 is refused, because this page stops before the payment date. Irregular periods are refused rather than guessed. Civil-day counting for other purposes is the date calculator; it does not apply a bond day-count.
30/360 (ISDA)
If D1 is 31 it becomes 30. If D2 is 31 and that adjusted D1 is 30, D2 becomes 30. February stays 28 days, or 29 in a leap year. Then N = 360×(Y2−Y1) + 30×(M2−M1) + (D2−D1), and accrued = annual coupon × N / 360.
Checked examples
2.75% semiannual, face 100, 22 October 2024 to 15 January 2025, next coupon 22 April 2025: 85 days over a 182-day period, accrued (2.75/2)×(85/182), about 0.64217033. 30/360 from 15 January 2026 to 1 March 2026 at 5% on 100 is 46 days and about 0.638889. From 31 January 2026 to 31 March 2026 the end-of-month rule makes 60 days and about 0.833333.
Limits
No holiday calendar, no business-day adjustment, no RFR compounding, and no dirty-price quote from a market. Educational only, not a confirmation or a tax lot.
ICMA Primary Market Handbook Appendix A5 (March 2022) and the SIX accrued-interest guide.