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.
About the relative strength index
RSI calculator examples
Each RSI uses a simple average of the last N close-to-close changes, not Wilder smoothing.
| Inputs | Result | What 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 14 | RSI 72.98; average gain 0.2586; average loss 0.0957; potentially overbought | Gains dominate the 14-change window. |
| Prices 50 through 64 in steps of 1; period 14 | RSI 100.00; potentially overbought | Fourteen 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 14 | RSI 53.33; average gain 4.0000; average loss 3.5000; neutral range | Alternating swings keep RSI near the midline. |
How to calculate RSI
- Paste closing prices in time order, separated by commas or spaces.
- Enter the RSI period, usually 14. You need at least one more price than the period.
- Select Calculate to view RSI, average gain, average loss, and the 70/30 label.
- 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.