Dissertation Statistics Help

Confidence interval calculator

A point estimate is one number; a confidence interval is the range your data can actually defend. This builds the right one for each kind of estimate.

A confidence interval is a range of plausible values for a population parameter, computed so that the procedure captures the true value a stated percentage of the time across repeated samples. This calculator returns an interval for a mean from raw data or summary statistics, a single proportion using the Wilson score method, and a Pearson correlation using the Fisher z transformation, at the 90%, 95%, or 99% level. Each result shows the bounds, the margin of error, and the critical value behind them.

95% confidence interval for the mean

4.86 to 5.21

From 12 values with a sample mean of 5.03.

Sample mean5.033
Margin of error± 0.176
Lower bound4.857
Upper bound5.210
Standard error0.080
t critical (df 11)2.201

The formulas behind each interval

A confidence interval for a mean centres on the sample mean and extends by a margin of error:

CI = M ± t₋ × (s / √n)

where t₋ is the critical value of the t distribution for the chosen confidence level and n - 1 degrees of freedom. For a proportion the calculator uses the Wilson score interval rather than the simple normal approximation, because Wilson stays inside 0 to 1 and is accurate even when the proportion is near an extreme or the sample is small. For a correlation the interval is built on the Fisher z scale, where r is transformed to z = arctanh(r), a symmetric interval is formed using the normal critical value and a standard error of 1 / √(n - 3), and the bounds are transformed back with the hyperbolic tangent.

What a 95% confidence interval actually means

The phrase trips up almost everyone, so it is worth stating precisely. A 95% confidence interval describes the long-run performance of the method, not the single number you happen to have. If you repeated the study many times and built an interval each time, about 95 of every 100 intervals would contain the true population value. The one interval in front of you either contains that value or it does not; the 95% is a property of the procedure, not a probability attached to this particular range. Saying there is a 95% chance the parameter lies inside your bounds is the most common misreading, and reviewers notice it.

What you can say plainly is that the interval shows the range of values your data are consistent with at that confidence level. A narrow interval signals a precise estimate; a wide one warns that the sample leaves the answer uncertain. Treat the bounds as the limits of what your evidence can defend rather than a guarantee about the unknown truth. For the full walkthrough of the wording examiners expect, see how to interpret a confidence interval before you write the sentence into your results.

Confidence intervals for a mean vs a proportion

A confidence interval for a mean and one for a proportion answer the same kind of question but rest on different machinery. The mean interval uses the t distribution, because you have estimated the spread from the sample, and it is symmetric around the average. It behaves well for continuous outcomes such as test scores, reaction times, or measurements, where the sampling distribution of the mean is close to normal once the sample is moderate in size. The width depends on the standard deviation and how many observations you collected.

A proportion is bounded between 0 and 1, so a simple symmetric formula can push the bounds below zero or above one when the percentage is extreme or the sample is small. That is why this tool uses the Wilson score method, which keeps the interval inside the valid range and stays accurate near 0% or 100%. The practical rule is to match the interval to the variable type: report a mean interval for a continuous measure, a proportion interval for a yes or no outcome, and check the underlying shape with the move from description to inference.

How sample size and confidence level change the width

Two levers control how wide your interval comes out. The first is sample size. Because the margin of error shrinks with the square root of n, quadrupling the sample roughly halves the width. That diminishing return is why moving from 30 to 120 participants tightens the estimate far more than moving from 1,000 to 1,090. If your interval is uncomfortably wide, more data is usually the only honest fix, and it is worth planning that count in advance with a sample size and power calculator rather than discovering the shortfall after collection.

The second lever is the confidence level itself. A 99% interval is wider than a 95% one, which is wider than a 90% interval, because demanding higher coverage forces the bounds outward. There is a genuine trade-off: more confidence buys less precision. For most dissertation work 95% is the expected default, so change it only with a reason you can state. Raising the level to mask a borderline result is not a reason; it simply makes the estimate look vaguer. Decide the level before you see the data, the same discipline that protects a significance test from after-the-fact tuning.

Confidence intervals vs p-values

A p-value answers a yes or no question about a single null value, while a confidence interval shows the whole range of values your data support. The two are linked: if a 95% interval for a difference excludes zero, the corresponding two-tailed test is significant at the 0.05 level, and if it includes zero it is not. The interval therefore carries everything the p-value tells you and more, because it also reports direction, magnitude, and precision in the original units of measurement.

That is why journals and committees increasingly ask for an interval beside, or instead of, a bare significance figure. A result can clear the 0.05 threshold yet have an interval so wide that the effect could be trivial or substantial, a nuance a lone p-value hides. Read the two together: let the interval describe how big and how certain the effect is, and use what a p-value is and is not to keep the significance claim in proportion.

Reporting confidence intervals in your results

In APA style the interval follows the estimate it describes, written as 95% CI [lower, upper] with the bounds in the same units and to the same decimal places as the statistic. For a mean difference you might write the difference, then the bracketed interval; for a correlation or regression coefficient the interval sits beside the coefficient. Keep the percentage explicit so the reader knows the level, and never report an interval without the point estimate it surrounds. The exact spacing and bracket conventions are laid out in the APA rules for the statistics you report.

Beyond formatting, interpret the interval in words. State what the range means for your research question: whether it rules out a meaningful effect, whether it is too wide to be conclusive, or whether it pins the value down tightly enough to act on. A results chapter that pairs every estimate with an interval and a plain reading of it is far harder to challenge. If you want the numbers and the prose assembled for you, the APA sentence builder turns your figures into ready sentences.

Frequently asked questions

How do you calculate a 95% confidence interval?

A 95% confidence interval for a mean is the sample mean plus and minus the margin of error, where the margin is the t critical value for 95% confidence and n minus 1 degrees of freedom multiplied by the standard error of the mean. The standard error is the standard deviation divided by the square root of the sample size. Enter your data or summary figures above and the interval, margin, and critical value are returned together.

What does a 95% confidence interval actually mean?

It means that if the study were repeated many times and an interval computed each time, about 95% of those intervals would contain the true population value. It is a statement about the long-run behaviour of the procedure, not a 95% probability that this particular interval contains the parameter, which is a common misreading. The wider the interval, the less precisely the sample pins down the population value.

Should I use a t or a z critical value for a confidence interval?

Use a t value whenever the population standard deviation is unknown and you have estimated it from the sample, which is almost always the case for a mean in a dissertation. The z value is only correct when the population standard deviation is known or the sample is very large, where t and z nearly coincide. This calculator uses the t distribution for means and the normal distribution for proportions and correlations, which is the standard convention.

What is the difference between a confidence interval and a standard error?

The standard error measures how much a sample statistic would vary from sample to sample, while the confidence interval turns that standard error into a range of plausible values for the population parameter. The interval is built by multiplying the standard error by a critical value and adding it on either side of the estimate. A confidence interval is therefore the more directly interpretable quantity for a results section.