Calculation guide
Use three independently repriced values for the same bond, date and model, with equal up/down shifts from base yield. Inputs must all use consistent price units. For embedded options allow negative convexity.
dy=shock_bp/10000; convexity=(p_down+p_up−2p0)/(p0×dy^2); duration_years=(p_down−p_up)/(2p0×dy).
Inputs
Base full price
Example entry 100 (in the selected currency). Minimum 5e-324.
Full price when yield falls
Example entry 105.2 (in the selected currency). Minimum 5e-324.
Full price when yield rises
Example entry 95.2 (in the selected currency). Minimum 5e-324.
Symmetric yield shock in basis points
Example entry 100. Minimum 5e-324.
Worked example
| Input | Value |
|---|---|
| Base full price | 100 |
| Full price when yield falls | 105.2 |
| Full price when yield rises | 95.2 |
| Symmetric yield shock in basis points | 100 |
| Result | Value |
|---|---|
| Effective convexity (years squared) | 40 |
| Effective duration (years) | 5 |
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 |
|---|---|---|---|---|---|
| Base full price | 100 | 110 | Effective convexity (years squared) | 40 | -1,781.818182 |
| Full price when yield falls | 105.2 | 116.2 | Effective convexity (years squared) | 40 | 1,140 |
| Full price when yield rises | 95.2 | 105.2 | Effective convexity (years squared) | 40 | 1,040 |
| Symmetric yield shock in basis points | 100 | 110 | Effective convexity (years squared) | 40 | 33.057851 |
