Every figure this app has shown you until now is nominal — counted in shillings, without asking what those shillings will buy. A 13.6% coupon that leaves you 11.56% after withholding tax sounds like getting meaningfully richer. At the CPI print published beside it, you are getting richer by about half that.
Work it out by dividing, not subtracting. Real return is (1 + your return) ÷ (1 + inflation) − 1. Take a 12% net yield against 6% inflation: that is 5.66%, where subtracting gives 6.00%. Thirty-four basis points sounds like pedantry; it is not, because the error grows with both rates and it always flatters you. Round numbers here to keep the arithmetic legible — the calculator uses the current rate, whatever it is today.
Then there is the part a yield figure structurally cannot show. A bond returns a fixed nominal face value at maturity, however long it has been away. On a fifteen-year bond at 6% inflation, Ksh 100 of principal comes back worth about Ksh 42 in today's money. On a long bond that is where most of the real loss lives, and no amount of coupon arithmetic reveals it.
One consequence worth carrying: an infrastructure bond's tax exemption is worth proportionally more in real terms than in nominal ones, because the exempted amount is measured against a much smaller base once inflation has been taken off. Judging an IFB against an FXD on headline yield alone undervalues the IFB systematically.
The calculator now shows all of this for whichever bond you are looking at, with the inflation rate on a slider — because holding one month's reading constant for fifteen years is an assumption, not a forecast. Kenyan inflation was above 9% as recently as 2023. Move it and watch what survives.