RSI Indicator Explained: What It Is, How to Calculate It, and How Traders Use It
May 7, 2026 · guides · 12 min read
title: "RSI Indicator Explained: What It Is, How to Calculate It, and How Traders Use It" excerpt: "Learn what the Relative Strength Index (RSI) is, how to calculate it, what overbought and oversold levels mean, and how technical analysts use RSI to time entries and exits." date: '2026-05-07' readingTime: 12 category: 'guides' tags: ["RSI indicator", "relative strength index", "technical analysis", "momentum oscillator", "overbought oversold"]
The Relative Strength Index is one of the most widely recognized tools in technical analysis. It appears on virtually every charting platform, gets referenced in trading forums daily, and yet remains widely misunderstood by the investors who use it. People treat the RSI as a simple overbought/oversold flag, miss how it actually works mathematically, and misapply it in trending markets where its traditional signals break down.
This guide covers the full picture: the history of the RSI indicator, the exact formula, a step-by-step calculation example, how to interpret overbought and oversold readings, divergence signals, period settings, combining RSI with other indicators, and where the RSI falls short. By the end, you will understand what RSI actually measures and how technical analysts incorporate it into a broader research process.
What Is the Relative Strength Index?
The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and magnitude of recent price changes on a scale of 0 to 100. It was developed by J. Welles Wilder Jr. and introduced in his 1978 book New Concepts in Technical Trading Systems, which remains one of the foundational texts in technical analysis.
The RSI does not measure the strength of a stock relative to other stocks — a common misconception. It measures a stock's internal momentum: how strongly recent gains compare to recent losses over a fixed lookback period. The output is a bounded number between 0 and 100, which makes it easy to read at a glance and to compare across different time periods or securities.
Wilder originally designed the RSI with a 14-period lookback. That default has endured for nearly 50 years and remains the most widely used setting today.
Key point: A rising RSI means recent up-moves are outpacing recent down-moves. A falling RSI means recent down-moves are outpacing recent up-moves.
The RSI Formula
The RSI formula has two components: the Relative Strength calculation (RS) and the RSI value itself.
Step 1 — Calculate RS:
RS = Average Gain over N periods / Average Loss over N periods
Where:
- Average Gain = the mean of all closing gains over the lookback window (days with no gain counted as 0)
- Average Loss = the mean of all closing losses over the lookback window (days with no loss counted as 0, and losses treated as positive values)
- N = number of periods (default is 14)
Step 2 — Convert RS to RSI:
RSI = 100 - (100 / (1 + RS))
This second step normalizes the RS ratio into the 0-to-100 range. If RS is very high (gains vastly outpace losses), RSI approaches 100. If RS is very low (losses vastly outpace gains), RSI approaches 0.
Wilder used a smoothed moving average for subsequent RS calculations rather than a simple average. After the initial 14-period average is established, each new period updates the averages using the formula:
Smoothed Average Gain = ((Previous Avg Gain x 13) + Current Gain) / 14
Smoothed Average Loss = ((Previous Avg Loss x 13) + Current Loss) / 14
This smoothing is why RSI values from different charting platforms can differ slightly when calculated from different starting points.
Step-by-Step RSI Calculation Example
Here is a worked example using 14 trading days of hypothetical closing prices to show how the initial RSI value is derived.
Day-by-day closing prices and daily changes:
Day 1: Close 100.00 — (starting point)
Day 2: Close 101.50 — Change: +1.50
Day 3: Close 100.80 — Change: -0.70
Day 4: Close 102.20 — Change: +1.40
Day 5: Close 103.10 — Change: +0.90
Day 6: Close 102.50 — Change: -0.60
Day 7: Close 104.00 — Change: +1.50
Day 8: Close 103.40 — Change: -0.60
Day 9: Close 105.00 — Change: +1.60
Day 10: Close 106.20 — Change: +1.20
Day 11: Close 105.60 — Change: -0.60
Day 12: Close 107.10 — Change: +1.50
Day 13: Close 106.80 — Change: -0.30
Day 14: Close 108.00 — Change: +1.20
Separate gains from losses:
Gains: 1.50, 1.40, 0.90, 1.50, 1.60, 1.20, 1.50, 1.20 = total 10.80 Losses: 0.70, 0.60, 0.60, 0.60, 0.30 = total 2.80
Calculate initial averages over 14 periods:
Average Gain = 10.80 / 14 = 0.771
Average Loss = 2.80 / 14 = 0.200
Calculate RS:
RS = 0.771 / 0.200 = 3.857
Calculate RSI:
RSI = 100 - (100 / (1 + 3.857))
RSI = 100 - (100 / 4.857)
RSI = 100 - 20.59
RSI = 79.41
An RSI of 79.41 on this 14-day sequence sits above the traditional 70-level threshold, which technical analysts often associate with overbought conditions. In this example, gains strongly dominated losses over the period.
Overbought and Oversold Levels
Wilder defined two primary threshold zones in his original work:
Above 70 — Overbought zone. When RSI climbs above 70, recent gains have been unusually strong relative to recent losses. Technical analysts often interpret this as a condition where a pullback or consolidation may follow, though it does not guarantee a reversal.
Below 30 — Oversold zone. When RSI falls below 30, recent losses have been unusually strong relative to recent gains. This may indicate that the selling pressure has been extreme, and some analysts watch for stabilization or a bounce.
It is critical to understand what these labels do and do not mean. "Overbought" does not mean a stock is overvalued in a fundamental sense. It means momentum has been skewed to the upside over the recent lookback window. A stock can remain in overbought territory for extended periods during a strong uptrend — the RSI crossing 70 does not by itself correspond to a reversal. Likewise, a stock in a sustained downtrend can stay below 30 for weeks.
Some analysts adjust these thresholds based on market conditions. In strong bull markets, thresholds of 80/40 may reduce false signals. In bear markets, 60/20 is sometimes used.
RSI Divergence: Bullish and Bearish
Divergence is one of the most analytically interesting applications of the RSI, and many technical analysts consider it a more reliable signal than simple overbought/oversold readings.
Bullish divergence occurs when price makes a lower low while RSI makes a higher low. This pattern corresponds to a possible scenario where selling momentum is weakening even as price continues to fall. The RSI's refusal to confirm the new price low may indicate that downside momentum is losing steam.
Bearish divergence occurs when price makes a higher high while RSI makes a lower high. This corresponds to a possible scenario where upside momentum is fading even though price is still climbing. The RSI's failure to confirm the new price high may indicate that the advance is narrowing.
Both forms of divergence are more meaningful when they occur at extreme RSI levels — bullish divergence near 30, bearish divergence near 70. They are also considered more reliable when they form over longer timeframes (weekly charts vs. 5-minute charts) and when supported by other indicators.
Divergence is not a precise entry or exit timing tool. It is a condition that some analysts use to heighten attention to potential trend changes, not a standalone directive.
RSI in Trending vs. Ranging Markets
RSI behaves very differently depending on the market regime, and applying the same interpretation rules across both tends to cause problems.
Ranging markets are where RSI's classic overbought/oversold signals are most applicable. When a security is trading in a sideways channel, RSI readings above 70 have historically corresponded to the upper end of the range and readings below 30 to the lower end. The oscillation between thresholds can be used to identify the rhythm of the range.
Trending markets are where the RSI's traditional thresholds become problematic. In a strong uptrend, RSI may stay above 70 for an extended period — sometimes months. Treating every RSI reading above 70 as a potential reversal during a powerful uptrend has historically led to premature exits from positions that continued to advance significantly.
A useful reframing for trending conditions: in an uptrend, RSI may oscillate between roughly 40 and 80 rather than the full 0-to-100 range. The 40 zone may act as support during pullbacks. In a downtrend, RSI may oscillate between 20 and 60, with the 60 zone potentially acting as resistance during bounces.
Identifying whether a market is trending or ranging before applying RSI thresholds changes the analysis considerably.
RSI Period Settings: 14, 9, and 25
The default 14-period setting is a starting point, not a fixed rule. Different lookback periods produce different sensitivities.
14-period RSI is the original Wilder setting. It smooths out short-term noise while remaining responsive enough to register meaningful momentum shifts. It is the most commonly used setting across daily and weekly charts.
9-period RSI is more sensitive, reacting more quickly to recent price changes. It reaches overbought and oversold levels more frequently and generates more signals — which also means more false positives. It is often used by short-term traders on intraday and daily timeframes who want faster reads on momentum.
25-period RSI is smoother and more sluggish. It reaches extreme thresholds less often but when it does, those readings reflect a longer and more sustained period of one-directional momentum. It is used by longer-term analysts and on weekly or monthly charts.
The tradeoff is always the same: shorter periods produce more signals with more noise; longer periods produce fewer signals with more lag. The optimal setting depends on the timeframe, the asset's volatility, and the analyst's purpose. There is no universally superior period.
Combining RSI with Other Indicators
RSI is typically more effective as part of a multi-indicator framework than in isolation. Several common pairings:
RSI with Moving Averages
Using a 50-day or 200-day moving average to define trend direction, then applying RSI within that context, addresses the trending-vs-ranging problem. When price is above a rising 200-day moving average, some analysts track RSI for pullbacks toward 40 rather than waiting for oversold readings below 30. When price is below a falling 200-day moving average, RSI bounces toward 60 may be the reference zone.
RSI with MACD
The Moving Average Convergence Divergence indicator (MACD) is a trend-following momentum indicator. Combining it with RSI can help distinguish between momentum conditions. When MACD histogram is positive and RSI is in a mid-range zone (40-60), the two may collectively correspond to early-stage momentum build. When MACD crosses bearishly and RSI simultaneously drops from above 70, both measures may reinforce the same story.
RSI with Volume
RSI reflects price momentum but is price-only. Volume can add context. An RSI divergence accompanied by declining volume on the moves that make new highs or lows may reinforce the divergence interpretation. Conversely, an RSI reading above 70 with expanding volume may correspond to a genuine momentum breakout rather than an overextended condition.
Using multiple indicators does not mean the analysis is more reliable — it can introduce redundancy if the indicators measure the same thing. The strongest multi-indicator setups combine indicators that measure genuinely different dimensions of price action.
Limitations of the RSI Indicator
The RSI is a powerful tool with well-documented limitations. Understanding them helps avoid the most common misapplications.
It can stay in extreme territory for a long time. During strong trends, RSI values above 70 or below 30 can persist for weeks or months. Treating these readings as automatic reversal signals in trending markets has historically led to poor timing.
It is backward-looking. RSI is entirely derived from past price data. It cannot incorporate news, earnings, macro shifts, or any non-price information that may drive the next move. An RSI reading does not know about a pending earnings report, a rate decision, or a sector rotation.
Divergence does not give timing. RSI divergence can form well before price eventually reverses. The divergence condition may be present for many periods before — or if — price turns in the expected direction.
Different platforms may display slightly different values. Because the RSI uses a smoothing function that requires a long historical series to stabilize, RSI values calculated from a short data set or from different starting points will differ. Charts from different vendors may show different RSI readings for the same security and timeframe.
It does not work equally across asset classes. Commodities, currencies, and highly volatile small-cap stocks behave differently from blue-chip equities. Fixed RSI thresholds applied uniformly across all assets may generate misleading readings.
RSI vs. Stochastic Oscillator
The Stochastic Oscillator is the most frequently compared indicator to RSI. Both are momentum oscillators bounded between 0 and 100, and both are used to identify overbought and oversold conditions. The differences are in what they measure and how they react.
What they measure:
- RSI measures momentum based on the ratio of average gains to average losses over a fixed period.
- The Stochastic Oscillator measures the position of the current closing price relative to the high-low range over a fixed period. A reading near 100 means the close is near the top of the recent range; near 0 means it is near the bottom.
Sensitivity:
- The Stochastic Oscillator is generally more sensitive than RSI and fluctuates more rapidly. It crosses overbought and oversold thresholds more frequently.
- RSI tends to be smoother and produces fewer signals.
Thresholds:
- RSI commonly uses 70/30.
- The Stochastic Oscillator commonly uses 80/20.
Which to use:
- In choppy or ranging markets, the Stochastic Oscillator's sensitivity may make it more useful for tracking oscillations within the range.
- In trending markets, RSI is often preferred because its smoother output is less prone to generating multiple false reversal signals.
Neither indicator is superior in all conditions. Many analysts use both to cross-reference momentum readings.
RSI and Fundamental Analysis: A Note
RSI is a purely technical tool. It analyzes price behavior, not business fundamentals. A high RSI does not mean a company is fundamentally overvalued; a low RSI does not mean it is a good long-term holding. The RSI says nothing about earnings quality, debt structure, competitive position, or intrinsic value.
Investors who combine fundamental and technical analysis sometimes use RSI to inform the timing of a research process — for example, waiting for RSI to pull back from an elevated level before initiating further research on a fundamentally screened stock. But the RSI is not a substitute for fundamental due diligence, and it adds no information about the underlying business.
Key Takeaways
- The RSI indicator measures internal momentum — recent gains vs. recent losses — on a 0-to-100 scale.
- It was developed by J. Welles Wilder Jr. in 1978 using a default 14-period lookback.
- The formula is: RS = average gain / average loss; RSI = 100 - (100 / (1 + RS)).
- Readings above 70 correspond to overbought conditions; below 30 to oversold — but these are not automatic reversal signals.
- RSI divergence (price making new extremes while RSI does not confirm) may correspond to weakening momentum.
- In strong trends, the traditional thresholds often lose relevance. RSI works best in ranging conditions with traditional overbought/oversold readings.
- Period settings (9, 14, 25) involve a tradeoff between sensitivity and noise.
- RSI is most useful when combined with trend filters, volume, and other indicators rather than applied in isolation.
- The Stochastic Oscillator is the most common alternative; RSI tends to be smoother, the Stochastic more reactive.
- RSI is a price-only, backward-looking tool. It provides no information about fundamental value.
All content on Equity Rank is for educational and informational purposes only. Nothing on this site constitutes investment advice, a recommendation to take any action, or an offer to buy or sell any security. Past technical patterns are not predictive of future price behavior.