Skip to content
Omnikalc

RSI calculator: update the relative strength index after each price change

Enter the period, the previous average gain and loss and the latest price change to get the new RSI, the new averages and the overbought or oversold reading.

Updated on
Your inputs
periods

Value out of range

Value out of range

Value out of range

Value out of range

Results

New RSI

62.2

Between 30 and 70: neutral zone
RSI before the latest change
60.0
New average gain
1.221
New average loss
0.743

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.

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.

Frequently asked questions

What is the RSI?

The relative strength index is a momentum oscillator created by J. Welles Wilder. It compares the size of recent gains with recent losses and scales the result between 0 and 100.

What do 70 and 30 mean?

Traders often treat an RSI above 70 as overbought and below 30 as oversold. These are signals to look closer, not orders to sell or buy, because a strong trend can stay overbought for a long time.

Why does the calculator ask for the previous averages?

Wilder's RSI is smoothed, so each new value builds on the earlier averages. Your charting platform shows the averages in the data window, or you can start from the simple average of the first 14 changes.

Which period should I use?

14 is the standard. Shorter periods such as 7 react faster and give more false signals, while longer ones such as 21 are smoother but slower.

Was this calculator helpful?

Thanks for your feedback!

Results are estimates provided for information purposes. They do not replace professional advice.