$ \bar{x} = \frac{\sum x_i}{n} $ - $n$ is the number of samples There is no difference to a population mean, except that not all $x_i$ are known.