Moving Average Calculator
Simple and exponential moving averages from prices you paste, with a chart, the latest values and short vs long crossovers.
OpenCalculate RSI step by step from your own prices.
Your results
Latest 14-period RSI
37.79That's between the two lines (30 and 70). The one before was 33.09.
RSI compares the size of recent gains with recent losses on a 0 to 100 scale. Readings over 70 are called overbought and under 30 oversold by convention, but strong trends can stay there for a long time, so they aren't buy or sell signals on their own.
Estimates based on your inputs and the assumptions listed below. Not tax, financial or lending advice. Disclaimer
The first RSI appears at price 15, once there are 14 changes to average. Bottom axis: price number, oldest first.
A gain is a rise from the previous close, a loss is a drop (shown as a positive number).
| # | Close | Change | Gain | Loss | Avg gain | Avg loss | RSI |
|---|---|---|---|---|---|---|---|
| 22 | $46.25 | 0.04 | 0.04 | 0.00 | 0.20 | 0.12 | 63.21 |
| 23 | $45.71 | -0.54 | 0.00 | 0.54 | 0.19 | 0.15 | 56.01 |
| 24 | $46.45 | 0.74 | 0.74 | 0.00 | 0.23 | 0.14 | 62.34 |
| 25 | $45.78 | -0.67 | 0.00 | 0.67 | 0.21 | 0.18 | 54.67 |
| 26 | $45.35 | -0.43 | 0.00 | 0.43 | 0.20 | 0.19 | 50.39 |
| 27 | $44.03 | -1.32 | 0.00 | 1.32 | 0.18 | 0.27 | 40.02 |
| 28 | $44.18 | 0.15 | 0.15 | 0.00 | 0.18 | 0.26 | 41.49 |
| 29 | $44.22 | 0.04 | 0.04 | 0.00 | 0.17 | 0.24 | 41.90 |
| 30 | $44.57 | 0.35 | 0.35 | 0.00 | 0.18 | 0.22 | 45.50 |
| 31 | $43.42 | -1.15 | 0.00 | 1.15 | 0.17 | 0.29 | 37.32 |
| 32 | $42.66 | -0.76 | 0.00 | 0.76 | 0.16 | 0.32 | 33.09 |
| 33 | $43.13 | 0.47 | 0.47 | 0.00 | 0.18 | 0.30 | 37.79 |
| # | Close | Change | Gain | Loss | Avg gain | Avg loss | RSI |
|---|---|---|---|---|---|---|---|
| 1 | $44.34 | - | - | - | - | - | - |
| 2 | $44.09 | -0.25 | 0.00 | 0.25 | - | - | - |
| 3 | $44.15 | 0.06 | 0.06 | 0.00 | - | - | - |
| 4 | $43.61 | -0.54 | 0.00 | 0.54 | - | - | - |
| 5 | $44.33 | 0.72 | 0.72 | 0.00 | - | - | - |
| 6 | $44.83 | 0.50 | 0.50 | 0.00 | - | - | - |
| 7 | $45.10 | 0.27 | 0.27 | 0.00 | - | - | - |
| 8 | $45.42 | 0.32 | 0.32 | 0.00 | - | - | - |
| 9 | $45.84 | 0.42 | 0.42 | 0.00 | - | - | - |
| 10 | $46.08 | 0.24 | 0.24 | 0.00 | - | - | - |
| 11 | $45.89 | -0.19 | 0.00 | 0.19 | - | - | - |
| 12 | $46.03 | 0.14 | 0.14 | 0.00 | - | - | - |
| 13 | $45.61 | -0.42 | 0.00 | 0.42 | - | - | - |
| 14 | $46.28 | 0.67 | 0.67 | 0.00 | - | - | - |
| 15 | $46.28 | 0.00 | 0.00 | 0.00 | 0.24 | 0.10 | 70.46 |
| 16 | $46.00 | -0.28 | 0.00 | 0.28 | 0.22 | 0.11 | 66.25 |
| 17 | $46.03 | 0.03 | 0.03 | 0.00 | 0.21 | 0.10 | 66.48 |
| 18 | $46.41 | 0.38 | 0.38 | 0.00 | 0.22 | 0.10 | 69.35 |
| 19 | $46.22 | -0.19 | 0.00 | 0.19 | 0.20 | 0.10 | 66.29 |
| 20 | $45.64 | -0.58 | 0.00 | 0.58 | 0.19 | 0.14 | 57.92 |
| 21 | $46.21 | 0.57 | 0.57 | 0.00 | 0.22 | 0.13 | 62.88 |
| 22 | $46.25 | 0.04 | 0.04 | 0.00 | 0.20 | 0.12 | 63.21 |
| 23 | $45.71 | -0.54 | 0.00 | 0.54 | 0.19 | 0.15 | 56.01 |
| 24 | $46.45 | 0.74 | 0.74 | 0.00 | 0.23 | 0.14 | 62.34 |
| 25 | $45.78 | -0.67 | 0.00 | 0.67 | 0.21 | 0.18 | 54.67 |
| 26 | $45.35 | -0.43 | 0.00 | 0.43 | 0.20 | 0.19 | 50.39 |
| 27 | $44.03 | -1.32 | 0.00 | 1.32 | 0.18 | 0.27 | 40.02 |
| 28 | $44.18 | 0.15 | 0.15 | 0.00 | 0.18 | 0.26 | 41.49 |
| 29 | $44.22 | 0.04 | 0.04 | 0.00 | 0.17 | 0.24 | 41.90 |
| 30 | $44.57 | 0.35 | 0.35 | 0.00 | 0.18 | 0.22 | 45.50 |
| 31 | $43.42 | -1.15 | 0.00 | 1.15 | 0.17 | 0.29 | 37.32 |
| 32 | $42.66 | -0.76 | 0.00 | 0.76 | 0.16 | 0.32 | 33.09 |
| 33 | $43.13 | 0.47 | 0.47 | 0.00 | 0.18 | 0.30 | 37.79 |
First average gain = sum of the first 14 gains / 14 = 0.24. First average loss = 0.10.
After that, Wilder's smoothing: new average = (previous average x 13 + today's gain or loss) / 14.
RS = average gain / average loss. RSI = 100 - 100 / (1 + RS). Latest: RS = 0.61, RSI = 37.79.
Short answer
RSI compares average gains with average losses over a period, usually 14. RS is the average gain divided by the average loss, and RSI = 100 - 100 / (1 + RS). Readings over 70 are called overbought and under 30 oversold by convention, but they aren't buy or sell signals.
For these 33 example closing prices, the 14-period RSI is 37.79, with an average gain of 0.18 and an average loss of 0.30.
Change = today's close - yesterday's close. Gains are the positive changes, losses the negative ones as positive numbers. First average gain and loss = simple averages of the first N changes. After that, Wilder's smoothing: average = (previous average x (N - 1) + today's value) / N. RS = average gain / average loss. RSI = 100 - 100 / (1 + RS).
Average the gains and the losses over the period (14 is standard), divide the average gain by the average loss to get RS, then RSI = 100 - 100 / (1 + RS). Later averages use Wilder's smoothing so each new day counts for 1/14.
By convention it's called overbought: recent gains have been much larger than recent losses. It doesn't mean prices will fall. In a strong uptrend RSI can stay over 70 for a long time.
Sites start the first average in different ways and some round it, so early values can differ. With enough prices, the numbers converge.
At least the period plus one, so 15 closes for a 14-period RSI. More prices give values that match charting sites more closely.
Formulas and figures last checked Nov 5, 2026.
Go deeper
Simple and exponential moving averages from prices you paste, with a chart, the latest values and short vs long crossovers.
OpenMeasured-move target, failure level and reward to risk for 27 chart patterns: cup and handle, head and shoulders, double and triple tops, flags, pennants, wedges, triangles, channels, diamonds and more.
Open