ME = z × √(p(1−p)/n)
Calculate the margin of error for a survey or poll in your browser — set confidence and sample size.