Moving Average Calculator

Calculate Simple Moving Average (SMA) and Exponential Moving Average (EMA) from your price data. Enter a series of prices and choose your period length and MA type to instantly see the current moving average value, trend direction, and price signal.

Price Data

Results

$158.39 SMA (10-Period)
Current Price$162.50
Price vs MA2.60%
SignalBullish (Price Above MA)
Trend DirectionUptrend
Data Points15

EDUCATION

Understanding Moving Averages

Moving averages are among the most widely used technical indicators in trading. They smooth out price data by creating a constantly updated average price, making it easier to identify the direction of a trend. By filtering out short-term noise, moving averages help traders focus on the underlying price direction.

The Simple Moving Average (SMA) is calculated by adding the closing prices over a given number of periods and dividing by that number: SMA = (P1 + P2 + ... + Pn) / n. The Exponential Moving Average (EMA) gives more weight to recent prices using a multiplier: EMA = Price x k + EMA(previous) x (1 - k), where k = 2 / (n + 1). The EMA reacts more quickly to recent price changes than the SMA.

Traders use moving averages as dynamic support and resistance levels. When the price is above the moving average, it suggests bullish momentum; when below, it indicates bearish pressure. Crossovers between shorter and longer moving averages are also popular signals. For example, when a 50-period MA crosses above a 200-period MA (a golden cross), it is considered a bullish signal, while the reverse (a death cross) is bearish.

RELATED TOOLS

More Trading Calculators

open_in_full

Bollinger Bands Calculator

Calculate upper, middle, and lower Bollinger Bands to gauge volatility and identify overbought or oversold conditions.

monitor_heart

RSI Calculator

Calculate the Relative Strength Index to identify overbought and oversold conditions in any market.

bar_chart

VWAP Calculator

Calculate the Volume Weighted Average Price to evaluate execution quality and identify intraday trends.

Demo Account Available

Test strategies with $50,000 in virtual capital.

Open Account