Finance · Investments & Markets

Stochastic Oscillator Calculator

Calculate percent K and a simple percent D average from entered high-low-close rows.

Loading calculator…

Quick guide

How to use this calculator

  1. Enter observations in chronological order and choose the visible period or convention.
  2. Use prices and volumes with consistent units and equally spaced periods where required.
  3. Read the formula and seeding convention before comparing results with another platform.

Calculation method

Calculation method

%K = 100×(close−lowest low)÷(highest high−lowest low); %D = mean of latest entered %K values.

Technical indicators are deterministic transformations of entered historical data. Approximate floating results are explicitly formatted as estimates.

Worked example

Worked example

A 14-period lookback and 3-period smoothing use the latest 16 rows.

%K = 100×(close−lowest low)÷(highest high−lowest low); %D = mean of latest entered %K values.

Supported inputs

Precision and limits

Visible input limits

Lists accept up to 2,000 fixed-decimal rows. Period fields disclose their whole-number limits. Approximate indicators reject observations whose significant differences cannot be represented reliably at their entered scale.

No live market data

The page does not fetch prices, volumes, corporate actions, exchange calendars, or benchmark data. Enter adjusted or unadjusted observations deliberately.

Decision boundary

Indicators describe entered history. They do not predict price direction, identify a suitable trade, measure every risk, or recommend an investment.

Calculator-specific assumptions

High and low must differ in every selected lookback; the result is descriptive.