Confidence Intervals Survey Statistics Inferential Statistics 24 min read July 22, 2026
BY: Statistics Fundamentals Team
Reviewed By: Minsa A (Senior Statistics Editor)

Confidence Interval vs Margin of Error: What's the Difference?

A national poll finds 54% of voters favor a candidate, with a margin of error of ±3%. What does that number tell you? Exactly how is it related to the confidence interval? Many students and even working professionals confuse these two terms, treating them as separate concepts when they are actually two faces of the same calculation. The margin of error is half the width of the confidence interval. Understanding that relationship—and why it matters—is what this guide covers.

This page covers definitions, formulas, the mathematical relationship between the two, worked examples from polling and clinical research, an interactive dual calculator, and a decision guide for knowing which to report and when. Everything is built around standard notation from the NIST Engineering Statistics Handbook.

What You'll Learn
  • ✓ The exact mathematical relationship between CI and margin of error
  • ✓ How to calculate both from any dataset
  • ✓ What confidence level, critical value, and standard error actually mean
  • ✓ Five fully worked examples: polling, clinical trials, test scores, product ratings, customer surveys
  • ✓ How sample size affects both measures
  • ✓ When to report a CI vs a margin of error in practice
  • ✓ The CLEAR framework for building and interpreting any confidence interval

Confidence Interval vs Margin of Error: The Short Answer

📌
One-Paragraph Definition (Featured Snippet)

A confidence interval (CI) is a range of values computed from sample data that likely contains the true population parameter at a stated level of certainty (e.g., 95%). The margin of error (MOE) is the half-width of that range—the maximum expected difference between the sample estimate and the population value in either direction. The relationship is: CI = point estimate ± margin of error. The two terms describe the same statistical uncertainty from different angles: the CI shows the full plausible range, while the MOE summarizes that range as a single ± figure.

Consider a poll that finds 52% support with a 95% CI of (49%, 55%). The margin of error is ±3 percentage points—the distance from the sample estimate (52%) to either bound. If you know the MOE, you can reconstruct the CI. If you know the CI, you can calculate the MOE. The two values contain identical information.

CI
Point Estimate ± MOE
MOE
Width of CI ÷ 2
z* × SE
How MOE Is Calculated
95%
Most Common Confidence Level

Definitions: Confidence Interval and Margin of Error

What Is a Confidence Interval?

Definition — Confidence Interval
A confidence interval is a range of plausible values for a population parameter, derived from sample data, paired with a confidence level that describes the long-run proportion of such intervals that would contain the true parameter value if the sampling procedure were repeated many times.
CI = x̄ ± z* × (σ/√n)

The term was introduced by the statistician Jerzy Neyman in a landmark 1937 paper and formalized alongside the decision-theoretic framework developed with Egon Pearson. Unlike a single point estimate—which gives one number for a population parameter—a confidence interval acknowledges that any single sample will differ from the true population value by some amount of sampling error. The interval captures that uncertainty explicitly.

A 95% confidence interval does not mean there is a 95% probability that the true parameter lies within the computed range. The true parameter either is or is not inside any specific interval you calculate—probability no longer applies to it once the data are observed. The correct interpretation: if you repeated the study 100 times under identical conditions, roughly 95 of the resulting confidence intervals would contain the true population value. This interpretation, though subtle, matters for how you communicate uncertainty in research and reporting. The American Statistical Association provides formal guidance on this distinction in its statements on statistical inference.

What Is the Margin of Error?

Definition — Margin of Error
The margin of error is the maximum expected difference between the sample estimate and the true population parameter, expressed as a single ± value at a chosen confidence level. It equals half the width of the corresponding confidence interval and is calculated as the product of the critical value and the standard error.
MOE = z* × SE = z* × (σ/√n)

The margin of error appears most often in news reports of opinion polls. When a media outlet writes "±3 percentage points," they typically mean the margin of error at the 95% confidence level. Organizations like Gallup and the Pew Research Center publish their methodology alongside reported margins of error, including the confidence level used and the effective sample size after weighting.

The margin of error accounts only for random sampling error. It does not capture non-sampling errors like question wording bias, non-response bias, or coverage errors—errors that arise from how the survey was designed or conducted rather than from the randomness of who was selected. This is a common misconception worth addressing directly: a small margin of error does not guarantee an accurate poll.

The Mathematical Relationship Between CI and Margin of Error

The connection is direct and algebraic. Any symmetric confidence interval can be written as:

