Over a long period, inflation can do a big damage to your capital. This simulator is quite simple and only gives you two cursors to move (duration and cpi inflation). However, you will see that the combination of both can significantly damage your capital. See for yourself!
This calculator provides accurate results but you may also want to talk to a financial advisor to get their calculation and advice.