RSI Calculator

The RSI calculator computes Wilder’s Relative Strength Index from closing prices you paste or type. It uses a 14-period default, shows the full RSI series and flags readings at or above 70 as overbought and at or below 30 as oversold. You need at least one more close than the period length.

Separate with commas, spaces or new lines.

Latest RSI
57.9
Reading
Neutral
RSI values
6
#CloseRSIZone
2045.6457.92neutral
1946.2266.29neutral
1846.4169.35neutral
1746.0366.48neutral
164666.25neutral
1546.2870.46overbought

Not investment advice. Results are arithmetic on the numbers you enter and ignore fees, slippage and gaps unless stated.

What is the formula?

Change = Close today − Close yesterday
First average gain/loss = simple mean of the first N gains and losses
Next average = (Previous average × (N − 1) + Current gain or loss) ÷ N
RS = Average gain ÷ Average loss
RSI = 100 − 100 ÷ (1 + RS); RSI = 100 when average loss is 0

Worked example

  1. With N = 14, 15 closes give the first RSI value.
  2. If the first 14 changes contain average gain 0.80 and average loss 0.40, RS = 2.0 and RSI = 100 − 100 ÷ 3 = 66.7.
  3. A next-day gain of 1.20 gives average gain (0.80 × 13 + 1.20) ÷ 14 = 0.829 and average loss 0.371, so RSI ≈ 69.1. Illustrative numbers only.

How to use this with Market Scanner

Frequently asked questions

Why does my RSI differ from my charting platform?

RSI depends on how much history is used: Wilder smoothing carries earlier data forward, so a short pasted series can differ from a platform that started years earlier. Longer input gives closer values.

What period should I use?

14 is Wilder’s original default. Shorter periods react faster and reach extremes more often; longer periods are smoother.

Does overbought mean the price will fall?

No. Strong trends can stay above 70 or below 30 for long periods. Treat extremes as context, not a signal on their own.

What format should prices be in?

Oldest first, separated by commas, spaces or new lines. Every value must be a positive number.

Is RSI the same as relative strength?

No. RSI compares a symbol’s own gains and losses. Relative strength compares its performance with a benchmark or other symbols.

Embed this calculator

Add this free calculator to your site. The embed keeps a visible “Powered by Market Scanner” link.

<iframe src="https://marketscanner.co/embed/tools/rsi-calculator" title="RSI Calculator by Market Scanner" width="100%" height="640" style="border:0;max-width:720px" loading="lazy"></iframe>
<p><a href="https://marketscanner.co/tools/rsi-calculator">RSI Calculator</a> powered by <a href="https://marketscanner.co/">Market Scanner</a></p>