RSI vs. Stochastic Oscillator: How Two Momentum Indicators Are Calculated and Read
Two of the most widely used momentum indicators in technical analysis are the Relative Strength Index (RSI) and the Stochastic Oscillator. Both are plotted on a scale of 0 to 100, both are commonly used to describe "overbought" and "oversold" conditions, and both are frequently confused with one another because they look similar on a chart. But they measure different things, using different inputs, and understanding that difference matters more than memorizing a threshold number.
This article explains how each indicator is actually calculated, how each is conventionally read, and how they differ — without telling you what to do with that information. Momentum indicators describe past and current price behavior; they do not predict what a price will do next.
What momentum oscillators actually measure
A momentum oscillator is a calculation, derived from a security's price history, that is mathematically bounded between two fixed values (commonly 0 and 100). Instead of showing price itself, it shows something about the character of recent price movement — how fast prices have been rising or falling, or where the current price sits relative to its recent range.
Because these tools are built entirely from historical price data, they are, by construction, backward-looking. They describe what has already happened over a lookback window (commonly 14 periods for both RSI and the Stochastic Oscillator, though this is a convention rather than a fixed rule and varies by source and by charting platform) (StockCharts ChartSchool — RSI; StockCharts ChartSchool — Stochastic Oscillator). Neither indicator forecasts future prices, and neither is designed to.
How the RSI is calculated
The RSI was developed by J. Welles Wilder Jr. and introduced in his 1978 book New Concepts in Technical Trading Systems (StockCharts ChartSchool — RSI). It is calculated from a security's average gains versus average losses over a lookback period, with 14 periods (days, on a daily chart) as the conventional default (StockCharts ChartSchool — RSI; Fidelity — RSI).
The formula, per StockCharts' ChartSchool documentation of Wilder's method:
RS (Relative Strength) = Average Gain / Average Loss
RSI = 100 − [100 / (1 + RS)]
The calculation happens in two stages (StockCharts ChartSchool — RSI):
- First average (periods 1–14): a simple average of gains and a simple average of losses over the first 14 periods.
- Every period after that: Wilder applied a smoothing method (mathematically similar to an exponential moving average) rather than a fresh simple average each time: - Average Gain = [(previous Average Gain × 13) + current Gain] / 14 - Average Loss = [(previous Average Loss × 13) + current Loss] / 14
This smoothing is why two charting platforms can show slightly different RSI values for the same security even when both nominally use a 14-period setting — the smoothing method and how far back the calculation history extends can differ. The RSI is bounded between 0 and 100.
How traders commonly read the RSI
The following describes common interpretive conventions reported by technical-analysis education sources, not a rule about what any specific reading means or a suggestion to act. Readers should do their own research and, if appropriate, speak with a licensed financial professional before making any investment decision.
The most commonly cited thresholds are that an RSI reading above 70 is considered "overbought" and a reading below 30 is considered "oversold" (StockCharts ChartSchool — RSI; Fidelity — RSI). These are conventions, not fixed rules — some traders adjust the thresholds (for example, to 80/20) for securities that repeatedly reach the traditional levels without reversing (Fidelity — RSI).
Some technical analysts also look for divergence — a case where the price makes a new high or low that the RSI does not confirm — as one input among several that a trend's momentum may be weakening (Fidelity — how to use RSI). Fidelity's own education material notes an important limitation directly relevant to this: during a strong, sustained trend, the RSI can remain in overbought or oversold territory for extended periods — weeks or even months — meaning an overbought or oversold reading by itself is not a reliable signal in a trending market, and divergence signals in particular can appear repeatedly without the anticipated reversal occurring (Fidelity — how to use RSI).
How the Stochastic Oscillator is calculated
The Stochastic Oscillator was developed by George C. Lane in the late 1950s (StockCharts ChartSchool — Stochastic Oscillator). Rather than comparing gains to losses, it compares a security's closing price to its high-low trading range over a lookback period — the idea Lane described as tracking the "speed or momentum of price" rather than price or volume directly (StockCharts ChartSchool — Stochastic Oscillator).
The core formula (StockCharts ChartSchool — Stochastic Oscillator):
%K = [(Current Close − Lowest Low) / (Highest High − Lowest Low)] × 100
— where "Lowest Low" and "Highest High" are the lowest and highest prices reached during the lookback period, conventionally 14 periods.
%D = a moving average of %K (conventionally a 3-period simple moving average).
There are three commonly referenced versions (StockCharts ChartSchool — Stochastic Oscillator; Fidelity — Fast Stochastic; Fidelity — Slow Stochastic):
- Fast Stochastic (commonly 14, 3): uses the raw %K formula above, with %D as its 3-period moving average. It reacts quickly to price changes and is generally described as choppier, producing more (and more frequent) crossovers.
- Slow Stochastic (commonly 14, 3): smooths the fast %K with an additional 3-period moving average before it becomes the "slow %K," and the slow %D is a moving average of that. This additional smoothing step is meant to filter out some of the short-term noise the fast version produces.
- Full Stochastic: a customizable version where the lookback period, the %K smoothing period, and the %D moving-average period can each be set independently — StockCharts lists (14,3,3) as a common default.
Like the RSI, the Stochastic Oscillator is bounded between 0 and 100.
How traders commonly read the Stochastic Oscillator
The following describes common interpretive conventions reported by technical-analysis education sources, not a rule about what any specific reading means or a suggestion to act. Readers should do their own research and, if appropriate, speak with a licensed financial professional before making any investment decision.
The most commonly cited thresholds are that a reading above 80 is described as "overbought" — the close sitting near the top of its recent range — and a reading below 20 is described as "oversold," the close sitting near the bottom of its recent range (StockCharts ChartSchool — Stochastic Oscillator). As with RSI, these are conventions rather than fixed rules and can be adjusted by the analyst or platform.
Some technical analysts watch for %K crossing above or below %D as one possible input in identifying a shift in short-term momentum, and, as with RSI, some look for divergence between the oscillator and price. Lane himself, in comments cited by StockCharts, considered divergence between %D and price to be a particularly important signal in his own framework — but this reflects one analyst's stated approach, not a proven or guaranteed outcome (StockCharts ChartSchool — Stochastic Oscillator).
RSI vs. Stochastic Oscillator: how they actually differ
Both indicators are bounded between 0 and 100, both are typically calculated over a 14-period lookback by default, and both are commonly described using "overbought" and "oversold" language — which is precisely why they're so often confused. The underlying math is genuinely different:
- What's being measured. RSI measures the magnitude and direction of recent price changes (average gains relative to average losses). The Stochastic Oscillator measures where the current close sits within the recent high-low range, regardless of how it got there.
- Number of lines. RSI is typically plotted as a single line. The Stochastic Oscillator is typically plotted as two lines, %K and %D, and the relationship between them (not just their absolute level) is part of how it's commonly read.
- Sensitivity. Because the Stochastic Oscillator is anchored to the recent high-low range rather than a smoothed average of gains and losses, it tends to move between its extremes more quickly than RSI, which is part of why "fast" and "slow" versions exist specifically for the Stochastic Oscillator.
- Shared limitation. Both are backward-looking calculations built from a fixed lookback window. Neither incorporates information the market doesn't already have, and neither is designed to forecast price.
Common mistakes and limitations
A few things are worth being explicit about, regardless of which indicator (or both) a reader is looking at:
- Both indicators lag price. They're calculated from data that has already occurred. A reading can only describe what has happened over the lookback window — it cannot see ahead of the next price move.
- Overbought and oversold are not the same as "about to reverse." Because both indicators are mathematically bounded, a security in a strong, sustained trend can sit in "overbought" or "oversold" territory for a long stretch of time. Fidelity's education material notes this explicitly for RSI during strong trends (Fidelity — how to use RSI), and the same underlying dynamic — a bounded oscillator running up against its own ceiling or floor during a strong directional move — applies to the Stochastic Oscillator by construction, since it is likewise capped at 0 and 100.
- False signals happen in both directions. Crossovers, divergences, and threshold breaches are frequently cited in technical-analysis education as patterns some traders watch, but none of them are guaranteed to precede a particular price outcome, and any of them can occur without the anticipated move following.
- Range-bound vs. trending markets behave differently. Both indicators are generally described as more informative in markets that are moving sideways within a range than in markets experiencing a strong, sustained trend, where the indicator itself can behave less predictably.
- Different settings produce different pictures. The 14-period lookback, the 70/30 or 80/20 thresholds, and the 3-period smoothing on the Stochastic Oscillator are all conventions that vary across sources, platforms, and individual analysts — not universal constants.
Which indicator should you use?
This isn't a question with a single right answer, and it isn't one Zydhra is positioned to answer for any individual reader — that would cross from education into advice, which isn't something a portfolio-tracking tool is licensed or able to do.
What can be said honestly: RSI and the Stochastic Oscillator answer slightly different analytical questions. RSI describes the balance of recent gains versus losses; the Stochastic Oscillator describes where a close sits within its recent trading range. Some traders use one, some use both together (sometimes alongside trend-based tools, since both oscillators are generally considered more informative in range-bound conditions than in strongly trending ones), and some use neither. Which tool — if any — fits a particular analytical question depends on what that person is trying to understand about a security's recent price behavior, their own research process, and factors specific to their own circumstances that only they (or a licensed professional they work with) can weigh.
Neither indicator, alone or combined, predicts what a price will do next. Both describe the past.
Disclaimer: This article is for general educational and informational purposes only. It is not investment advice, and nothing in it should be construed as a recommendation to buy, sell, or hold any security. Zydhra is a portfolio-tracking and analytics tool — it is not a broker-dealer, and it is not a registered investment adviser. Indicator readings, technical patterns, and any historical or past performance discussed above do not guarantee or predict future results. Before making investment decisions, consider doing independent research and consulting a licensed financial professional.
Sources cited
- StockCharts ChartSchool — Relative Strength Index (RSI)
- Fidelity — What is RSI? (Relative Strength Index)
- Fidelity — Relative Strength Index (RSI), Viewpoints
- StockCharts ChartSchool — Stochastic Oscillator (Fast, Slow, and Full)
- Fidelity — Fast Stochastic Oscillator
- Fidelity — Slow Stochastic Oscillator