1. Calculators
  2. Stock Market & Equity

Relative Strength Calculator vs Benchmark

See whether a stock has been beating its benchmark, by how much and whether that lead is growing or fading. Paste two price series to get relative performance, the ratio line and a look-back table.

Updated Oct 16, 2026Free · no sign-upFormulas tested

Your inputs

Paste closing prices for a stock and a benchmark (an index or ETF), oldest first, for the same dates.

Fills three years of month-end prices for the stock and the S&P 500. You can change any value afterwards.
Example: 25 month-end closes, two years. Use adjusted closes if the stock paid dividends or split.
Same dates as the stock, for example the S&P 500 index or an ETF that tracks it.
Sets the labels of the look-back table and the annualized figure.

Results

Outperformed the benchmark by+11.20%Relative performance over 24 months: ratio line ended at 111.2 (start = 100)
Return difference
+13.16 pp
Stock return minus benchmark return, in percentage points
Stock return
+30.63%
Benchmark return
+17.48%
Ratio line, latest
111.2
Stock ÷ benchmark, rebased to 100
Ratio line vs its high
-8.02%
The high was 120.9
Months the stock did better
67%
16 of 24
Annualized relative performance
+5.45%

Over 24 months the stock returned +30.63% against +17.48% for the benchmark: it outperformed by 11.20% in relative terms. The last 3 months went the other way (-4.15%), so the ratio line has been falling recently.

Ratio line: stock ÷ benchmark, rebased to 100

Ratio line (relative strength)Stock, rebasedBenchmark, rebased
608010012014016004812162024Start = 100

When the ratio line rises, the stock is beating the benchmark, whether both are rising or both are falling.

Relative performance by look-back period

Each row compares returns over the most recent months. Relative performance is (1 + stock return) ÷ (1 + benchmark return) − 1.

PeriodStockBenchmarkDifference (pp)Relative
Last 1 month-1.74%-3.64%+1.90+1.98%
Last 3 months-5.44%-1.35%-4.10-4.15%
Last 6 months-11.96%-4.60%-7.36-7.72%
Last 12 months+18.43%-0.21%+18.64+18.68%
Whole period (24 months)+30.63%+17.48%+13.16+11.20%

Results are estimates from the numbers you enter. They are not financial, tax or legal advice.

How to use the relative strength calculator

  1. Paste the stock’s closing prices, oldest first. Monthly closes work well for a two-year view; daily or weekly closes work for shorter periods. Use adjusted closes when the stock paid dividends or split, so the comparison reflects total return rather than price alone.
  2. Paste the benchmark’s prices for the same dates. For a US large-cap stock this is usually the S&P 500 index or an ETF that tracks it. The two lists must have the same number of values.
  3. Choose what each price represents: a month, week, trading day or quarter. This only sets the labels in the look-back table and the annualized figure.

The results show the relative performance over the whole period, the return difference in percentage points, the two returns, the latest value of the ratio line and how far it sits below its high. The chart draws the ratio line with both series rebased to 100, and the table breaks the result down over the last 1, 3, 6 and 12 periods where there is enough data.

How relative strength is calculated

Ratio linet = 100 × (St ÷ S0) ÷ (Bt ÷ B0)
Relative performance = (1 + Rstock) ÷ (1 + Rbench) − 1
Return difference = Rstock − Rbench (percentage points)St and Bt are the stock price and the benchmark level at time t; S0 and B0 are the first values. R is the total return over the period.

The ratio line and the relative performance are the same idea: the ratio line ends at 100 × (1 + relative performance). The look-back rows apply the same formula starting 1, 3, 6 or 12 periods before the latest price.

A worked example

The example holds 25 month-end closes for a growth stock and for the S&P 500: two years of monthly returns. The stock rose from $52.00 to $67.93, a return of +30.63%. The index rose +17.48%.

The return difference is +13.16 pp, and the relative outperformance is +11.20%: the ratio line ended at 111.2. Annualized, the stock beat the index by +5.45% a year.

The look-back table tells a more nuanced story. Over the last 12 months the stock was ahead by +18.68%, but its relative performance was -7.72% over the last 6 months and -4.15% over the last 3. The ratio line peaked at 120.9 and has moved -8.02% since that high. The stock is still ahead over two years, but its lead has been shrinking.

Percentage points or relative performance?

