The simple answer is the standard deviation of periodic returns. This video takes some sample data for closing prices of a stock and demonstrates how volatility is calculated in Excel.

In finance, such as for price series, usually log returns are used, where log is the natural logarithm.