i What this calculator does

Quick answer: Calculate standard deviation and volatility for any instrument instantly. With the default inputs (price series 20100, 20250, 20180, 20340, 20290, 20410, 20380, 20520, 20470, 20600, trading periods per year 252), it returns period volatility (std dev) of 0.50%.

A volatility calculator measures how much an instrument's price has actually moved over a series of periods, expressed as the standard deviation of returns, then scaled to an annualised figure for easy comparison.

Paste in a series of closing prices in order, and the calculator works out the period-by-period returns, the standard deviation of those returns, and the annualised volatility based on how many periods make up a year for your data.

🧮
Volatility Trading Calculator
Enter your trade details below
Enter at least 5 consecutive closing prices. More data points give a more reliable reading.
252 for daily data, 52 for weekly, 12 for monthly

This calculator is for educational purposes only. Results are estimates and may vary depending on market conditions, spreads, commissions, platform settings, and exchange rates. It should not be considered financial advice.

↗ Calculation Result
Calculation Breakdown
Full transparency on how this result was calculated.
Price series entered

How to read the result

Start with the period volatility (std dev), which is the number the trade decision turns on, then check the supporting figures. The conversion itself is exact; the uncertainty is the rate you typed and the spread your broker adds to it, so re-run the figure at the live quote before acting. For the reasoning, read What Is Volatility and How Is It Measured?.

Standard deviation of any set of values

The calculator works on a price series, turning it into returns before measuring how widely they spread. The same measure applies to any list of values, such as monthly results or trade outcomes in R: find the mean, square each value’s distance from it, add the squares, divide by the number of values less one for a sample (or by the number of values for a whole population), and take the square root.

The squared figure before the root is the variance, and the standard deviation divided by the mean is the coefficient of variation. A larger standard deviation means results are more spread out, not that they are worse. This page replaces the separate standard deviation calculator.

A worked example in rand

Hypothetical example. Take the defaults as a worked case: price series 20100, 20250, 20180, 20340, 20290, 20410, 20380, 20520, 20470, 20600 and trading periods per year 252. The result is a period volatility (std dev) of 0.50%, per period, based on returns.

Alongside it: annualised volatility 7.92%, price range 500.00 and average price 20,354.00. Change one input, the trading periods per year, to 504, and the annualised volatility moves from 7.92% to 11.21%. Note that the period volatility (std dev) stays the same; it is set by the other inputs.

Common results

What the calculator returns as the trading periods per year changes, with every other input at its default (price series 20100, 20250, 20180, 20340, 20290, 20410, 20380, 20520, 20470, 20600).

Trading Periods Per YearPeriod Volatility (Std Dev)Annualised VolatilityPrice Range
750.50%4.32%500.00
1500.50%6.11%500.00
3000.50%8.65%500.00
7500.50%13.67%500.00
1,5000.50%19.33%500.00
2,5000.50%24.96%500.00
Annualised volatility by trading periods per year
Annualised volatility by trading periods per year

⬇ Download this chart (PNG) · Free to reuse with the credit “Source: TradeAnswers, Volatility Calculator” (CC BY 4.0).

How the calculation works

There are two inputs to fill in: Price Series and Trading Periods Per Year. Price Series: Enter at least 5 consecutive closing prices. More data points give a more reliable reading. Trading Periods Per Year: 252 for daily data, 52 for weekly, 12 for monthly. The period return is (Price(t) − Price(t-1)) ÷ Price(t-1).

The standard deviation is Square root of average squared deviation from mean return = 0.499%. The annualised is Std Dev × √(Periods Per Year) = 7.92%. The breakdown also lists mean return, standard deviation and annualised volatility. Scaling a daily figure to a yearly one by the square root of the number of periods is the convention used in J.P. Morgan’s RiskMetrics document (RiskMetrics Technical Document, 1996).

The South African angle

Cross rates for rand pairs other than the dollar, such as EUR/ZAR and GBP/ZAR, are derived from the dollar legs and carry both spreads, which is why they are wider than USD/ZAR. The rand trades 24 hours but its liquidity is concentrated in the London and New York sessions, 10:00 to 23:00 SAST, outside which spreads widen sharply.

What this calculator typically outputs

