RSI Calculator - Relative Strength Index

Calculate the Relative Strength Index from closing prices and spot overbought and oversold conditions before the crowd reacts.

Last updatedHow we build & check our tools
Advertisement
Advertisement

What RSI measures and why traders watch it

A stock rips 30% in three weeks and your gut screams two things at once: ride the momentum, or it's about to snap back. The Relative Strength Index turns that gut feeling into a number between 0 and 100. RSI measures the speed and size of recent price moves to answer one question: has this stock been bought so hard, or sold so hard, that a reversal is getting likely?

The mechanics are precise. RSI compares the average size of up-day gains to the average size of down-day losses over a lookback window, usually 14 periods. The formula is RSI = 100 minus (100 divided by (1 plus RS)), where RS is the average gain divided by the average loss. The result lands on a fixed 0-to-100 scale, which is what makes RSI so easy to read across any stock, index, or timeframe.

The thresholds everyone watches. Developed by J. Welles Wilder in 1978, RSI uses two classic levels:

  • RSI above 70 (overbought): the asset has rallied hard and may be due for a pullback or consolidation.
  • RSI below 30 (oversold): the asset has dropped sharply and may be due for a bounce.
  • RSI near 50: momentum is balanced, with neither buyers nor sellers in clear control.

Here is what separates a beginner from a tactician. Overbought does not mean sell, and oversold does not mean buy. In a powerful uptrend, RSI can sit above 70 for weeks while the stock keeps climbing, and traders who shorted the first overbought reading got run over. The signal is most reliable in range-bound, sideways markets, where price keeps bouncing between support and resistance. In a strong trend, RSI is better used to spot pullback entries, like buying a brief dip to RSI 40 inside an uptrend, than to bet on a top.

Paste your closing prices above, set the period, and the calculator runs the full averaging math for you, so you get the exact RSI value instead of eyeballing a chart.

How to use RSI without getting trapped

RSI is one of the most popular indicators in technical analysis, and also one of the most misused. Here is how to read it so the signals work for you instead of against you.

Match the signal to the market type. In a sideways, range-bound market, the classic 70/30 overbought and oversold levels are at their most reliable, because price genuinely tends to revert. In a strong trend, flip your approach: in an uptrend, treat dips toward RSI 40 to 50 as potential entries rather than waiting for a deep oversold reading that may never come. The same indicator means different things depending on whether price is trending or chopping.

Hunt for divergence, the highest-value RSI signal. Bearish divergence happens when price makes a higher high but RSI makes a lower high, hinting that momentum is fading even as price climbs. Bullish divergence is the reverse: price makes a lower low while RSI makes a higher low, suggesting selling pressure is easing. Divergences often precede reversals more reliably than a raw overbought or oversold reading.

Tune the period to your style. The default 14-period RSI balances sensitivity and noise. A shorter period like 7 reacts faster and fires more signals, useful for short-term trading but prone to false alarms. A longer period like 21 smooths the line for position traders who want fewer, steadier signals. Adjust the lookback in the calculator to match your timeframe.

Never trade RSI alone. Confirm its signals with trend direction, support and resistance levels, and volume. An oversold RSI that lines up with a major support level and rising volume is a far stronger setup than an oversold reading floating in empty space. RSI is a confirmation tool, not a standalone system.

This calculator provides estimates based on the information you enter. For advice tailored to your situation, consult a qualified financial professional.

Frequently Asked Questions

Common questions about the RSI Calculator - Relative Strength Index

An RSI above 70 signals that an asset is overbought, meaning it has risen quickly and may be due for a pullback or pause. But overbought does not automatically mean sell. In a strong uptrend, RSI can stay above 70 for weeks while the price keeps climbing. Treat a reading above 70 as a caution flag to watch closely, not as an automatic exit signal.
Advertisement

Sources & References

Investing concepts and definitions

Plain-language definitions of investment products, returns, risk, and fees from the U.S. SEC’s investor education service.