MARGINOFERROR function

This function calculates the margin of error from a range of values and a confidence level.

Sample usage

MARGINOFERROR(A1:A7, 0.95)

MARGINOFERROR(A1:C3, 0.99)

Syntax

MARGINOFERROR(range, confidence)

  • Range – The range of values used to calculate the margin of error.

  • Confidence – The desired confidence level between (0, 1).

Notes

  • The margin of error is a statistical measurement used to determine the amount of error due to chance in a random sample of a population. 
    • A large margin of error indicates that the estimate of the parameter of a given sample may not represent the parameter of the entire population. 
    • The margin of error decreases when the sample size is greater. 
    • Surveys with fewer differences in responses between participants also have smaller margins of error.
  • The confidence level is the likelihood that the true mean of the population lies in the margin of error above or below the sample mean.
  • MARGINOFERROR(range, confidence) is equal to CONFIDENCE.T(1 - confidence, STDEV(range), COUNT(range)).
  • The margin of error calculation is appropriate for:
    •  Continuous data normally distributed.
    • Surveys with large sample sizes.

Examples

  A
1 8
2 4
3 3
4 6
Mean 5.25
Formula =MARGINOFERROR(A1:A4, 0.95)
Result of MARGINOFERROR 3.528
Confidence interval [5.25 - 3.528, 5.25 + 3.528]

Lower bound 

(Mean - MARGINOFERROR)

1.722

Upper bound 

(Mean - MARGINOFERROR)

8.778

 

Related resources

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Main menu
1591471678169474339
true
Search Help Centre
true
true
true
true
true
35
false
false