Bootstrap Confidence Interval Calculator
Paste your data, set the confidence level and resamples to get a bootstrap confidence interval.
Result
How it is calculated
Paste your observations in data, separated by spaces, commas, semicolons or new lines (use a dot as the decimal mark). At least two numbers are needed. The tool draws reps resamples, each made of n values picked from your data with replacement, and records the mean of every resample. It sorts those means and reads off the percentile bounds: for a confidence level C the lower bound sits at the (100 − C)/2 percentile and the upper bound at the 100 − (100 − C)/2 percentile. The number of resamples is limited to between 100 and 100,000, and the level must be strictly between 0 and 100. The random generator uses a fixed seed, so the same input always gives the same interval. Besides the bounds, the plain sample mean is shown, all to four decimals.
Worked example
Eight measurements: 12.1, 14.3, 11.8, 15.2, 13.7, 12.9, 16.4, 13.1. Their sum is 109.5, so the sample mean is 109.5 / 8 = 13.6875. With 5000 resamples at 95% confidence, each resample averages eight values drawn with replacement. The 5000 sorted means are cut at the 2.5% and 97.5% positions, which gives a lower bound of 12.7250 and an upper bound of 14.7500. So the mean is estimated to lie between about 12.73 and 14.75.
Common mistakes
- Typing a decimal comma in the data field, such as 12,5. Commas are separators here, so 12,5 is read as the two numbers 12 and 5. Use 12.5.
- Entering the confidence level as a fraction (0.95). The field is in percent, so 95 is correct; 0.95 means a 0.95% interval and gives a very narrow, meaningless band.
- Reading the interval as covering individual observations. It is an interval for the mean, so most of your raw data will lie outside it.
- Trusting a bootstrap on a handful of points. With only 3 or 4 values the resamples can take very few distinct means, so the interval is coarse and tends to look narrower than the real uncertainty.
- Raising the resample count to make the interval narrower. More resamples only make the bounds more stable; they do not add information about the population.
About this calculator
The bootstrap, introduced by Bradley Efron in 1979, estimates the sampling distribution of a statistic — here, the mean — by repeatedly resampling your observed data with replacement and recalculating the statistic on each resample, thousands of times. Unlike a traditional confidence interval that assumes an underlying normal distribution and relies on the t- or z-distribution, the bootstrap makes no such assumption, drawing the interval directly from the spread of resampled means using the percentile method.
This calculator takes your raw data, a chosen confidence level, and a number of resamples, then returns the resulting bootstrap confidence interval for the mean. Statisticians and data scientists working with small, skewed, or otherwise non-normal samples, and researchers who want a distribution-free alternative to the classical confidence interval use it when the usual normality assumptions are questionable or hard to verify.
Was this helpful?
You can pick up to 3 reactions.
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
- Loan Calculator
- Profit Calculator
- Discount Calculator
- BMI Calculator
- Percentage Calculator
- Ideal Weight Calculator
- Age Calculator
- Pregnancy Due Date Calculator
- Compound Interest Calculator
- BMR Calculator (Basal Metabolic Rate)
- Tip Calculator
- Fuel Cost Calculator
- Date Difference Calculator
- Sleep Cycle Calculator
- Daily Water Intake Calculator
- Simple Interest Calculator
- Heart Rate Zones Calculator
- Running Pace Calculator
- Pet Age Calculator
- Calories Burned Calculator
- Macro Calculator
- TDEE Calculator (Total Daily Energy Expenditure)
- Waist-to-Hip Ratio Calculator
- Honor Roll Calculator
- One Rep Max (1RM) Calculator
- Ovulation Calculator
- Electricity Cost Calculator
- Unit Price Calculator
- Savings Goal Calculator
- Break-Even Point Calculator
- Paint Calculator
- Course Grade Average Calculator
- Business Days Calculator
- Time Duration Calculator
- Fuel Economy Calculator
- Temperature Converter
- Tile Calculator
- Aspect Ratio Calculator
- Roman Numeral Converter
- Goal Weight Timeline Calculator
- Salary Converter (Hourly to Annual)
- Credit Card Validator (Luhn)
- Body Surface Area (BSA) Calculator
- Feels-Like Temperature Calculator
- Ohm’s Law Calculator
- PPI (Pixel Density) Calculator
- Molar Mass Calculator
- Zodiac Sign Calculator (Western + Chinese)
- IBAN Validator
- Shoe Size Converter
- Country Info & Dialing Code Lookup
- Time Zone Difference (World Clock)
- CAGR (Compound Annual Growth Rate) Calculator
- Rule of 72 Calculator
- Blood Alcohol Content (BAC) Calculator
- Lean Body Mass (LBM) Calculator
- Pythagorean Theorem Calculator
- Speed Converter
- Download Time Calculator
- Date Calculator (Add/Subtract)
No calculators found
Comments (1)
A bootstrap interval can only describe the data you paste, and since each resample mean falls between your smallest and largest values, a very small sample gives a narrow-looking interval that may not be trustworthy. More resamples smooth the bounds but add no information about the population. The seed is fixed, so rerunning gives identical bounds. How many observations does your sample have, and what are you measuring?