Skewness Calculator
What Is Skewness?
Skewness measures the asymmetry of a distribution. More precisely, it captures which side of the distribution carries the longer tail. A distribution is right-skewed (positive skewness) when extreme values on the high end pull the right tail out further than the left; it is left-skewed (negative skewness) when a few unusually small values extend the left tail. A perfectly symmetric distribution — such as the normal distribution — has a skewness of exactly zero.
Skewness is computed from the third standardized central moment of the data. This is what gives it directional information: cubing the deviations preserves their sign, so a preponderance of large positive deviations produces a positive skewness value, and vice versa. Any distribution, whether normal, exponential, uniform, or Poisson, has a skewness value. Skewness does not measure deviation from the normal distribution; it measures tail asymmetry.
For a deeper treatment of skewness alongside its companion measure kurtosis, see the skewness and kurtosis article. To visualize how changing skewness alters the shape of a distribution, the skewness and kurtosis visualizer lets you adjust parameters interactively.
Skewness Formula
Three formulas appear in textbooks and software. This calculator uses the adjusted Fisher-Pearson formula by default for sample data, because it matches what Excel, SPSS, and most statistical software compute.
| Formula | Name | Used by |
|---|---|---|
| G₁ = [n/((n−1)(n−2))] × Σ((xᵢ−x̅)/s)³ | Adjusted Fisher-Pearson (sample) | Excel SKEW, SPSS, R default |
| γ₁ = Σ(xᵢ−μ)³ / (N×σ³) | Population moment skewness | Textbooks, full population data |
| g ≈ 3(x̅−Median)/s | Pearson's 2nd skewness coefficient | Quick estimate only |
In the adjusted Fisher-Pearson formula, n is the sample size, x̅ (read "x-bar") is the sample mean, and s is the Bessel-corrected sample standard deviation. The leading factor n/((n−1)(n−2)) is a bias correction that matters most for small samples. For n > 100, it has negligible effect; for n = 5, it scales the result by 5/3 ≈ 1.67 compared to formulas that omit it.
Deviations are always written as (xᵢ − x̅) — the individual data point minus the sample mean. The mean requires the bar over x; plain x is an individual observation, not the mean. The population formula replaces x̅ with μ and s with σ, using no bias-correction factor because all population values are known.
=SKEW() in Excel and the default in SPSS. The Population tab uses γ₁ (moment-based). If your textbook or software gives different results, check which of these three formulas it applies.
For the standard deviation calculation used inside the skewness formula, see the standard deviation calculator. For the mean, see the mean calculator.
Step-by-Step Worked Example
The following example uses a real dataset of exam scores to show every calculation. All numbers have been independently verified.
x̅ = (72+85+78+91+68+95+76+88+73+92) / 10 = 818 / 10 = 81.8
72−81.8 = −9.8 → (−9.8)³ = −941.192
85−81.8 = +3.2 → (+3.2)³ = +32.768
78−81.8 = −3.8 → (−3.8)³ = −54.872
91−81.8 = +9.2 → (+9.2)³ = +778.688
68−81.8 = −13.8 → (−13.8)³ = −2628.072
95−81.8 = +13.2 → (+13.2)³ = +2299.328
76−81.8 = −5.8 → (−5.8)³ = −195.112
88−81.8 = +6.2 → (+6.2)³ = +238.328
73−81.8 = −8.8 → (−8.8)³ = −681.472
92−81.8 = +10.2 → (+10.2)³ = +1061.208
Σ(xᵢ−x̅)² = 96.04+10.24+14.44+84.64+190.44+174.24+33.64+38.44+77.44+104.04 = 823.60
s = √(823.60 / (10−1)) = √(91.511) = 9.5663
For each xᵢ: ((xᵢ−x̅)/s)³, then sum all 10 values.
Summing the cubed deviations from Step 2 and dividing by s³ = (9.5663)³ = 874.63:
Σ(cube terms) = −941.192+32.768−54.872+778.688−2628.072+2299.328−195.112+238.328−681.472+1061.208 = −90.396
Σ((xᵢ−x̅)/s)³ = −90.396 / 874.63 = −0.1034
Multiplier = n / ((n−1)(n−2)) = 10 / (9×8) = 10/72 = 0.1389
G₁ = 0.1389 × (−0.1034) = −0.0144
Result: G₁ = −0.0144. This is very close to zero, indicating an approximately symmetric distribution. The slight negative value reflects that the one very low score (68) pulls the left tail marginally further than the high scores extend the right tail. The mean (81.8) and median (81.5) are nearly equal, consistent with near-zero skewness.
Try loading this dataset in the calculator above with the "Example (Exam Scores)" button to see it computed automatically.
How to Interpret Skewness
The magnitude and sign of the skewness coefficient both carry meaning. The sign tells you which tail is longer; the magnitude tells you how pronounced the asymmetry is.
| Skewness Value | Interpretation | Tail Direction | Typical Example |
|---|---|---|---|
| < −1 | High negative (left) skew | Long left tail | Age at retirement |
| −1 to −0.5 | Moderate negative skew | Left tail | Exam scores, well-taught course |
| −0.5 to 0.5 | Approximately symmetric | No strong tail | Heights in a homogeneous group |
| 0.5 to 1 | Moderate positive skew | Right tail | House prices in a mid-range suburb |
| > 1 | High positive (right) skew | Long right tail | Household incomes, insurance claims |
These thresholds are rules of thumb, not universal standards. Some disciplines use stricter cutoffs. For a formal significance test, calculate the standard error of skewness:
If |G₁| > 2 × SE(g), the skewness is statistically significant at roughly the 5% level, meaning the asymmetry is unlikely to be due to sampling variation alone. The calculator reports this test automatically.
Positive vs. Negative Skewness: Real Examples
Skewness describes where the tail extends — it does not say how many values fall on each side of the mean. A negatively skewed distribution can still have most values clustered near the top; the left tail is simply longer because a few unusually small values drag it out. Thinking of skewness in terms of tail direction, rather than the count of values, keeps the interpretation accurate.
Right skew • Positive
- Household incomes — most households earn moderate incomes, while a small number of high earners extend the right tail substantially.
- House prices — the majority of properties fall in a broad middle range, with a few luxury properties creating a long upper tail.
- Insurance claims — most claims are small; rare catastrophic claims create an extreme right tail.
- Time to complete a task — most people finish quickly, but a few take far longer than the median.
Left skew • Negative
- Exam scores in a well-taught course — most students score near the top of the range, with a few low scores extending the left tail.
- Age at retirement — most people retire within a narrow band; a small number retire very early, pulling the left tail out.
- Reaction times with a ceiling effect — performance clusters near the maximum possible, with a tail of slow responders on the left.
- Lifespan data in developed countries — most people live into old age; infant mortality creates a small lower tail.
Skewness and the Mean, Median, and Mode
A common rule of thumb relates the direction of skewness to the positions of the mean, median, and mode:
- Positive skew: mean > median > mode (the mean is pulled right by high outliers)
- Negative skew: mean < median < mode (the mean is pulled left by low outliers)
- Zero skew: mean = median = mode (for a unimodal symmetric distribution)
Treat this as a heuristic, not a rule. It holds reliably for smooth, unimodal distributions but can break down when distributions are multimodal, have unusual shapes, or when outliers are extreme. The definitive measure of skewness is the formula above, not the gap between mean and median.
To explore these measures further, the mean calculator and the descriptive statistics calculator each report mean and median alongside other summary statistics.
When Skewness Matters for Statistical Tests
Skewness becomes practically important in four situations:
t-tests, ANOVA, and linear regression all assume approximately normally distributed residuals or outcomes. High skewness in a small sample can violate this assumption, potentially inflating Type I error rates or reducing power. For large samples (n > 100), the central limit theorem reduces the impact of skewness on inference, but checking is still good practice. See the statistical assumptions page for a full checklist.
For small samples, skewness estimates are themselves unreliable (the standard error is large), and parametric tests are more sensitive to distributional shape. When n < 10 this calculator displays a caution flag, because the bias-correction multiplier cannot compensate for the fundamental instability of moment-based estimates at tiny sample sizes.
For highly skewed data, the median often better represents the "typical" value than the mean. Income data is the classic case: median household income is a more useful summary than mean income, because a small number of extremely high earners inflate the mean well above what most households earn.
A sudden jump in skewness after adding new data often signals a data entry error or a genuine extreme observation worth investigating. Computing skewness before and after removing suspected outliers is a quick diagnostic step.
What to Do With Highly Skewed Data
When skewness is high enough to concern you, two broad strategies exist: transform the data to reduce skewness, or switch to a method that does not require normality.
Taking log(x) compresses large values more than small ones, reducing positive skewness. Works well for data that spans multiple orders of magnitude, such as incomes or biological concentrations. Requires all values to be positive.
√x is a milder compression than the log. Useful for count data, such as number of incidents per period.
Multiply all values by −1 to flip the distribution, then apply a log transform. After analysis, reverse the reflection to interpret results on the original scale.
Mann–Whitney U test instead of a two-sample t-test; Kruskal–Wallis instead of one-way ANOVA; Spearman correlation instead of Pearson. These rank-based methods make no distributional assumptions and are robust to skewness.
Skewness in Excel, R, and Python
Excel — =SKEW(range) computes sample skewness using the adjusted Fisher-Pearson formula (G₁), the same as this calculator's Sample tab. It requires at least 3 data points and returns a #DIV/0! error otherwise. Excel has no built-in population skewness function.
// Excel — sample skewness (adjusted Fisher-Pearson)
=SKEW(A1:A100)R — Base R has no built-in skewness function. The moments package computes the biased g₁; the e1071 package's type=2 argument returns G₁ (Excel-compatible).
# R — adjusted Fisher-Pearson (matches Excel SKEW)
install.packages("e1071")
library(e1071)
skewness(x, type = 2)
# R — biased sample skewness
library(moments)
skewness(x)Python (SciPy) — scipy.stats.skew() computes the biased g₁ by default. Pass bias=False for the adjusted G₁ that matches Excel SKEW.
# Python — adjusted Fisher-Pearson (matches Excel SKEW)
from scipy.stats import skew
data = [72, 85, 78, 91, 68, 95, 76, 88, 73, 92]
g1 = skew(data, bias=False) # G₁, Excel-compatible
print(g1)
# Python — biased skewness (scipy default)
g_biased = skew(data) # g₁, biased estimatorFrequently Asked Questions
Skewness is a measure of the asymmetry of a distribution. A distribution is positively skewed (right-skewed) when the right tail extends further than the left; it is negatively skewed (left-skewed) when the left tail extends further. A perfectly symmetric distribution, such as the normal distribution, has a skewness of zero. The normal distribution is never itself skewed — it has zero skewness by definition.
The most widely used sample formula is the adjusted Fisher-Pearson coefficient: G₁ = [n / ((n−1)(n−2))] × Σ((xᵢ−x̅)/s)³, where n is the sample size, x̅ is the sample mean (note the bar — it is x̅, not plain x), and s is the sample standard deviation. This is the formula Excel's SKEW function uses. The population formula is γ₁ = Σ(xᵢ−μ)³ / (N×σ³).
Positive skewness (right skew) means the distribution has a longer right tail — a few high values pull the mean above the median. Negative skewness (left skew) means the distribution has a longer left tail — a few low values pull the mean below the median. Skewness describes tail direction, not how many values fall on each side of the mean. A negatively skewed dataset can still have most of its values clustered near the top of the range; the left tail is longer because of a few unusually small observations.
Standard thresholds: |skewness| < 0.5 is approximately symmetric; 0.5–1.0 is moderately skewed; above 1.0 is highly skewed. For a significance test, compare |G₁| to 2×SE(g), where SE(g) ≈ √(6/n). If the skewness exceeds this threshold, it differs significantly from zero at roughly the 5% level.
Population skewness uses γ₁ = Σ(xᵢ−μ)³ / (Nσ³), where N is the full population size and σ is the population standard deviation. Sample skewness uses G₁ = [n/((n−1)(n−2))] × Σ((xᵢ−x̅)/s)³ — the bias-correction factor n/((n−1)(n−2)) adjusts for the tendency of the sample estimator to underestimate true skewness. For samples larger than n = 100, the two formulas return nearly identical values.
For positively skewed data: mean > median > mode. For negatively skewed data: mean < median < mode. This is a heuristic that holds for smooth, unimodal distributions but can fail for multimodal distributions or unusual shapes. The skewness formula is the definitive measure; the gap between mean and median is an approximation.
Yes. Parametric tests such as t-tests and ANOVA assume approximate normality, which requires low skewness. High skewness in small samples (n < 30) can violate this assumption. For larger samples, the central limit theorem reduces the impact. Options for highly skewed data include log or square root transformations, or switching to non-parametric tests such as the Mann–Whitney U or Kruskal–Wallis test. See the statistical assumptions page for a full normality checklist.
Use =SKEW(A1:A100) for sample skewness using the adjusted Fisher-Pearson formula — the same formula as this calculator's Sample tab. The function requires at least 3 data points. Excel has no built-in population skewness function. For the biased sample estimator, you would need to apply the formula manually or use a helper column.