Back to Glossary

Entry · Trading

Simple Moving Average (SMA)

A simple moving average is the arithmetic mean of a security's prices over a chosen number of periods, recalculated as each new period arrives. It smooths day-to-day price noise so an underlying trend is easier to see. Every observation in the window carries equal weight.

From the Money Master HQ dictionary, founded by Shihan Sheriff (FCMA, VP of Finance at Nomod, CFO at Esanjo Ventures). How these definitions are written.

What it means

The calculation is a rolling average: sum the closing prices over the chosen window and divide by the number of periods. The next day, the oldest price drops out and the newest enters, so the average moves through time with the market.

NIST's statistical handbook describes the same rolling process as smoothing, in which you advance one period, drop the oldest observation and average the next set, and financial charts apply that procedure to a chosen price series. The window choice controls the behaviour.

A 10-day average follows prices closely and reacts fast, while a 50-day or 200-day average responds slowly but shows the broader trend. There is no correct window; each trades responsiveness against smoothness, so choosing is part of the analysis, not a setting to copy from someone else's chart.

Lag is the built-in cost. Because the SMA looks backward, it confirms trends rather than predicting them, and it turns after prices do.

In a sideways market, that lag produces repeated false signals as prices cross the average both ways. Equal weighting distinguishes the SMA from its main alternative, since an exponential moving average weights recent prices more heavily and so reacts faster.

Neither is universally better; the choice depends on how much responsiveness the analysis needs. Widely watched settings create their own dynamics, as the 50-day and 200-day pair is so common that crossovers between them, such as the golden cross and death cross, attract attention themselves, and some analysts warn that popularity can make such signals partly self-fulfilling.

Reporting discipline matters when using any moving average: state the window, the price used, the frequency and the averaging method. A 50-day SMA and a 50-week SMA describe very different views of the same asset.

Support and resistance uses are common too, as traders watch whether a falling price steadies near a widely followed average, or whether a rally stalls there, but such behaviour is observed convention, not a law, and it strengthens when many participants watch the same line. The SMA is a descriptive tool, not a valuation method.

It summarises where prices have been, and it says nothing by itself about what they are worth or where they must go next.

In practice

Real-world examples.

1

Example

A fictional stock closes at $10, $11, $12, $11 and $14 over five days. The five-day SMA is $58 divided by 5, or $11.60. When the next close of $15 arrives, the average moves to $12.60.

2

Example

A fictional chart shows the 50-day average crossing above the 200-day average. Traders call the pattern a golden cross, but it describes past prices and can still fail. A trader who buys on the cross takes on the risk that the rally has already happened.

3

Example

A fictional analyst switches from a 20-day to a 200-day window on the same chart. The line becomes smoother and slower to turn, and several recent whipsaw signals disappear from view entirely. The cost is that the longer line confirms any new trend much later.

Formula

Calculation

SMA = sum of prices over n periods / n. With closes of $10, $11, $12, $11 and $14, SMA = ($10 + $11 + $12 + $11 + $14) / 5 = $58 / 5 = $11.60. Each new period replaces the oldest observation. If the next close is $15, the oldest close of $10 drops out and the new window is $11, $12, $11, $14 and $15, so SMA = $63 / 5 = $12.60. A shortcut gives the same answer: new SMA = old SMA + (newest close - oldest close) / n = $11.60 + ($15 - $10) / 5 = $11.60 + $1.00 = $12.60. Window length changes the answer. On the same six closes of $10, $11, $12, $11, $14 and $15, a 3-day SMA at the end is ($11 + $14 + $15) / 3 = $13.33, while the 5-day SMA is $12.60 and the average of all six closes is $73 / 6 = $12.17. The shorter window sits closer to the latest price and reacts faster. Figures are fictional and illustrative; real analysis should state the window, price field and frequency used.

Case study

Seen in the real world.

This case study is fictional and illustrative. A trader follows a 20-day average on a choppy stock and is whipsawed by repeated crosses, losing small amounts on each signal. Reviewing the trades, she sees the market was range-bound, where a fast average lags just enough to buy high and sell low repeatedly. She switches to using the 200-day average for trend context and waits for the range to resolve. The tool did not change; the market regime did.

Her lesson is that an SMA describes trend well only when a trend exists. The numbers show the damage. The stock moved between $48 and $52 for four months, and the 20-day average gave six crossover signals. On 100 shares, each round trip lost about $100 once the whipsaw and commissions were counted, so six signals cost her roughly 6 x $100 = $600 without any trend to follow. When the stock finally broke out above $52 and stayed above its 200-day average, she bought with the trend rather than with the noise.

Watch out

Common mistakes.

  • Using one window for every market and timeframe without testing whether it fits the asset and the holding period.
  • Expecting a lagging average to predict turns rather than confirm them.
  • Comparing averages with different windows, frequencies or price fields as if they were interchangeable measures of the same thing.

Questions

People also ask.

How is a simple moving average calculated?

Add the prices over the chosen number of periods and divide by that number, then roll the window forward one period at a time as new prices arrive.

What is the difference between SMA and EMA?

An SMA weights every observation equally; an exponential moving average weights recent prices more heavily and reacts faster.

Which window should be used?

There is no universal answer. Shorter windows react faster; longer windows show broader trend. State the window, frequency and price field whenever reporting a signal from one.

Was this explanation helpful?

From the founder's library

Accounting Fundamentals: A Non-Finance Manager's Guide to Finance and Accounting, by Shihan Sheriff

Take it further with the book.

Build your financial confidence beyond this definition. Shihan's full-length guide, Accounting Fundamentals, takes the same plain-English approach and turns it into a complete, practical playbook for non-finance managers, business owners and students - with chapter-end quiz answers and presentation slides included.

US$2.24US$2.99

25% off with code MMHQ25, applied at checkout. Priced in USD - checkout may show the equivalent in your local currency.

View the book and save 25%
Last updated · October 8, 2026
Browse all terms →

Disclaimer

The information provided in this finance dictionary is for educational and informational purposes only. It should not be construed as financial, investment, legal, or tax advice. Always consult with a qualified professional before making any financial decisions. Money Master HQ makes no representations or warranties about the accuracy, completeness, or suitability of this information. Use of this content is at your own risk.