Shapiro-Wilk Normality Test

Test whether a sample comes from a normally distributed population. Essential for checking parametric test assumptions.

Please verify you are human to use the calculator.

About the Shapiro-Wilk Normality Test

The Shapiro-Wilk test is widely regarded as the most powerful test for normality, particularly for small to moderate sample sizes (n < 5000). It computes a W statistic that measures how well the ordered sample values match the expected order statistics of a normal distribution. A W value close to 1 indicates normality; values significantly below 1 indicate departure from normality.

The test procedure works by computing a linear combination of the ordered sample values, weighted by coefficients derived from the expected normal order statistics. The W statistic is the ratio of the squared sum of these weighted values to the total sum of squares. The p-value is obtained through an approximation based on the work of Royston (1992).

An important caveat is that all normality tests, including Shapiro-Wilk, become overly sensitive with large samples. With thousands of observations, even trivial and practically irrelevant departures from normality will be flagged as significant. For this reason, normality testing should always be complemented with visual tools such as Q-Q plots and histograms. The test is most valuable for small samples where visual assessment is unreliable.

A test result carries weight only when the hypothesis, the sample size and the decision rule were fixed before the data arrived. Every pilot we scope is built the same way, with success criteria and kill gates agreed in advance. That work is described under AI pilot design.

Related calculations

  • Paired t test: For paired t inference, examine the distribution of differences between matched observations.
  • One-sample t-test: Review the one-sample mean test when its assumptions fit the sampling design.
  • Levene test: Check variance equality separately; normality and equal variances are different assumptions.
  • F-test for variances: The classical variance-ratio F-test relies on normal population assumptions.
  • Anova: In ANOVA, diagnose model residuals rather than a pooled mixture of group observations.

Related Tools

Stay in the loop

Get notified when new tutorials and deep-dives are published. No spam, unsubscribe anytime.

Shapiro-Wilk Normality Test FAQ

Common questions about the shapiro-wilk normality test