Core Relationship
CI = (x̄ − MOE,   x̄ + MOE)
= sample point estimate MOE = z* × SE Width of CI = 2 × MOE

This means: if you see a confidence interval reported as (L, U), you can always recover the margin of error as MOE = (U − L) / 2. If you see a margin of error, the confidence interval is simply (point estimate − MOE, point estimate + MOE).

The margin of error itself is built from two pieces: the critical value (z* for proportions and large samples, t* for means with small samples) and the standard error (SE), which measures how much a sample statistic varies from sample to sample.

Standard Error — Two Common Cases
SEmean = σ/√n     SEprop = √[p̂(1−p̂)/n]
σ = population SD (or s when estimated) n = sample size = sample proportion

The critical value z* comes from the standard normal distribution and depends on your chosen confidence level. The three most common values are well established:

Confidence Levelα (Significance)Critical Value z*Meaning
90%0.101.645Wider intervals, lower certainty
95%0.051.960Standard in most published research
99%0.012.576Narrower risk of missing the parameter
Critical values source: NIST Engineering Statistics Handbook, Section 1.3.6.7.1. For small samples (n < 30), use the t-distribution table instead of z*.

Confidence Interval and Margin of Error Formulas

Formula for a Population Mean

95% Confidence Interval for a Mean (σ known)
CI = x̄ ± 1.96 × (σ/√n)
= sample mean σ = population standard deviation n = sample size MOE = 1.96 × σ/√n

When σ is unknown (the usual case in practice), replace σ with the sample standard deviation s and replace the z* critical value with the t* critical value at n−1 degrees of freedom. See the confidence interval for a mean guide for the full derivation using the t-distribution.

Formula for a Population Proportion

95% Confidence Interval for a Proportion
CI = p̂ ± 1.96 × √[p̂(1−p̂)/n]
= sample proportion n = sample size MOE = 1.96 × √[p̂(1−p̂)/n]

This is the formula used by virtually all election pollsters. A common approximation when p̂ is unknown or close to 0.5 is MOE ≈ 1/√n (at 95% confidence), which gives a quick upper bound. With n = 1,000, this yields MOE ≈ 3.16%—close to the ±3% figure you see in most major national polls. You can compute the exact value for your dataset with the confidence interval calculator.

For proportions near 0 or 1 where the normal approximation breaks down, statisticians prefer the Wilson score interval, which is documented on the Wilson score interval page. See also the confidence interval for proportion full guide.

Confidence Interval vs Margin of Error: Full Comparison

Feature Confidence Interval Margin of Error
What it isA range: (lower bound, upper bound)A single ± number
Formula (means)x̄ ± z* × σ/√nz* × σ/√n
Formula (proportions)p̂ ± z* × √[p̂(1−p̂)/n]z* × √[p̂(1−p̂)/n]
RelationCI = estimate ± MOEMOE = width of CI ÷ 2
Typical reporting contextAcademic papers, clinical trials, research reportsNews polls, surveys, public-facing data
Gives both bounds?Yes — upper and lowerNo — symmetric around estimate
Requires confidence level?Yes — must be statedYes — usually 95%, often implied
Effect of larger nNarrower intervalSmaller MOE
Effect of higher confidenceWider intervalLarger MOE
Can it be zero?No — always has positive widthOnly if n → ∞

Confidence Interval vs Confidence Level

The confidence level (e.g., 95%) is the input to the calculation. The confidence interval is the output. Raising the confidence level from 95% to 99% makes the resulting interval wider, because you need to capture a higher proportion of all possible sample outcomes. The two are often confused in casual conversation but refer to distinct things: one is a probability, the other is a range.

Term Definition Example
Confidence LevelProbability input (90%, 95%, 99%)"We use 95% confidence"
Confidence IntervalThe computed range"(49.1%, 55.3%)"
Margin of ErrorHalf-width of the CI"±3.1 percentage points"
Critical Value (z*)z-score linking level to widthz* = 1.96 at 95%
Standard ErrorVariability of the sample statisticSE = σ/√n

Margin of Error vs Standard Error

Standard error and margin of error are related but not the same. The standard error is the standard deviation of the sampling distribution of the statistic—a measure of how much the statistic would vary across repeated samples. The margin of error scales the standard error by the critical value: MOE = z* × SE. With a 95% CI (z* = 1.96), the margin of error is roughly twice the standard error.

Free CI & Margin of Error Calculator

