Which of the following describes how the margin of error is calculated?
A. It is equal to the square of the sample size.
B. It is equal to the square root of the sample size.
C. It is equal to the inverse of the square of the sample size.
D. It is equal to the inverse of the square root of the sample size.