Both numbers appear because they answer different questions, and they diverge more as returns get larger.

Case Stock Benchmark Difference Relative performance
Example (24 months) +30.63% +17.48% +13.16 pp +11.20%
Stock doubles +100.00% +50.00% +50.00 pp +33.33%
Both fall -20.00% -25.00% +5.00 pp +6.67%

The difference in percentage points is easy to quote and is what most performance reports show. Relative performance is what the ratio line measures: how much more money you would have from $1 in the stock than from $1 in the benchmark. It is the right figure when you chain periods together, because relative performances compound and percentage-point differences do not.

Relative strength is not RSI

The names cause constant confusion. The Relative Strength Index (RSI), developed by J. Welles Wilder, is a momentum oscillator. It looks only at the stock itself, compares the size of its recent up moves with its recent down moves (usually over 14 periods) and scales the result between 0 and 100. Readings above 70 or below 30 are often described as overbought or oversold.

Relative strength against a benchmark, sometimes called comparative relative strength, uses two securities. It has no upper or lower bound and says nothing about overbought or oversold conditions. A stock can have an RSI of 80 while lagging the market, if the whole market is rallying even harder. This calculator measures the comparative kind only.

How investors use the ratio line

  • Momentum screening. Many momentum approaches rank stocks by their relative performance over the past 6 or 12 months, sometimes skipping the latest month. A stock with a strong 12-month figure but weak recent rows, as in the example, sits on the border between leader and fading leader.
  • Judging a holding. If you own a stock instead of an index fund, the ratio line shows whether that choice has paid off. A line that keeps falling means the index would have been the better holding over that period.
  • Reading direction rather than level. A ratio line can be far above 100 because of a strong year long ago and still be falling today. The look-back table and the distance from the high make that visible.
  • Relative strength in falling markets. A rising ratio line during a market decline means the stock is losing less. That can signal resilience, but it is still a loss.

What this calculator does not include

  • Risk. Beating the index with a much more volatile stock is not the same as beating it on a risk-adjusted basis. The alpha calculator and beta calculator adjust for market risk.
  • Dividends, unless you include them. Price-only data understates the return of high-yield stocks. Use adjusted closes for both series, or a total-return version of the index.
  • Forecasting power. Past relative strength is a description, not a prediction. Momentum effects have been widely studied, but they are inconsistent and can reverse sharply.
  • Date alignment. The calculator assumes both lists cover identical dates. A missing month in one list shifts every later comparison.

Frequently asked questions

How do you calculate a stock's relative strength against the S&P 500?
Divide the stock's price by the index level on each date and rebase the result to 100 at the start. If the line ends above 100, the stock beat the index. In the example, the stock returned +30.63% against +17.48% for the benchmark, and the ratio line ended at 111.2, a relative outperformance of +11.20%.
Is relative strength the same as RSI?
No. The Relative Strength Index (RSI) is an oscillator from 0 to 100 that compares a stock's own recent gains with its own recent losses. It never looks at another security. Relative strength against a benchmark compares the stock with an index or another asset, and has no fixed range.
What is the difference between percentage points and relative outperformance?
Percentage points simply subtract one return from the other. Relative outperformance compares the growth of the two investments: (1 + stock return) ÷ (1 + benchmark return) − 1. When a stock doubles while the index rises 50%, the gap is +50.00 pp but the relative outperformance is +33.33%, because $1 in the stock ends up a third larger than $1 in the index.
Can a stock have positive relative strength while losing money?
Yes. Relative strength only says the stock did better than the benchmark. If the stock falls 20% while the index falls 25%, its ratio line rises and its relative performance is +6.67%, even though the shareholder lost money.
Which benchmark should I use?
Use the index that represents the realistic alternative to owning the stock. For a large US company that is usually the S&P 500; for a smaller company, a small-cap index; for a sector bet, the sector ETF. Comparing a technology stock with a utility index tells you little about whether the stock was a good choice.

Related calculators

All calculators →

Find price history for real companies

All stocks →

Every PromtFinance stock page shows an interactive price chart with monthly closes you can paste in here.

This calculator is for education and planning. It uses the formulas described above and the inputs you provide; real results depend on fees, taxes, timing and other details that a general tool cannot know. PromtFinance does not give personal financial advice. Check important decisions with your provider or a qualified professional.