Home / Tools
Finance calculators
By Sitraka Forler · Lecturer, Durham Business SchoolUpdated 16 October 2026 About this site
Four calculators for the numbers quants and finance students compute most. Each page gives the formula, a worked example whose figures you can check by hand, the Python that reproduces it and the lesson where you code it yourself. They run in your browser: nothing you type leaves it.
1. Calculators
- 1.1Sharpe ratio calculatorSharpe and Sortino from pasted returns or from mean and volatility, with the annualisation you choose.
- 1.2Value at Risk (VaR) calculatorHistorical and parametric VaR, with expected shortfall, from pasted returns, any confidence level and horizon.
- 1.3Bond duration calculatorPrice, Macaulay and modified duration, convexity and DV01 of a fixed-coupon bond.
- 1.4NPV and IRR calculatorNet present value, internal rate of return and payback period from a list of cash flows.
2. Interactive explainers you can embed
Eight charts with sliders, one per concept, free to embed in course notes, a blog or a slide deck. Open a concept and use Embed this chart under its chart for the snippet, in a light or a dark version.
Looking for a formula rather than a calculator? Every formula on one page.