Skip to main content
Best Web Developer — web design, development and digital growth agency
Language and currency EN £ GBP

Language

  • More languages coming soon

Currency

Prices on this site are shown in the currency you choose.

Calculators

Confidence Interval Calculator

Calculate a confidence interval for a mean (t-distribution) or a proportion (Wilson score interval), with the margin of error.

  • Runs in your browser
  • Nothing uploaded

The tool

Enter your numbers below. Results update as you type, and nothing leaves your browser.

Everything you enter stays on your own machine. Nothing is sent to us or to anyone else, which you can confirm in your browser network tab.

What people use it for

  • Reporting survey and experiment results
  • Quality control
  • Academic research
  • Business metrics with uncertainty

About this tool

What the Confidence Interval Calculator does

A confidence interval gives a range of plausible values for a population value. For a mean, it is the sample mean ± t × standard error, where t comes from the t-distribution with n − 1 degrees of freedom. For a proportion, the Wilson score interval is more reliable than the simple formula, especially with small samples or proportions near 0% or 100%.

Formula

  • Mean: x̄ ± t(n − 1) × s ÷ √n
  • Proportion (Wilson): (p̂ + z²/2n ± z√(p̂(1 − p̂)/n + z²/4n²)) ÷ (1 + z²/n)

Worked example

Using the starting values in the calculator above:

Input Value
Interval for A mean
Sample mean 52.3
Sample standard deviation 8.1
Sample size 40
Successes (for a proportion) 18
Confidence level 95%
Result Value
Confidence interval 49.7095 to 54.8905
Margin of error (±) 2.5905
Point estimate 52.3
Standard error 1.2807
Critical value (t or z) 2.0227

How to read the result

A 95% interval does not mean a 95% chance the true value is inside this particular interval; it describes the method’s long-run success rate.

To halve the margin of error you need about four times the sample.

Related calculators

  • Molarity Calculator: Calculate the mass of solute to weigh for a solution, the molarity of a solution you made, or the stock volume for a dilution (C₁V₁ = C₂V₂).
  • Radioactive Decay and Half-life Calculator: Calculate the amount remaining after a given time from the half-life, the decay constant and mean life, and the time to decay to a target level.
  • PCR Primer Tm Calculator: Calculate a primer’s melting temperature using SantaLucia nearest-neighbour thermodynamics with salt and magnesium correction, plus GC content and basic formulas.
  • Unit Conversion Calculator: Convert between metric and imperial units of length, mass, volume, area, temperature, speed, energy, pressure and data, with every unit in the category shown.

Browse every calculator in Science, Statistics and Everyday Utility Calculators, or talk to us about custom calculators and web tools.

Questions

Questions about this tool

The things clients actually want to know — costs, timelines, ownership and what happens after launch.

Take the estimate and add and subtract the critical value times the standard error.

For a mean when the population standard deviation is unknown, which is almost always.

It stays accurate for small samples and extreme proportions, where the simple formula can fail.

Free strategy session

Let’s build something worth finding.

Tell us where you want the business to be in twelve months. We will come back with a costed plan, a realistic timeline, and the numbers we expect to move — no obligation, no jargon.

  • 30-minute call, no pitch deck
  • Fixed-price proposal in 48 hours
  • You own everything we build

Talk to a developer

Not a sales team

Response time
Within 1 business hour
Where we work
UK, USA & the Gulf
Contracts
No lock-in, monthly rolling
Working since
2023
infobestwebdeveloper.org

Free strategy session

Let’s build something worth finding.

Tell us where you want the business to be in twelve months. We will come back with a costed plan, a realistic timeline, and the numbers we expect to move — no obligation, no jargon.

  • 30-minute call, no pitch deck
  • Fixed-price proposal in 48 hours
  • You own everything we build

Talk to a developer

Not a sales team

Response time
Within 1 business hour
Where we work
UK, USA & the Gulf
Contracts
No lock-in, monthly rolling
Working since
2023
infobestwebdeveloper.org
Free consultation

show prices in USD?