Confidence Interval + Margin of Error Calculator

Margin of Error (±)
Confidence Interval
Standard Error
CI Width (= 2 × MOE)
Margin of Error (±)
Confidence Interval
Standard Error
CI Width (= 2 × MOE)

5 Fully Worked Examples

Example 1 — Election Poll (Proportion)

Worked Example 1 — Opinion Poll

Problem: A polling firm surveys 1,067 registered voters. 54% say they plan to vote for Candidate A. Calculate the 95% confidence interval and margin of error.

Proportion CI Formula
CI = p̂ ± z* × √[p̂(1−p̂)/n]
1

Identify values: p̂ = 0.54, n = 1,067, z* = 1.96 (95% confidence)

2

Calculate Standard Error: SE = √[0.54 × 0.46 / 1,067] = √[0.2484/1067] = √0.0002328 = 0.01526

3

Calculate Margin of Error: MOE = 1.96 × 0.01526 = 0.0299 ≈ ±3.0 percentage points

4

Construct the Confidence Interval:
Lower: 0.54 − 0.030 = 0.510 (51.0%)
Upper: 0.54 + 0.030 = 0.570 (57.0%)

✅ Result: 95% CI = (51.0%, 57.0%)  |  Margin of Error = ±3.0 pp. The poll reports: "54% support Candidate A (±3 percentage points, 95% confidence)." The CI shows support almost certainly clears 50%.

This example mirrors methodology used by national pollsters. See Pew Research: Understanding Margin of Error in Election Polls.

Example 2 — Clinical Trial (Mean)

Worked Example 2 — Healthcare / Clinical Research

Problem: A clinical trial measures blood pressure reduction (mmHg) in 64 patients given a new drug. The sample mean is x̄ = 8.5 mmHg with sample standard deviation s = 6.4 mmHg. Compute the 95% CI and margin of error.

1

Identify values: x̄ = 8.5, s = 6.4, n = 64. Since σ is unknown, use t* at df = 63. At 95%, t* ≈ 2.000.

2

Standard Error: SE = s/√n = 6.4/√64 = 6.4/8 = 0.800 mmHg

3

Margin of Error: MOE = t* × SE = 2.000 × 0.800 = ±1.6 mmHg

4

95% CI: (8.5 − 1.6,   8.5 + 1.6) = (6.9 mmHg, 10.1 mmHg)

✅ Result: Researchers can report that the drug reduces blood pressure by an estimated 8.5 mmHg (95% CI: 6.9 to 10.1 mmHg). The CI excluding 0 provides evidence the drug effect is real. The MOE of ±1.6 mmHg tells clinicians the precision of this estimate. This is the standard reporting format required by journals including JAMA and The Lancet.

Clinical CI reporting follows CONSORT guidelines: consort-statement.org. Use the CI for mean guide for t-distribution steps.

Example 3 — Student Test Scores

Worked Example 3 — Education / Assessment

Problem: A standardized test is given to a random sample of 400 students. The mean score is x̄ = 72.3 points with a known population standard deviation of σ = 15 points. Build a 99% CI and report the margin of error.

1

Values: x̄ = 72.3, σ = 15, n = 400, z* = 2.576 (99%)

2

SE: σ/√n = 15/√400 = 15/20 = 0.75 points

3

MOE: 2.576 × 0.75 = ±1.93 points

4

99% CI: (72.3 − 1.93, 72.3 + 1.93) = (70.37, 74.23)

✅ Result: 99% CI = (70.4, 74.2) | MOE = ±1.9 points. Note how the 99% CI is wider than a 95% CI would be for the same data (which would give MOE ≈ ±1.47 points). The higher confidence level requires a wider interval to maintain that certainty.

Example 4 — Customer Satisfaction Survey

Worked Example 4 — Business / Market Research

Problem: A company surveys 250 customers. 73% rate their experience "excellent." Build the 95% CI and margin of error for this proportion.

1

Values: p̂ = 0.73, n = 250, z* = 1.96

2

SE: √[0.73 × 0.27 / 250] = √[0.1971/250] = √0.000788 = 0.02808

3

MOE: 1.96 × 0.02808 = ±5.50 percentage points

4

95% CI: (73% − 5.5%, 73% + 5.5%) = (67.5%, 78.5%)

✅ Result: 73% satisfaction (95% CI: 67.5% to 78.5%, MOE ±5.5 pp). Compare this to the polling example: the smaller sample (n=250 vs. n=1,067) produces a larger margin of error. This is why market research teams run sample size calculations before fielding a survey.