A volatility calculator typically outputs a specific numerical figure representing an instrument's typical recent price movement magnitude, for ATR specifically, this figure is expressed in the instrument's own price units (pips for forex, points for indices), calculated as the average true range over a chosen recent lookback period, commonly 14 periods as a standard default setting.

Check exactly which specific volatility measure your particular tool calculates, discussed elsewhere on this site regarding standard deviation and ATR specifically, since different measures can produce different figures worth understanding rather than treating all volatility outputs as interchangeable.

Using ATR output for stop-loss calibration

Many traders set stop-loss distance as a multiple of current ATR (for example, 1.5 or 2 times the current ATR reading) rather than using a fixed, static pip distance regardless of current market conditions. This ATR-based approach ensures stop-loss placement reflects current, real volatility, automatically adjusting wider during more volatile periods and tighter during calmer periods.

Recalculate this figure regularly rather than setting a stop-loss distance once and reusing it indefinitely, an instrument's ATR shifts as market conditions change, meaning a distance appropriate during calmer conditions may prove too tight once volatility increases.

Assumptions and limitations

It annualises the standard deviation of the returns you enter. Volatility changes over time and clusters in periods of stress, so a past figure can understate the next shock.

Key Takeaways

  1. Start with the period volatility (std dev), which is the number the trade decision turns on, then check the supporting figures.
  2. It annualises the standard deviation of the returns you enter.
  3. There are two inputs to fill in: Price Series and Trading Periods Per Year.

Spotted an outdated figure? If a rate, limit or formula in this calculator no longer matches its source, email us the page and the source. A material correction is dated on the Updates Log.

Share this calculator:

Frequently asked questions

What does this calculator actually measure?

It measures historical volatility, how much an instrument's price has actually moved period-to-period based on the data you enter, expressed as a standard deviation of returns. This is different from implied volatility, which is derived from options pricing and reflects the market's expectation of future movement rather than what has already happened.

Why does the calculator ask for periods per year?

Volatility is naturally calculated per the interval of your data (daily, weekly, monthly), but comparing volatility across different instruments or timeframes is easier with a standardised annual figure. Multiplying by the square root of the number of periods in a year converts your period-specific volatility into an annualised, comparable number.

How many price points do I need for a reliable reading?

More data generally produces a more statistically reliable reading, a handful of prices can be skewed heavily by one unusual move. Professional volatility calculations often use 20, 60, or more data points; treat a calculation from fewer than 10-15 points as a rough indication rather than a precise, stable measure.

How is this different from ATR (Average True Range)?

Standard deviation of returns (used here) measures the dispersion of percentage price changes around their average. ATR instead measures the average size of each period's full trading range (high to low, accounting for gaps), expressed in price units rather than percentage terms. Both are volatility measures, but they're calculated differently and are used somewhat differently in practice.

What's considered high or low volatility?

This varies enormously by instrument and asset class, there's no universal threshold. Major forex pairs like EUR/USD typically show lower annualised volatility (often single digits to low teens as a percentage) than individual equities or cryptocurrencies, which can show annualised volatility well into double or triple digits during active periods.

Why does volatility matter for position sizing?

Higher volatility means larger typical price swings, which generally calls for smaller position sizes to keep your Rand risk per trade consistent, since a wider stop-loss distance (needed to avoid being stopped out by normal noise) means each unit of position size represents more risk. This is the same logic behind ATR-based position sizing specifically.

Does higher volatility always mean higher risk?

Generally yes in terms of potential price swings, though volatility itself isn't inherently negative, some strategies specifically seek out volatile conditions for larger potential moves, the key is matching your position sizing to the actual volatility level.

Want to embed this calculator on your site?

Embed this calculator

Free to use on your own site. Copy the code below and paste it where you want the calculator to appear.

<iframe src="https://www.tradeanswers.co.za/embed/volatility-calculator.html"
        width="100%" height="510" style="border:0;max-width:520px"
        title="Volatility Trading Calculator - TradeAnswers" loading="lazy"></iframe>
<p><a href="https://www.tradeanswers.co.za/volatility-calculator.html">Volatility Calculator</a> by <a href="https://www.tradeanswers.co.za/">TradeAnswers</a></p>