Margin of error is a term used in Statistics to find the confidence interval. It is denoted by E.
Formula for E is:
Critical Value x Standard Deviation / (Square Root of Sample Size)

The critical value is determined by the type of test that is to be used for the given scenario and the confidence level.