Example 5 — Product Quality Control

Worked Example 5 — Manufacturing / Quality Control

Problem: A manufacturer samples 36 bolts and measures their diameter. x̄ = 10.02 mm, s = 0.12 mm. Build the 90% CI and margin of error for the true mean diameter.

1

Values: x̄ = 10.02, s = 0.12, n = 36. At df = 35, t* (90%) ≈ 1.690.

2

SE: 0.12/√36 = 0.12/6 = 0.020 mm

3

MOE: 1.690 × 0.020 = ±0.034 mm

4

90% CI: (10.02 − 0.034, 10.02 + 0.034) = (9.986 mm, 10.054 mm)

✅ Result: 90% CI = (9.986, 10.054) mm | MOE = ±0.034 mm. If the specification requires bolts within 10.00 ± 0.10 mm, this CI falls well within tolerance. Engineers use this to decide whether the manufacturing process is in control. Note: using 90% instead of 95% produces a narrower, more precise interval but with greater risk of missing the true mean.

How Sample Size Affects the Margin of Error

The relationship between sample size and margin of error follows a square-root law. Because SE = σ/√n, the margin of error is proportional to 1/√n. Doubling the sample size multiplies the MOE by 1/√2 ≈ 0.707, reducing it by about 29%. To cut the MOE in half, you must quadruple the sample size.

Sample Size (n)SE (σ=10)MOE at 95%MOE at 99%
501.414±2.77±3.64
1001.000±1.96±2.58
2000.707±1.39±1.82
4000.500±0.98±1.29
1,0000.316±0.62±0.81
4,0000.158±0.31±0.41
⚠️
The Diminishing Returns Problem

Because MOE decreases as 1/√n, each doubling of sample size brings smaller and smaller gains in precision. Going from n=100 to n=400 cuts the MOE in half. Going from n=4,000 to n=16,000 would do the same thing—but costs four times as much to collect. This is why most national polls use roughly n=1,000, which gives a 95% MOE of about ±3%.

You can plan your study's sample size in advance using the sample size calculator. For a desired MOE of E at confidence level z*, you need at minimum n = (z* × σ / E)² observations.

The CLEAR Framework: Building Any Confidence Interval

Constructing and reporting a confidence interval correctly involves five decisions, each one feeding into the next. The CLEAR framework captures this sequence:

Original Framework — CLEAR Method

CLEAR: 5 Steps from Data to Reported Interval

C
Choose the confidence level

Select 90%, 95%, or 99% based on your field's standards and the cost of error. Medical and safety research typically requires 99%; social science surveys commonly use 95%.

L
Locate the sample statistic

Compute your point estimate from the data: the sample mean x̄ for continuous measurements or the sample proportion p̂ for categorical outcomes. This becomes the center of your interval.

E
Estimate the standard error

Calculate SE = σ/√n (means, known σ), SE = s/√n (means, unknown σ), or SE = √[p̂(1−p̂)/n] (proportions). If σ is unknown and n < 30, you will use a t-distribution rather than z.

A
Apply the critical value

Multiply SE by the critical value: z* (1.645, 1.960, or 2.576) or t* from the t-distribution table. The result is the margin of error.

R
Report the CI and margin of error

State: "We are [confidence level]% confident that the true [parameter] lies between [lower bound] and [upper bound], with a margin of error of ±[MOE]." Always include the confidence level—a CI without it is uninterpretable.

Real-World Applications

🗳️

Election Polling

National polls report a margin of error (usually ±2–4%) to acknowledge sampling uncertainty. A candidate leading by less than the MOE is described as statistically tied, because the CI for each candidate overlaps the other's estimate.

💊

Clinical Trials

Drug trials report confidence intervals for treatment effects. A 95% CI for blood pressure reduction of (2.1, 8.7 mmHg) tells clinicians both statistical significance (CI excludes zero) and clinical significance (lower bound of 2.1 mmHg).

📊

A/B Testing

Web conversion rates are measured with CIs. If Version A gives a conversion rate CI of (4.1%, 5.9%) and Version B gives (5.8%, 7.6%), the overlapping boundaries suggest the difference may not be real. See the A/B test calculator.

🏭

Quality Control

Manufacturing lines use CIs around process means to decide whether a batch meets specification limits. If the CI falls entirely within the tolerance band, the batch passes. See the NIST quality control handbook chapter.

