TradingCalculated
Calculations run privately in your browser
80 rows
One row per period: High, Low, Close
Paste rows from a spreadsheet or CSV.
%K (14, 3)87.05overbought (≥ 80)
%D (3)83.17%K above %D — rising momentum
%K shows where the close sits within the high–low range of the last 14 bars: 100 means at the top, 0 at the bottom. Crosses of %K over %D inside the overbought/oversold zones are the usual signals.
Price
Stochastic oscillator
Last 10 bars
BarClose%K%D
#80109.8887.0583.17
#79109.7481.8378.5
#78108.8280.6477.17
#77107.5573.0476.23
#76108.5877.8279.5
#75106.8977.8282.34
#74107.9882.8585.34
#73108.5886.3688.08
#72107.5786.889.11
#71108.1291.0791.01

Not financial advice. Results are estimates based on the values you enter and simplified assumptions; real trades are affected by fees, slippage, gaps and other factors. Trading involves substantial risk of loss. Read the full disclaimer.

How to calculate the stochastic oscillator

Raw %K = (Close − Lowest low) ÷ (Highest high − Lowest low) × 100 (over n bars) %K = SMA of raw %K (smoothing; 1 = fast stochastic) %D = SMA of %K

Paste prices oldest-first, one value or row per bar — straight from a spreadsheet or CSV export. Use “Sample data” to try it instantly.

Worked example

  1. Over 14 bars the highest high is 112 and the lowest low is 100.
  2. Close at 109 → raw %K = (109 − 100) ÷ (112 − 100) × 100 = 75.
  3. %D is the 3-bar average of %K.

How to interpret the stochastic oscillator

%K shows where the close sits in the recent range: near 100 at the top, near 0 at the bottom. Readings above 80 are overbought and below 20 oversold; %K crossing %D inside those zones is the usual trigger. Like RSI, it can stay extreme in strong trends.

Technical Indicators

Stochastic RSI Calculator

Apply the stochastic formula to RSI for a faster momentum oscillator.

StochRSI(14, 14, 3, 3) → %K & %D
Technical Indicators

RSI Calculator

Calculate the Relative Strength Index with Wilder or simple averaging and see overbought/oversold readings.

Avg gain 0.714 / avg loss 0.357 → RSI 66.67
Technical Indicators

CCI Calculator

Calculate the Commodity Channel Index from typical price, its average and mean deviation.

CCI(20) from high, low, close → ±100 zones

Stochastic calculator FAQ

Fast vs slow stochastic?

Fast uses raw %K; slow smooths it (usually over 3 bars) to reduce noise. Set smoothing to 1 for fast, 3 for slow.

What settings are standard?

14, 3, 3 — a 14-bar range, 3-bar smoothing and a 3-bar %D.