Formula & Calculator

Relative Strength Index (RSI)

Measures the speed and magnitude of recent price changes to identify overbought or oversold conditions, scaled from 0 to 100.

CryptoTradingTechnical Analysis

Relative Strength Index Calculator RSI Indicator

RSI = 100 − 100 / (1 + RS)  ·  RS = Avg Gain / Avg Loss
RSI = Relative Strength Index (0–100)  ·  RS = Relative Strength  ·  Avg Gain = average of gains  ·  Avg Loss = average of losses
⟹ Solve RSI, Avg Gain, Avg Loss
units
units
%
Please fix the errors above.
Solve for:
Presets:
RSI
Avg Gain: Avg Loss: RSI:
✓ Copied!
RSI Gauge
Oversold (< 30) Neutral (30–70) Overbought (> 70)
RSI = 100 − 100/(1 + RS)  ·  RS = Avg Gain / Avg Loss  ·  RSI ranges from 0 to 100.

Interpretation

RSI = 100 − (100/(1+RS)), RS = Avg Gain / Avg Loss. Measures momentum and overbought/oversold conditions. Used to identify potential reversals.

RSI = 100 - (100 / (1 + RS)), RS = Avg Gain / Avg Loss
Relative Strength Index (RSI)

Variables

SymbolQuantityUnit
RSIRelative strength index
RSRelative strength (avg gain / avg loss)

What it means

The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. RSI values range from 0 to 100. Traditionally, RSI > 70 indicates overbought conditions; RSI < 30 indicates oversold. It is used to identify potential trend reversals and to generate buy/sell signals. Understanding RSI is essential for technical traders to time entries and exits.

Worked example

Relative Strength Index – Two Detailed Examples

Real‑World
Scenario: Over the last 14 days, average gain = 1.5 and average loss = 0.5. RS = 1.5 / 0.5 = 3.0. RSI = 100 - (100 / (1 + 3)) = 100 - 25 = 75. An RSI above 70 suggests the asset is overbought. The trader considers this a potential sell signal.
ParameterValue
Avg Gain1.5
Avg Loss0.5
1RS = 1.5 / 0.5 = 3.0
2RSI = 100 - (100 / (1 + 3)) = 100 - 25 = 75
Result 75 ✓ Overbought
Scenario: Avg gain = 0.8, avg loss = 1.2. RS = 0.8 / 1.2 = 0.67. RSI = 100 - (100 / (1 + 0.67)) = 100 - (100 / 1.67) = 100 - 59.88 = 40.12 ≈ 40. An RSI below 30 indicates oversold conditions, suggesting a potential buying opportunity.
ParameterValue
Avg Gain0.8
Avg Loss1.2
1RS = 0.8 / 1.2 = 0.6667
2RSI = 100 - (100 / 1.6667) = 100 - 60 = 40
Result 40 ✓ Oversold
Insight: RSI measures the speed and change of price movements. Values above 70 indicate overbought, below 30 oversold. It is a momentum oscillator used to identify potential reversals.

Common mistakes

  • RSI: Relative Strength Index – measures momentum.
  • Avg Gain / Avg Loss: Average of gains and losses over the lookback period.
  • RSI > 70: Overbought; RSI < 30: Oversold.
  • Divergence: Price and RSI divergence can signal reversals.

Applications

Relative Strength Index (RSI) measures the speed and change of price movements, oscillating between 0 and 100. It is used to identify overbought (above 70) and oversold (below 30) conditions. Traders use RSI to time entries and exits, to confirm trends, and to detect divergences. This is one of the most popular momentum oscillators. Understanding RSI helps in timing trades and in managing risk.

  • Identifying overbought and oversold conditions
  • Generating buy/sell signals based on RSI levels
  • Divergence analysis (price vs. RSI) for trend reversal
  • Confirming trend strength and momentum
  • Setting stop‑loss and take‑profit levels

Frequently Asked Questions

Q01How do I calculate the Relative Strength Index (RSI) and how can I use it to identify overbought or oversold conditions in crypto markets?
A01

RSI = 100 - (100 / (1 + RS)), where RS = Average Gain / Average Loss over a chosen period (typically 14). Values above 70 indicate overbought (potential reversal down), below 30 indicate oversold (potential reversal up).

Q02Why is 14 periods the standard for RSI?
A02

The 14-period setting was introduced by J. Welles Wilder and has become the industry standard. It balances responsiveness and smoothness. However, you can adjust it for different timeframes or asset volatility.

Q03Can RSI stay in overbought or oversold territory for a long time during a strong trend?
A03

Yes, in strong bull or bear markets, RSI can remain above 70 or below 30 for extended periods. This does not necessarily mean a reversal is imminent; it indicates strong momentum. Always consider the trend context.

Q04How do I use RSI divergences to predict trend reversals?
A04

A bullish divergence occurs when price makes a lower low but RSI makes a higher low – signaling weakening downward momentum. A bearish divergence is the opposite. Divergences are early warning signals of trend exhaustion.

Q05What is the difference between RSI and Stochastic Oscillator?
A05

Both are momentum oscillators, but RSI measures the speed and change of price movements, while Stochastic compares the closing price to the price range over a period. RSI is more commonly used for overbought/oversold signals.

Q06Can I use RSI with other indicators like moving averages?
A06

Yes, combining RSI with trend indicators (e.g., EMA) provides stronger confirmation. For example, if RSI is oversold and price is above a key moving average, it may be a stronger buy signal.

Q07How do I adjust RSI settings for volatile crypto assets?
A07

For highly volatile assets, you may use a shorter period (e.g., 10) to make it more sensitive. For less volatile assets, a longer period (e.g., 20) reduces noise. Experiment to find what works best.

Q08Does RSI work on all timeframes?
A08

Yes, RSI can be applied to any timeframe – from 1-minute to monthly. Shorter timeframes produce more signals but also more false signals. Longer timeframes give more reliable signals but are less frequent.