Your country

Tools that support it use your country for local currency, number formats, units and paper size. Your choice is saved only in this browser.

Type a name or a two-letter code. Use the up and down arrow keys to move through the countries, Enter to choose one and Escape to close.

Historical Volatility & ATR Calculator

How much a price really moved: five volatility measures and ATR.

Free preview, no sign-upIncluded in your pass Pro tool Pro pass: ₹179 for 30 days No upload Works offline Trading

Try before you buy.

  • Free preview: the close-to-close volatility in full, with the first rows of each table (up to 3) and a watermarked chart; every other figure is hidden.
  • Locked until you unlock it: download and copy.
  • Unlock: Pro pass, ₹179 for 30 days, a one-time payment that never renews.

Ways to unlock shows how to get the full result.

See passes (opens in a new tab)

Printing this result is locked in the free preview.

Your prices

Or paste a price table with a header row

Close-to-close volatility —

Five ways to measure it

A 1σ move at the last price

Rolling volatility

How this was calculated

Next steps Done. What next?

All trading & stock market tools

For education only, not investment advice: no tool here tells you what to buy, sell or hold. Results use only the figures you enter, the files you load (read in your browser, never uploaded) and the published rules each page names. Check them against your broker's or exchange's own figures, and consider a licensed or registered adviser for advice on your situation.

About the Historical Volatility & ATR Calculator

Paste a list of closing prices, or load a price file with opens, highs, lows and closes, and see how much the price really moved: close-to-close volatility (the standard deviation of daily log returns, annualised), and from the bars’ ranges the Parkinson, Garman–Klass, Rogers–Satchell and Yang–Zhang estimates, with ATR and the average daily range.

You also get a rolling volatility chart, and the size of a one-standard-deviation move over a day and a week at the last price — in price units, as a percentage and, for currency pairs, in pips. Choose the periods a year (252 trading days, 365 calendar days for markets that trade every day, 52 weeks, 12 months) or let the tool read it from the dates.

It works for shares, indices, futures, currency pairs and coins in any market. The figures are historical: they describe how your prices moved, not how they will move. Your prices stay in your browser.

How to use it

  1. Paste your closing prices, one per line — or export a price file (date, open, high, low, close) from your broker, exchange or charting app and choose it here, or try the sample file of the fictional DEMO share.
  2. Check the periods a year (detected from the dates of a file), the rolling window and the ATR period; add the pip size for a currency pair.
  3. Read the close-to-close volatility and the range-based estimates side by side, with ATR and the average daily range.
  4. Copy the summary or download the returns and the rolling volatility as a CSV — with a pass, or after unlocking this result.

Examples

The DEMO-40 test series, 252 periods a year
Input
Closes round(100 + 10·sin(t/3) + 0.2t, 4) for t = 0…39; opens the previous close; highs and lows one point either side
Result
Close to close 36.84% · Parkinson 39.09% · Garman–Klass 40.16% · Rogers–Satchell 38.26% · Yang–Zhang 38.34% a year
Yang–Zhang on the same bars
Input
Bars 1–39 (each with a previous close), n = 39
Result
k = 0.34 ÷ (1.34 + 40 ÷ 38) = 0.142103; the overnight part is 0 because each open is the previous close
ATR and a day’s 1σ move
Input
ATR(14) at the last bar; last close 112.0017
Result
ATR 4.2466 (3.79% of the close) · 1σ over one day ≈ 112.0017 × 0.368424 × √(1/252) = ±2.60

Common uses

  • Size a stop or a position from how far your instrument really moves in a day or a week.
  • Compare realized volatility with the implied volatility of an option on the same underlying.
  • Express a currency pair’s typical daily move in pips.
  • See whether volatility rose or fell over the period of your file.

