Histogram, fitted normal curve and a normality test
A histogram with the fitted normal curve, both standard bin rules with a reasoned recommendation, and an Anderson-Darling test that refuses to tell you your data is normal — because no test can.
Nothing you paste leaves this calculation. It is not stored, not logged and not sent anywhere else — the numbers are computed and returned, and that is all.
The bin count changes the story
A histogram is not one picture of your data, it is a family of them, and the bin count picks which member you see. Too few bins and two populations merge into one smooth hump. Too many and ordinary sampling noise looks like structure. Neither is more honest than the other.
Two rules are in common use and this tool reports both:
-
Sturges —
⌈log₂ n⌉ + 1. Simple, and what most textbooks and most software default to. It assumes data that is roughly normal and it under-bins large samples noticeably. -
Freedman-Diaconis — bin width
2 × IQR / ∛n. Uses the interquartile range instead of the count, so it is far more robust on skewed data and on samples with a long tail.
Freedman-Diaconis is usually the better default, which is why it is the recommendation here — but change the bin count and watch what happens. If the story changes, that is worth knowing before you tell it to anyone.
A normal curve drawn over a histogram is not a test
It is a picture, and eyeballing it fails in both directions.
Small samples look non-normal when they are fine. Thirty readings from a genuinely normal process routinely produce a lumpy, lopsided histogram, because thirty readings is not many. People look at it and conclude their process is skewed.
Large samples make trivial departures look dramatic. At five thousand readings a slight asymmetry that has no practical consequence whatsoever is plainly visible, and a normality test will reject decisively. Statistical significance is not practical significance, and at that sample size the test is answering a question nobody needed asked.
This tool runs the Anderson-Darling test, which is more sensitive in the tails than the alternatives — and the tails are what matter for capability. But read what it says carefully: a non-significant result is a failure to reject, not evidence of normality. No test can demonstrate that data is normal. At thirty readings the test can barely reject anything at all, so "not rejected" is a cheap statement, and the tool says so rather than letting you read it as a pass.
For a visual check, a normal probability plot beats a fitted curve substantially: departures show up as curvature away from a straight line, which the eye judges far better than it judges the fit of a bell.
When normality actually matters — and when it does not
People routinely worry about the wrong one of these.
It matters a great deal for turning a capability index into a defect rate. Converting a Cpk into parts per million is a normal-curve tail area and nothing else. If the distribution is skewed — and anything bounded at zero, like a flatness, a roundness or an impurity level, is skewed by its own physics — the PPM figure is wrong, usually optimistically on the bounded side. Enter a tolerance above and the tool shows you the observed proportion outside it next to the proportion the normal fit predicts. When those two disagree badly, any Cpk-derived PPM from this data is not to be trusted.
It matters much less for whether a control chart works. Shewhart charts are famously robust to non-normality, and subgrouped charts especially so — the central limit theorem works on the subgroup averages regardless of what the individual readings do. Shewhart's three-sigma limits were never a normality argument; they were an economic choice about false alarms. An individuals chart is more exposed than a subgrouped one, but even there the usual outcome of skewed data is somewhat more upper-side signals than the nominal rate, not a chart that has stopped working.
Questions people ask about this
How many bins should a histogram have?
Enough to show the shape and not so many that noise looks like structure. Sturges gives log₂ n plus one and is what most software defaults to, but it assumes roughly normal data and under-bins large samples. Freedman-Diaconis uses the interquartile range and is more robust on skewed data. This tool reports both and recommends one.
How do I test whether my data is normal?
A test can only ever fail to reject normality; it cannot demonstrate it. This tool runs Anderson-Darling, which is more sensitive in the tails than the alternatives, and reports the result with that caveat attached rather than presenting a non-significant p-value as a pass.
Does a control chart need normal data?
Far less than people fear. Shewhart charts are famously robust to non-normality and subgrouped charts especially so, since the central limit theorem acts on the subgroup averages. The three-sigma limits were an economic choice about false alarms, never a normality argument.
When does normality actually matter?
When you convert a capability index into a defect rate. Turning Cpk into parts per million is a normal-curve tail area and nothing else, so on skewed data — anything bounded at zero, like flatness or an impurity level — the PPM is wrong, usually optimistically. Enter a tolerance and this tool shows the observed proportion outside it next to the proportion the normal fit predicts.
What do skewness and kurtosis tell me?
Skewness measures asymmetry and excess kurtosis measures how heavy the tails are relative to a normal distribution, both zero for a perfect normal. They are useful descriptions and poor tests: at small samples both are estimated very imprecisely.
Want this to keep itself up to date?
A calculator answers for the data you pasted. A control chart answers for the data your line produced this morning — limits frozen at a baseline you locked, rules evaluated on every new reading, an alert when one trips.
More quality tools tools
- Pareto chart generator — Categories and counts in, ranked bars and the cumulative line out — with the vital few named, an "Other" bucket that always sorts last, and an honest warning when the distribution is flat and there is no dominant cause to attack.
- Box and whisker plot generator — One column per group, boxes side by side. Quartiles, the 1.5×IQR fences, whiskers that stop at real readings and outliers drawn individually — with the quartile method stated, because that is why your plot and Excel's disagree.
Everything else
- Cp / Cpk calculator — Paste measurements — or type a mean and a sigma — with your tolerance, and get Cp, Cpk, Pp, Ppk, the sigma level and the expected parts per million out of spec.
- Control limit calculator — Give it subgroups or individual readings and it returns the control limits for the chart, the range or sigma chart beneath it, and every constant it used to get there.
- Control chart generator — Paste a column of numbers, or rows of subgroups, and get a real control chart: limits from the data, Nelson rules 1–4 evaluated, out-of-control points marked.
- Nelson & Western Electric rules checker — Every run rule evaluated on your data, each violation named in plain English with what it usually indicates — a shift, a trend, tool wear, two machines mixed.
- Cpk confidence interval & sample size — A Cpk of 1.33 from 30 pieces has a 95% interval of roughly 0.97 to 1.69. See the uncertainty in your own number, and how many parts would settle it.
- Cpk ↔ PPM ↔ sigma level converter — What PPM is a Cpk of 1.33? What Cpk does 3.4 PPM need? Both conventions shown side by side, because the 1.5 sigma shift is why two sources disagree by a factor of ten.
- Control chart constants — The whole table, n = 2 to 25, with the formula each constant belongs to. The same values the charts on this site are computed from.
- X̄-R chart calculator — Subgroups in, X̄ and R charts out — limits from A₂, D₃ and D₄, run rules evaluated, and the range chart shown first because it decides whether the averages chart can be trusted.
- X̄-s chart calculator — For subgroups big enough that the range wastes them. Limits from A₃, B₃ and B₄, sigma recovered with the c₄ correction, and the s chart read first because it decides whether the averages chart can be trusted.
- I-MR chart calculator — For processes that give you one number at a time — a batch, an oven, a destructive test. Limits from the mean moving range, run rules evaluated, and an honest note about what an individuals chart cannot see.
- Levey-Jennings chart with Westgard rules — Paste your QC results with the assigned mean and SD from the package insert, and get the chart with every sigma band drawn and all six Westgard rules evaluated — each one named, and labelled random or systematic error.
- Bland-Altman plot — Paired readings from two methods, plotted as difference against average — with the bias, the limits of agreement, their confidence intervals, and a test for whether the disagreement depends on the magnitude.
- Gage R&R calculator (ANOVA) — Paste a crossed study — part, operator, reading — and get the full ANOVA: repeatability and reproducibility separated, the part-by-operator interaction tested rather than assumed away, %GRR, %Tolerance and ndc against AIAG's bands.