Sampling Distribution of the Sample Proportion Calculator

Sampling Distribution of the Sample Proportion Calculator

Emerging AI Skill PRO

Enter Calculation

Formula

μp^=p,σp^=p(1−p)n\mu_{\hat{p}} = \text{p}, \qquad \sigma_{\hat{p}} = \sqrt{\frac{\text{p}\,(1 - \text{p})}{\text{n}}}
Usage stats

Advertisement

Results

Standard Error of the Sample Proportion
0.05
SE of p̂
Mean of sampling distribution (μ_p̂ = p) 0.5
Variance (p(1−p)/n) 0.0025
Standard Error 0.05

Report an error on this page

What This Calculator Does

This tool describes the sampling distribution of the sample proportion (p̂). When you repeatedly draw random samples of size n from a population with true proportion p, the resulting sample proportions form their own distribution. This calculator returns its mean and standard error so you can build confidence intervals, run hypothesis tests, or assess sampling variability.

How to Use It

Enter the population proportion p as a decimal between 0 and 1 (for example, 0.4 for 40%), then enter the sample size n. The calculator instantly outputs the mean (which equals p), the variance, and the standard error (SE) of the sampling distribution.

The Formula Explained

The mean of the sampling distribution equals the population proportion: \(\mu_{\hat{p}} = p\). The standard error measures how much sample proportions vary around p and is given by $$\text{SE} = \sqrt{\frac{p(1-p)}{n}}$$ Larger samples shrink the standard error, making your estimate more precise. By the Central Limit Theorem, the distribution is approximately normal when both \(np \ge 10\) and \(n(1-p) \ge 10\).

Advertisement
Bell-shaped sampling distribution curve centered on p with standard error spread
The sampling distribution of the sample proportion is centered at p with spread equal to the standard error.

Worked Example

Suppose \(p = 0.5\) and \(n = 100\). The mean is 0.5. The variance is $$0.5 \times 0.5 / 100 = 0.0025$$ and the standard error is $$\sqrt{0.0025} = 0.05$$ So sample proportions typically fall within about \(\pm 0.05\) of 0.5.

How Sample Size and Proportion Change the Standard Error

The standard error of the sample proportion is \(SE = \sqrt{\frac{p(1-p)}{n} }\). The table shows SE for four population proportions and four sample sizes. An asterisk (*) marks a combination where \(np < 10\) or \(n(1-p) < 10\), so the normal approximation should not be used.

p n = 25 n = 100 n = 400 n = 1000
0.1 0.0600* 0.0300 0.0150 0.0095
0.3 0.0917* 0.0458 0.0229 0.0145
0.5 0.1000 0.0500 0.0250 0.0158
0.7 0.0917* 0.0458 0.0229 0.0145

Values are rounded to four decimals. The flagged cells are:

  • p = 0.1, n = 25: \(np = 2.5\)
  • p = 0.3, n = 25: \(np = 7.5\)
  • p = 0.7, n = 25: \(n(1-p) = 7.5\)

For p = 0.1 and n = 100, \(np = 10\) exactly, which just meets the threshold.

What the table shows

  • Quadrupling n halves SE. From n = 25 to 100 to 400, each step multiplies n by 4 and divides SE by 2. For p = 0.5: 0.1000, 0.0500, 0.0250.
  • SE is largest at p = 0.5, because \(p(1-p)\) peaks at 0.25. The values for p and 1 − p are identical (compare p = 0.3 and p = 0.7).
Advertisement

Key Terms and Symbols

Population proportion (p)
The true fraction of the whole population with the characteristic of interest. It is usually unknown and lies between 0 and 1.
Sample proportion (\(\hat{p}\))
The fraction of successes in a sample: \(\hat{p} = X/n\), where X is the number of successes.
Sample size (n)
The number of independent observations in each sample.
Sampling distribution
The distribution of \(\hat{p}\) across all possible samples of size n from the same population. Its mean is p and its standard deviation is \(\sqrt{p(1-p)/n}\).
Standard error vs. standard deviation
Standard deviation measures the spread of individual values (for one 0/1 observation it is \(\sqrt{p(1-p)}\)). Standard error is the standard deviation of a statistic such as \(\hat{p}\), and it shrinks as n grows.
Unbiased estimator
A statistic whose mean over repeated samples equals the parameter it estimates. Because \(\mu_{\hat{p}} = p\), the sample proportion is an unbiased estimator of p.
Central Limit Theorem and the success-failure condition
For large enough n, the sampling distribution of \(\hat{p}\) is approximately normal. A common rule of thumb requires \(np \ge 10\) and \(n(1-p) \ge 10\) (some texts use 5), together with independent observations. Below these thresholds the distribution is noticeably skewed and normal-based probabilities can be inaccurate.

FAQ

Why does the mean equal p? Because the sample proportion is an unbiased estimator of the population proportion — on average it hits the true value.

What happens as n grows? The standard error decreases proportionally to \(1/\sqrt{n}\), so estimates become more precise with larger samples.

When is the normal approximation valid? A common rule is \(np \ge 10\) and \(n(1-p) \ge 10\); otherwise consider exact binomial methods.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators