Learn / Backtesting Academy / Risk-Free Rate
Methodology

Risk-Free Rate

Quick Answer

The risk-free rate is the return you could earn with essentially no risk, usually proxied by short-term US Treasury bills. It is the baseline that risk-adjusted metrics like the Sharpe and Sortino ratios measure a strategy against, because only the return a strategy earns above this rate is compensation for taking risk.

What is the Risk-Free Rate?

The risk-free rate is the theoretical return on an investment that carries no risk of loss. No such investment exists in a strict sense, so in practice it is proxied by the yield on short-term government debt from a borrower considered extremely unlikely to default. In US dollar terms that proxy is the Treasury bill, typically the 3-month bill, chosen because its maturity is short enough that interest-rate moves barely affect its price. When you hear that the risk-free rate is "4 percent", it means a Treasury bill of that maturity is yielding roughly 4 percent a year.

The reason this number matters is opportunity cost. An investor always has the option to hold Treasury bills and collect that yield for taking no meaningful risk. So the interesting part of any risky strategy's return is not its total return but its excess return, the amount it earned above what the risk-free alternative would have paid. A strategy that returned 6 percent in a year when bills paid 5 percent delivered only 1 percent of reward for all the volatility it put its holder through. The same 6 percent in a year when bills paid 1 percent is a far better outcome. The risk-free rate is what turns a raw return into a return you can judge.

It is important to see that the risk-free rate is not constant. It moves with monetary policy and the level of short-term interest rates. Across the 2010s it sat near zero for years; by the mid-2020s it was several percent. A backtest that spans a decade or more crosses very different rate regimes, so treating the risk-free rate as a single fixed number over the whole window quietly distorts every risk-adjusted metric it feeds.

Why the Risk-Free Rate Matters in Backtesting

Every risk-adjusted metric a backtest reports is built on the risk-free rate. The Sharpe ratio is excess return divided by volatility, and the "excess" is measured against the risk-free rate. The Sortino ratio does the same with downside volatility. Get the rate wrong and both numbers move, sometimes enough to flip a strategy from looking attractive to looking mediocre. The decision at stake is comparison: whether this strategy earned its risk, and whether it beat the free alternative of simply holding bills. That question cannot be answered without the rate.

The size of the effect is easy to underestimate. Consider a strategy that returned 8 percent a year with 12 percent volatility. Against a 1 percent risk-free rate its Sharpe ratio is about 0.58. Against a 4 percent rate it drops to about 0.33. Nothing about the strategy changed; only the baseline did, and the risk-adjusted verdict roughly halved. A backtester that assumes a single low rate across a window that actually included high-rate years will systematically flatter its strategies, reporting risk-adjusted numbers no investor living through those years could have matched.

There is a documented history of this baseline being taken too casually. For years it was common for retail-facing tools and even some published studies to plug in a fixed 2 percent risk-free rate, or to drop it altogether and report the ratio as if the rate were zero. In the near-zero-rate decade after the 2008 crisis that shortcut did little harm. Once short rates climbed back above 4 percent, the same shortcut started overstating Sharpe ratios noticeably, because it credited strategies with excess return they had not actually earned over the true, higher baseline. The fix is not clever; it is simply using the rate that actually prevailed at each point in time.

How SledgeKey Handles the Risk-Free Rate

SledgeKey does not hardcode a single risk-free rate. It uses real US Treasury rates recorded over time, so the baseline in your backtest reflects the actual short-term rate that prevailed during the period being measured rather than a stand-in guess. When the platform computes the Sharpe and Sortino ratios for both your strategy and its benchmark, it subtracts the genuine risk-free rate for the window, which means a strategy tested through the low-rate 2010s and the higher-rate 2020s is judged against the correct baseline in each stretch instead of a flat assumption.

You do not set the risk-free rate yourself; there is no control to adjust it, and that is intentional. The whole point of a risk-free baseline is that it is a market fact, not a preference, so exposing it as a dial would only invite the temptation to tune it. On the results page, the effect shows up inside the risk-adjusted ratios: the Sharpe and Sortino figures already have the correct, time-varying baseline built in. The rolling 12-month Sharpe chart goes a step further, using the rate that applied within each rolling window rather than the full-period average, so the risk-adjusted picture stays honest as rates change across the backtest.

Because the same treasury data also underpins the platform's option-based hedging, the risk-free rate you see reflected in the Sharpe ratio and the rate used to price a protective put come from the same source. That consistency matters: a strategy's risk-adjusted score and the cost of insuring it are anchored to one coherent view of what money earns risk-free.

Common Pitfalls

The first pitfall is assuming the risk-free rate is zero, or close to it, out of habit. That assumption was nearly harmless during the years short rates hugged the floor, and it has misled a generation of investors who learned to backtest in that era. In a 4 or 5 percent rate environment, ignoring the baseline inflates every Sharpe and Sortino ratio, because it counts the risk-free return itself as if it were the strategy's reward for taking risk.

The second is using one fixed rate across a long window that spanned multiple regimes. A ten-year backtest ending in the mid-2020s covers near-zero rates at the start and several percent at the end. Averaging those into a single number understates the baseline in the recent, high-rate years and overstates it in the early ones, smearing the risk-adjusted metrics in both directions. The correct approach uses the rate that actually applied at each point in the window.

The third is confusing the risk-free rate with the benchmark. They answer different questions. The risk-free rate is the reward-free alternative, the floor that separates return from compensation for risk. The benchmark, often a broad index fund, is the risky alternative you are trying to beat. A strategy can clear the risk-free rate comfortably and still lag its benchmark, and reading only one of the two leaves you with half the story.

Watch Out

A Sharpe ratio is only as trustworthy as the risk-free rate behind it. If a backtest reports strong risk-adjusted numbers but was computed against a zero or 2 percent baseline during a period when Treasury bills actually yielded 4 to 5 percent, those numbers are overstated. Always know what baseline a risk-adjusted metric used before you compare it to anything.

See risk-adjusted returns done right

Run a backtest and get Sharpe and Sortino ratios computed against real, time-varying Treasury rates, free.

Run a Backtest
Written by The SledgeKey Team · Last updated July 26, 2026