📈

Business Analytics

Customer satisfaction surveys, NPS scores, and financial forecasts all use CIs to communicate the range of plausible outcomes rather than a single point estimate that overstates precision.

🧬

Public Health Research

Epidemiologists report CIs for disease prevalence, risk ratios, and odds ratios. A relative risk CI of (1.2, 3.8) means an exposure is associated with 1.2–3.8× the baseline risk—which is what guides public health recommendations.

Common Misconceptions

MisconceptionWhat People Say (Wrong)What It Actually Means (Correct)
95% CI interpretation "There is a 95% chance the true value is in this interval" "95% of intervals built this way would contain the true value"
MOE covers all errors "±3% accounts for all poll uncertainty" "±3% covers random sampling error only—not wording bias, non-response, or coverage errors"
CI and MOE are different things "The confidence interval and margin of error are separate concepts" "MOE is exactly half the CI width—they contain identical information"
Overlapping CIs "If two CIs overlap, the difference is not significant" "Overlapping CIs do not guarantee non-significance—significance depends on the CI for the difference itself"
Wider CI = worse study "A wide confidence interval means the study failed" "Width reflects sample size and variability. A wide CI may still answer a research question; a narrow CI from a biased study is worse"
Confidence level = probability "The 95% is the probability this specific interval is correct" "The 95% is a property of the procedure, not any specific interval. The true parameter is either in the interval or it isn't—there's no probability left once you compute the bounds"

When to Report a CI vs a Margin of Error

Decision Guide: CI or Margin of Error?

Audience: general public or journalism?
Report Margin of Error (±X%). Simpler and standard for news polls.
Audience: researchers, clinicians, or data scientists?
Report full Confidence Interval (L, U). Provides both bounds, satisfying journal and regulatory requirements.
Asymmetric distribution or skewed data?
Report CI only. MOE implies symmetry; asymmetric CIs cannot be summarized by a single ± value.
Comparing two groups or testing a hypothesis?
Report CI for the difference. Whether the CI excludes zero tells you if the difference is statistically significant. See hypothesis testing.
Planning a study and need a target precision?
Specify a target MOE. Then solve for the required sample size: n = (z* × σ / E)².

Entity and Formula Glossary

TermSymbol/FormulaDefinition
Confidence Intervalx̄ ± z* × σ/√nA range that contains the true population parameter with probability equal to the confidence level across many repeated samples
Margin of Errorz* × SEHalf the width of the confidence interval; the maximum expected sampling error at the stated confidence level
Confidence Level1 − αThe long-run proportion of CIs that will contain the true parameter; typically 90%, 95%, or 99%
Point Estimatex̄ or p̂A single-number estimate of the population parameter from the sample data; the center of the CI
Standard ErrorSE = σ/√nThe standard deviation of the sampling distribution of the estimator; measures how much the statistic varies across samples
Critical Valuez* or t*The z- or t-score that defines the boundaries of the middle (1−α)% of the sampling distribution
Z-Scorez = (x̄ − μ) / SEThe number of standard errors a sample statistic is from the hypothesized population value
Sample SizenThe number of observations in the sample; larger n → smaller SE → smaller MOE → narrower CI
Population Parameterμ or pThe true but unknown value for the entire population; what the CI estimates
Sample Statisticx̄ or p̂The computed value from the sample that estimates the population parameter
Sampling DistributionN(μ, σ²/n)The distribution of a sample statistic across all possible samples of size n; described by the central limit theorem
Central Limit Theoremx̄ ~ N(μ, σ²/n)States that the sampling distribution of the mean is approximately normal for large n, regardless of the population distribution
Normal DistributionN(μ, σ²)The bell-shaped probability distribution that underlies z-based confidence intervals
Standard Deviationσ (population), s (sample)Measures spread in the raw data; feeds into SE via σ/√n
Statistical InferenceUsing sample data to make conclusions about a population; CIs are a primary tool of statistical inference
Random SamplingA selection process where every member of the population has a known probability of being chosen; required for valid CI interpretation
Sampling Errorx̄ − μThe difference between the sample statistic and the true population parameter; random and quantified by the CI
p-valueP(data | H₀)Used in hypothesis testing; a CI that excludes the null value corresponds to a p-value less than α
Alpha (α)1 − confidence levelThe probability of a Type I error; α = 0.05 for a 95% CI

Confidence intervals are sometimes confused with prediction intervals and tolerance intervals. They answer different questions:

