Backtest Metrics Calculator
Sharpe, Sortino, max drawdown, Calmar and recovery time from a return series.
Runs entirely in your browser · Nothing is sent or stored · No signup
One value per period, separated by commas, spaces or new lines. Nothing leaves your browser.
Sharpe ratio (annualised)
4.62
30 periods · 0.12 years
Return
Risk
Trade profile
Educational tool
This calculates statistics from numbers you provide. It is not financial advice, it evaluates no strategy, and it makes no recommendation. Past performance does not indicate future results.
Reading the output#
Sharpe is the headline and the most misused. It assumes returns are roughly normal; strategies with occasional large losses look better on Sharpe than they deserve.
Sortino penalises only downside deviation, which is usually closer to what you care about.
Max drawdown is what people actually abandon strategies during. A strategy with a 40% drawdown and an excellent Sharpe is one most people would not hold through.
Time to recovery is the number nobody reports and everybody feels. Two years underwater ends most conviction regardless of the eventual outcome.
The annualisation assumption#
Annualisation multiplies by the square root of the number of periods per year. That assumes returns are independent across periods. For strategies with autocorrelated returns — trend following especially — annualised Sharpe is overstated. Set the periods per year to match your data.
Related reading
Why Most Backtests Lie
Backtests fail in a consistent direction — optimistic. Here are the five structural reasons, with a detection method for each. Educational research only.
Algorithmic Trading Backtest Lab
A backtesting framework with transaction costs, slippage, walk-forward analysis and survivorship-bias handling — designed to stop a strategy looking better than it is. Educational research only.
Does RSI Actually Work?
Testing the classic RSI(14) mean-reversion rule across 20 years and 500 instruments, with costs included and multiple-testing accounted for.