Geometric Standard Deviation Calculator
Measure spread as a factor for data best described by a geometric mean.
What it does
The geometric standard deviation measures spread for data whose typical value is a geometric mean. Instead of giving a difference in the original units, it gives a factor that multiplies or divides the geometric mean.
This tool takes the natural log of each value, computes the sample standard deviation of those logs, and exponentiates the result. It prints the log spread as well, so the transformation is easy to follow.
The measure is natural for lognormal data such as body sizes, concentrations, or incomes. A geometric standard deviation of 2 means that one standard deviation up doubles the geometric mean and one down halves it.
It is dimensionless. That is a feature, not a mistake: you multiply and divide by it rather than adding or subtracting it. Values must be positive because the logarithm of zero or a negative number is undefined.
How to use
- Enter positive values separated by commas or spaces.
- Read the geometric standard deviation in the main result.
- Note the geometric mean shown underneath.
- Check the standard deviation of the logs to see the transformation.
- Multiply and divide the mean by the GSD to describe a band.
- Compare with the ordinary standard deviation for the same data.
Formula
- x(i)
- The ith positive observation.
- ln
- Natural logarithm.
- n
- Number of observations.
The tool uses the sample version with n minus one degrees of freedom, matching the default in NIST DATAPLOT and SciPy. Some sources use n instead, which gives a slightly smaller factor. Because the GSD is a ratio scale, one GSD up means multiply by the factor and one GSD down means divide by it; adding or subtracting would be wrong.
Worked example
Example: the powers of two from 1 to 16
Values 1, 2, 4, 8, 16.
- Take natural logs: 0, 0.693147, 1.386294, 2.079442, 2.772589.
- The mean of the logs is 1.386294.
- The sample standard deviation of the logs is 1.095962.
- Exponentiate: exp(1.095962) = 2.992059.
- The geometric mean is exp(1.386294) = 4.
- Tool shows 2.992059 with log spread 1.095962.
Reference table
| Values | Geometric mean | Geometric SD |
|---|---|---|
| 1, 1, 1 | 1 | 1 |
| 1, 2 | 1.414214 | 1.632527 |
| 1, 2, 4 | 2 | 2 |
| 1, 2, 4, 8, 16 | 4 | 2.992059 |
| 2, 8, 32 | 8 | 4 |
Limits
- Only defined for strictly positive values.
- Assumes the data are roughly lognormal for interpretation.
- The sample and population conventions differ slightly.
- It is a factor, so it cannot be added to the mean.
Common mistakes
- Exponentiating the standard deviation of the raw values.
- Including zero or negative values.
- Adding and subtracting the GSD from the geometric mean.
- Mixing the n and n minus one conventions without saying so.
- Treating a GSD below 1 as meaningful for positive data.
Try it yourself
Quick checks. Answers sit tucked under each question.
Values 1, 2, 4. Geometric standard deviation?
exp(0.693147) = 2.
What is the geometric mean of that set?
2.
Can a value be zero?
No. The tool rejects non-positive values.
Questions
What is the geometric standard deviation?
The exponent of the standard deviation of the logarithms.
Why is it dimensionless?
It is a factor applied by multiplication, not a difference in units.
How do I use it with the mean?
Divide the mean by the GSD and multiply the mean by the GSD.
When is it useful?
For positive, right-skewed data that are roughly lognormal.
What does a value of 1 mean?
All observations are identical.
Does it use n or n minus one?
This tool uses n minus one, the sample convention.