Interval Type Question Answered Width
Confidence Interval"Where does the population mean likely fall?"Narrow — about the mean
Prediction Interval"Where will the next single observation fall?"Wider — accounts for individual variability
Tolerance Interval"What range covers at least X% of the population?"Widest — covers population, not just mean
Credible IntervalBayesian analog: "Where does parameter likely fall given prior + data?" (see credible intervals)Depends on prior

For simple linear regression, a similar distinction arises between the CI for the mean response and the prediction interval for a new observation. See simple linear regression for the full treatment of regression intervals.

Calculating CI and MOE in R, Python, and Excel

Python (SciPy)

Python — 95% CI for a Mean
import scipy.stats as stats
import numpy as np

data = np.array([12.3, 14.1, 13.7, 11.9, 15.2, 13.4])
n = len(data)
xbar = np.mean(data)
se = stats.sem(data)

# 95% CI using t-distribution
ci = stats.t.interval(0.95, df=n-1, loc=xbar, scale=se)
moe = (ci[1] - ci[0]) / 2

print(f"Mean: {xbar:.3f}")
print(f"MOE: ±{moe:.3f}")
print(f"95% CI: ({ci[0]:.3f}, {ci[1]:.3f})")
SciPy documentation: scipy.stats.t.interval

R

R — CI for a Proportion
# Proportion CI (exact binomial)

prop.test(x = 540, n = 1000, conf.level = 0.95)

# Or manually:

p_hat <- 0.54
n <- 1000
z_star <- qnorm(0.975)  # 1.96

se <- sqrt(p_hat * (1 - p_hat) / n)
moe <- z_star * se

ci_lower <- p_hat - moe
ci_upper <- p_hat + moe

cat("MOE:", round(moe, 4), "\n")
cat("95% CI: (", round(ci_lower, 4), ", ", round(ci_upper, 4), ")\n")

Microsoft Excel

In Excel, use =CONFIDENCE.NORM(alpha, std_dev, n) for large samples (returns the MOE directly) or =CONFIDENCE.T(alpha, std_dev, n) when σ is unknown. The confidence interval is then =AVERAGE(range) ± CONFIDENCE.NORM(0.05, STDEV(range), COUNT(range)).

Frequently Asked Questions

A margin of error (MOE) is the amount added to and subtracted from a sample estimate, while a confidence interval (CI) is the range created by applying that margin of error. In other words, Confidence Interval = Point Estimate ± Margin of Error. The MOE summarizes precision with a single value, whereas the confidence interval shows the complete range of plausible population values.
Yes, for symmetric confidence intervals. The margin of error equals half the width of the interval. For example, if a 95% confidence interval ranges from 42% to 48%, the interval width is 6 percentage points, so the margin of error is ±3 percentage points.
A 95% confidence interval means that if the same sampling process were repeated many times, approximately 95% of the intervals constructed would contain the true population parameter. It does not mean there is a 95% probability that the specific interval you calculated contains the true value.
Yes. Simply add and subtract the margin of error from the point estimate. For example, if a survey reports 48% support with a margin of error of ±4%, the confidence interval is 44% to 52%. Likewise, you can calculate the margin of error by taking half the width of a symmetric confidence interval.
Yes. The margin of error decreases as the sample size increases because it is inversely proportional to the square root of the sample size. Doubling the sample size reduces the margin of error by about 29%, while cutting the margin of error in half requires approximately four times as many observations.
Polls often report the margin of error because it is easier for a general audience to understand. A statement such as "±3 percentage points" communicates the survey's precision more simply than presenting the full confidence interval, even though both contain the same statistical information.
Confidence intervals and hypothesis tests are closely connected. For a two-sided test at the 5% significance level, a null hypothesis is rejected if and only if the corresponding 95% confidence interval does not include the null value. Confidence intervals also provide information about the magnitude and precision of the estimated effect.
Confidence intervals are generally more informative because they show both the estimated effect and its precision, while also indicating statistical significance. A p-value only indicates whether the observed result is statistically significant under the null hypothesis and does not describe the size or practical importance of the effect.

Further Reading and Resources

🎓
External Authoritative References

The NIST Engineering Statistics Handbook's chapter on confidence limits is the primary technical reference for the formulas on this page. The OpenStax Introductory Statistics textbook covers confidence intervals in Chapter 8 with free access. For polling methodology, Pew Research's survey sampling methodology page documents how margins of error are calculated and reported.