If a random variable has a standard deviation of σ and a sample of size n is collected for the variable, then the mean has a standard error given by σ/√n. So the standard error of the mean is calculated using the two quantities: standard deviation σ and the sample size n.