Tested tool guide
Tested browser tools
Checked August 16, 2026
What Sharpe Ratio Calculator does, with a checked example
The Sharpe ratio answers one question: how much return did an investment earn for each unit of risk it took. Enter the portfolio's return, a risk-free rate (typically a short-term Treasury yield), and the standard deviation of returns, and the tool divides the excess return by that volatility. The result is a single number that lets you compare investments with very different risk levels on equal footing. The thing most people get wrong is mixing time frames: a ratio built from monthly data is not comparable to one built from annual data, because the value scales with the square root of the number of periods per year.
Worked example
A concrete input and expected output from the current implementation.
Input
Portfolio return: 12% | Risk-free rate: 2% | Standard deviation: 10%
->
Expected output
Sharpe ratio: 1.00
The tool computes (0.12 - 0.02) / 0.10 = 0.10 / 0.10 = 1.00. The portfolio earned a 10 percentage point excess return while carrying 10 percentage points of volatility, so it produced exactly one unit of excess return per unit of risk.