The formulas

  • Close to close: σ = the sample standard deviation of ln(Cₜ ÷ Cₜ₋₁), × √(periods a year).
  • Parkinson: σ² = Σ ln(H ÷ L)² ÷ (4n ln 2), from each bar’s high and low (Parkinson, The Journal of Business).
  • Garman–Klass: σ² = (1/n) Σ [½ ln(H ÷ L)² − (2 ln 2 − 1) ln(C ÷ O)²] (Garman and Klass, The Journal of Business).
  • Rogers–Satchell: σ² = (1/n) Σ [ln(H ÷ C) ln(H ÷ O) + ln(L ÷ C) ln(L ÷ O)], which allows for a drift in the price (Rogers and Satchell, The Annals of Applied Probability).
  • Yang–Zhang: σ² = σ²(overnight: ln(Oₜ ÷ Cₜ₋₁)) + k σ²(open to close: ln(Cₜ ÷ Oₜ)) + (1 − k) σ²(Rogers–Satchell), k = 0.34 ÷ (1.34 + (n + 1) ÷ (n − 1)) (Yang and Zhang, The Journal of Business).
  • ATR is Wilder’s average true range (ATR); the average daily range is the mean of high − low over the rolling window, and as a percentage the mean of (high − low) ÷ close.
  • The 1σ move over t years ≈ the last close × σ × √t (a normal approximation): a day is 1/252 of a year (1/365 for 365-day data), a week 1/52.

Reading the results

  • Close to close uses only closes; the range-based estimates use what happened inside each bar too, so they are steadier with few bars. Garman–Klass and Parkinson assume no drift; Rogers–Satchell and Yang–Zhang allow for it, and Yang–Zhang also counts the jump from one close to the next open.
  • Annualised figures assume the moves add up independently over a year; the periods a year must match your data (252 for trading days, 365 for markets that trade every day).
  • A 1σ move is a size, not a forecast: in a normal distribution about two days in three move less than it, and real prices have fatter tails.
  • Intraday files: the bars are counted per day to annualise, and the average daily range is the range of each whole day, not of a single bar.

What it leaves out

Anything that is not in your prices: dividends and splits (unless the prices are adjusted), gaps between sessions in a closes-only list, and moves inside a bar that its high and low do not show. Volatility changes over time; the rolling chart shows how much it did in your file.

Limitations

  • The range-based estimates need opens, highs and lows; a pasted list of closes gives close to close only.
  • Rows with a high below the low, or an open or close outside the range, leave the range estimates out until the file is fixed.
  • Historical figures describe the past prices in your file, not future ones.

Privacy

Everything happens in your browser. What you enter or open here is not uploaded or stored by MySmartCoPilot.

Frequently asked questions

What do I get without a pass?

Without a pass, Historical Volatility & ATR Calculator shows the close-to-close volatility in full, with the first rows of each table (up to 3) and a watermarked chart; every other figure is hidden. Until you unlock it, the result can’t be downloaded or copied. A Pro, Premium or Ultimate pass, a one-time payment that never renews, unlocks the full result. The pricing page lists the passes and their prices.

Which volatility should I look at?

Close to close is the one most tools quote, and the one option prices are usually compared with. The range-based estimates use more of each bar and are steadier over few bars; Yang–Zhang combines the overnight jump, the open-to-close move and the range. When they disagree a lot, it is often because the file has gaps between sessions, a strong drift, or bars with an unusual open.

Why do I choose the periods a year?

Volatility is annualised by √(periods a year): 252 for daily data on trading days, 365 for markets that trade every day (most crypto), 52 for weekly and 12 for monthly data. Intraday bars count per day: 78 five-minute bars a day over 252 days are 19,656 a year. With a file, the tool reads all of this from the dates and shows what it read.

What is the difference between ATR and the average daily range?

ATR counts a gap from the previous close as part of the range (Wilder’s true range) and smooths it; the average daily range is the plain average of high − low over the window.

How do I get the move in pips?

Type the pip size of the pair — 0.0001 for most pairs, 0.01 for pairs quoted in yen — and the 1σ moves are shown in pips too.

Is my file uploaded?

No. Prices you paste or load are read in your browser and nothing is sent to our server.

Quick answers and tool search

Type to search tools or to get a quick answer, for example 18% of 2500. Use the up and down arrow keys to move through the results, Enter to choose, and Escape to close.