loading prices...
prices by coingecko
onchain.search tools/local · 0 uploads/links/about

home / trading / moving-average-calculatorlocal

Moving Average Calculator (SMA and EMA)

Paste prices to get the simple and exponential moving average for any period, like the 20, 50 or 200-day.

moving-average-calculatorready · runs in this browser

Runs locally in your browser. Nothing you type is sent anywhere.

trading tools · free · runs in your browser · no sign-up · no wallet

01 // about this tool

A moving average smooths out price noise. The simple average (SMA) weights each price the same; the exponential one (EMA) reacts faster because it weights recent prices more. The 50 and 200-day lines are the most watched.

02 // how to use it

  1. Paste closing prices, oldest first.
  2. Enter the period.
  3. Press Run to see both averages and how far price is from them.

03 // faq

SMA or EMA?

EMA turns sooner but gives more false signals. SMA is steadier.

What is a golden cross?

When the 50-day crosses above the 200-day. Run this twice with each period to compare.

04 // related tools

all 37 trading tools →