The formula
How to calculate confidence level
The confidence level is the proportion of intervals that would contain the true value if the study were repeated many times. A 95% level corresponds to a z-score of 1.96 — that pairing is the one worth memorising.
Common pairings: 1.645 for 90%, 1.96 for 95%, 2.576 for 99%. Raising confidence widens the interval, so higher confidence buys certainty at the cost of precision.
The calculator asks for:
- z-score
- Sample mean
- Standard error
Results appear immediately — there is nothing to submit. Changing a field rewrites the link, so you can share the exact scenario you are looking at.
Units matter more here than the arithmetic itself: the formula assumes a specific set of units for each input, stated next to the field, and converting into those units first is usually the difference between a correct result and one that is wrong by a clean power of ten.
Why confidence level matters
A confidence level calculation gets used both to check work already done by hand and to explore how a formula behaves without redoing the algebra every time an input changes — this page exists for both, since the underlying arithmetic is the same either way.
Beyond a single check, the same calculation is worth rerunning whenever a measured input changes — a new reading, a corrected value, an updated assumption — since the result here always reflects exactly what is currently in the fields above rather than a value calculated once and then left stale.
A formula like this one is rarely the last step in a piece of work — the figure it produces usually feeds into a further calculation, a comparison against a published value, or a write-up that needs to state both the result and how confident it is. Getting this step right the first time, rather than propagating a small arithmetic slip through several more steps, is the main practical reason to check a manual calculation against a tool like this one before building on top of it.
It is worth keeping a note of which inputs were used to produce a given result, particularly where the figure is going into a report or a further calculation — reproducing a result later, or explaining how it was reached, is far easier with the original inputs to hand than by trying to reverse-engineer them from the output alone.
Worked example
Work through the defaults on this page:
- z-score: 1.96
- Sample mean: 74.2
- Standard error: 1.79
That gives:
- Confidence level: 95.0004 %
- Interval lower bound: 70.6916
- Interval upper bound: 77.7084
The figures above are the calculator's own default values, shown purely so the working is visible rather than hidden — the same steps apply exactly to your own numbers, entered in the fields at the top of this page.
Reading the result
A 95% interval does not mean there is a 95% chance the true value lies inside this particular interval. It means the method produces intervals that capture the true value 95% of the time.
Where this goes wrong. Choosing the confidence level after seeing the data. Moving from 95% to 90% to make an interval exclude zero is the same failure as one-tailed testing after the fact.
A result that is wrong by an exact factor of ten, a hundred or a similar round number is almost always a units error rather than a mistake in the formula itself — checking each input against the unit stated beside it is the fastest way to track it down.
1.96 for a two-tailed interval. The one-tailed equivalent is 1.645, which is the same z-score as a two-tailed 90% interval.
Convention rather than mathematics. It traces back to Fisher's remark that two standard deviations was a convenient threshold, and it stuck across most of science.
The answer it gives you is confidence level. With 1.96 z-score, 74.2 sample mean and 1.79 standard error, that comes to 95.0004 %. Change any field and the figure moves with it.
Generally, no more than the least precise input justifies — a result reported to six decimal places from inputs measured to two significant figures is implying a precision the calculation does not actually have. The calculator shows full precision so you can round appropriately for your own use.
Yes — the equation shown in the formula section above is the standard form used in textbooks and reference material for this calculation, not a simplified or approximate version.
Yes, in the sense that it applies the correct standard formula and returns an accurate result for the inputs given — but check your own course or publication's requirements for how results should be rounded, presented and referenced, since those conventions vary and are not something a calculator can know on your behalf.