This calculator gives estimates for education and planning. It is not investment, tax or legal advice; for decisions about your own situation, talk to a qualified financial professional.
The relative strength index, or RSI, is one of the most widely used momentum indicators. This RSI calculator takes the period, the previous average gain and loss and the latest price change and shows the new RSI, the updated averages and whether the reading is in the overbought or oversold zone.
How the calculation works
- Latest gain or loss: a positive price change counts as a gain and a negative one as a loss, the other being zero.
- Average gain = (previous average gain × (period − 1) + latest gain) ÷ period, and the same for the average loss. This is Wilder’s smoothing.
- Relative strength RS = average gain ÷ average loss.
- RSI = 100 − 100 ÷ (1 + RS). With no losses at all the RSI is 100.
- Reading the result: 70 or more is traditionally called overbought, 30 or less oversold, and values in between are neutral.
Example
With a 14-period RSI, the average gain was 1.2 and the average loss 0.8, so the RSI stood at 60.0. Today the price rose 1.5. The new average gain is (1.2 × 13 + 1.5) ÷ 14 = 1.221, the new average loss is 0.743 and the new RSI is 62.2, still in the neutral zone.
Why it matters
Most platforms draw the RSI automatically, but computing it by hand shows what moves it: a single large gain lifts the average gain, and the smoothing means the effect fades slowly. Doing the update step by step is useful for learning, for checking a chart, and for building a spreadsheet or a trading rule that you want to test.
Good to know
The RSI is a tool for judging momentum and does not predict the next move. In a strong uptrend it can stay above 70 for weeks, and in a downtrend it can stay below 30. Different platforms start the averages in slightly different ways, so values can differ by a point or two. Use it with trend, volume and risk control and not alone, and remember that past patterns do not guarantee future results.
Related tools
The exponential moving average calculator builds the trend line the RSI is often read against, the pivot point calculator gives support and resistance levels and the standard deviation calculator measures the spread of returns.