Relative Strength Index RSI Calculator for Prices

Calculate the RSI technical indicator from a sequence of closing prices and a selected period. Spot overbought or oversold momentum before you trade.

Paste a list of closing prices and an RSI period to see the simple average-gain RSI, average loss, and a 70/30 momentum reading.

Relative Strength Index RSI Calculator for Prices
Calculate the RSI technical indicator from a sequence of closing prices and a selected period. Spot overbought or oversold momentum before you trade.

About the relative strength index

The relative strength index (RSI) is a momentum oscillator that scales recent average gains against recent average losses. Readings near 70 or above are commonly treated as potentially overbought; readings near 30 or below as potentially oversold. RSI is not a buy or sell order by itself. It describes how one-sided the last N closing changes have been, which traders then combine with trend, volume, and risk limits. This RSI calculator uses a simple (non-smoothed) average of the last period close-to-close changes. Average gain is the sum of positive changes over those N steps divided by N; average loss is the sum of absolute negative changes divided by N. RSI = 100 − 100 / (1 + average gain / average loss). If there were no losses, RSI is 100; if there were no gains, RSI is 0. You need at least period + 1 prices. A 14-period reading therefore needs 15 closes. Separate prices with commas, spaces, or new lines. Wilder’s original RSI seeds the first average with N changes and then smooths: new average = (prior average × (N − 1) + current change) / N. Platform values that use Wilder smoothing will not match this simple window exactly, especially after long histories. The simple window is easier to audit by hand and still shows when the latest N changes are dominated by gains or losses. Use RSI on the same interval as your prices: daily closes with a 14-day period, hourly closes with a 14-hour period. Do not mix adjusted and unadjusted prints in one list. Overbought in a strong uptrend can persist; oversold in a decline can persist. Treat 70/30 as a conventional label, not a forecast, and do not size a trade from an educational RSI reading alone. If you need to match a broker chart, compare one window by hand before you rely on the number.

RSI calculator examples

Each RSI uses a simple average of the last N close-to-close changes, not Wilder smoothing.

InputsResultWhat it shows
Prices 44, 44.34, 44.09, 43.61, 44.33, 44.83, 45.10, 45.42, 45.84, 46.08, 45.89, 46.03, 45.61, 46.28, 46.28; period 14RSI 72.98; average gain 0.2586; average loss 0.0957; potentially overboughtGains dominate the 14-change window.
Prices 50 through 64 in steps of 1; period 14RSI 100.00; potentially overboughtFourteen straight gains and no losses pin RSI at 100.
Prices 100, 99, 101, 98, 102, 97, 103, 96, 104, 95, 105, 94, 106, 93, 107; period 14RSI 53.33; average gain 4.0000; average loss 3.5000; neutral rangeAlternating swings keep RSI near the midline.

How to calculate RSI

  1. Paste closing prices in time order, separated by commas or spaces.
  2. Enter the RSI period, usually 14. You need at least one more price than the period.
  3. Select Calculate to view RSI, average gain, average loss, and the 70/30 label.
  4. Change the last few prices or the period to see how sensitive the reading is.

RSI calculator FAQ

Does this use Wilder smoothing?

No. It averages the last N close-to-close gains and losses. Charting platforms that use Wilder’s smoothing will differ, especially on long series.

How many prices do I need?

At least period + 1. A 14-period RSI needs 15 closes because each change compares one close with the previous close.

What do 70 and 30 mean?

They are conventional thresholds. RSI at or above 70 is labeled potentially overbought; at or below 30 potentially oversold; otherwise the range is called neutral.

Can I use weekly or intraday prices?

Yes, as long as every price shares the same interval. Weekly closes with period 14 describe 14 weeks of changes, not 14 days.

Why is RSI 100 or 0?

RSI is 100 when the window has no losses and 0 when it has no gains. A straight run of higher or lower closes produces those extremes.