Calculation guide
Regular fixed coupon, cum-coupon settlement. Supply day counts already computed with the bond’s contractual convention (e.g. 30/360 or Actual/Actual coupon-period basis). No odd coupons, ex-coupon adjustments or settlement fees. On a coupon date reset elapsed to zero after payment.
accrued_cash=face×coupon/100/frequency×elapsed/days_in_period; accrued_per_100=100×accrued_cash/face; dirty_quote=clean+accrued_per_100; settlement_cash=face×dirty_quote/100.
Inputs
Face value of the position
Example entry 10000 (in the selected currency). Minimum 5e-324.
Annual coupon on face value
Example entry 6 %.
Coupons per year
Example entry 2. Allowed range 1 to 1000000000.0. Use whole numbers.
Clean quoted price per 100 face
Example entry 98.
Accrual days since last coupon
Example entry 60. Allowed range 0 to 1000000000.0. Use whole numbers.
Accrual days in coupon period
Example entry 180. Minimum 1. Use whole numbers.
Worked example
| Input | Value |
|---|---|
| Face value of the position | 10,000 |
| Annual coupon on face value | 6% |
| Coupons per year | 2 |
| Clean quoted price per 100 face | 98 |
| Accrual days since last coupon | 60 |
| Accrual days in coupon period | 180 |
| Result | Value |
|---|---|
| Accrued interest on position | 100 |
| Dirty price per 100 face | 99 |
| Total settlement amount | 9,900 |
How each input affects this example
Each row starts from the worked example and changes one input.
| Input | Original input | New input | Affected result | Original result | New result |
|---|---|---|---|---|---|
| Face value of the position | 10,000 | 11,000 | Accrued interest on position | 100 | 110 |
| Annual coupon on face value | 6% | 7% | Accrued interest on position | 100 | 116.666667 |
| Coupons per year | 2 | 3 | Accrued interest on position | 100 | 66.666667 |
| Clean quoted price per 100 face | 98 | 108 | Dirty price per 100 face | 99 | 109 |
| Accrual days since last coupon | 60 | 66 | Accrued interest on position | 100 | 110 |
| Accrual days in coupon period | 180 | 198 | Accrued interest on position | 100 | 90.909091 |
