Built and fact-checked by the DocNectar team — see our editorial standards
Key Features
Instant Calculation
Get accurate results in real time with our optimized algorithm.
Mobile Friendly
Fully responsive design. Works on all devices & screen sizes.
Privacy Focused
Your data stays on your device. We don't store any inputs.
100% Free
No hidden costs. This tool is completely free forever.
A simple moving average smooths out short-term noise in a series of numbers — like stock prices or sales figures — by averaging each value with a fixed number of recent values around it, making underlying trends easier to see.
This calculator computes the simple moving average across a full data series for a period you choose, showing every SMA value along the way.
How it works
Enter your data as a comma-separated list of numbers, and choose a period (how many values to average together at a time). The calculator slides a window of that size across the data, averaging each window to produce the full SMA series.
- Enter numbers (comma-separated).
- Enter period.
- Click Calculate to see your results.
Examples
A 7-value series with a period of 3
For the series 10, 12, 14, 13, 15, 17, 16 with a period of 3, the SMA series is 12, 13, 14, 15, 16 — each value is the average of itself and the two before it.
Who should use it
- Smoothing stock price or sales data to spot underlying trends.
- Reducing noise in any regularly-sampled data series for analysis.
Industry applications
- Technical analysis and financial trading
- Sales and demand forecasting
Advantages
- Shows the full SMA series, not just a single final value.
- Simple, transparent, equally-weighted averaging with no hidden assumptions.
Limitations
- Lags behind sudden changes more than an exponential moving average would, since all values in the window are weighted equally.
Common mistakes to avoid
- Entering fewer data points than the chosen period, which leaves no valid window to average.
- Using a period that's too short (noisy) or too long (unresponsive) for the trend you're trying to see.
Best practices
- Choose a period length that matches the trend timeframe you care about — shorter periods react faster but show more noise; longer periods smooth more but lag behind changes.
Tips
- If your data is very noisy, try a longer period to smooth it further; if the average lags too far behind real changes, try a shorter period instead.