What Is d and SD?
In statistics, d often stands for a deviation, the distance of a value from the mean, and SD is the standard deviation built from those deviations. The same letter d also names the difference within a matched pair.
In deviation mode, the calculator lists d = x − x̄ for every value, shows that they add to zero, and gives the sample and population standard deviations. In paired mode it gives d̄, the standard deviation of the differences, the paired t test and Cohen's d.
Choose the mode that matches your problem and paste your values.
How to Use the d and SD Calculator
- Choose deviations or paired differences.
- Paste your values, and the after values in paired mode.
- Read d, the SD and, for pairs, the t test and effect size.
d and SD Formula
Deviation
Sample SD
Paired t
d and SD Variables Explained
| Symbol | Meaning | Notes |
|---|---|---|
| d | Deviation from the mean, or a paired difference | x − x̄, or after − before |
| SD | Standard deviation | √(Σd² / (n − 1)) |
| d̄ | Mean of the paired differences | |
| s_d | Standard deviation of the differences | Sets the standard error |
d and SD Worked Example
With the example values loaded in the calculator above, the steps are:
- Mean x̄ = 6. Each deviation is d = x − x̄. They add to 0.
- Σd² = 28.
- Sample SD = √(Σd² ÷ (n − 1)) = 2.16025. Population SD = √(Σd² ÷ n) = 2.
Result: Sample standard deviation (n − 1) = 2.16025; Population standard deviation (n) = 2.
Worked example: deviations
Take 4, 8, 6, 5, 3, 9, 7. The mean is 6, so the deviations are −2, 2, 0, −1, −3, 3, 1, and they add to 0.
The squared deviations add to 28. The sample SD is √(28 ÷ 6) = 2.1602 and the population SD is √(28 ÷ 7) = 2.
Paired differences
For before and after data, take d = after − before for each pair. The mean of those, d̄, is the average change, and s_d is the standard deviation of the changes. The paired t test divides d̄ by s_d ÷ √n.
Where d and SD Is Used
Standard deviation homework
See every step from deviation to SD.
Before and after studies
Test the mean change with a paired t test.
Effect size
Get Cohen's d for paired data.
Common d and SD Mistakes to Avoid
- Use the sample SD unless you have the whole population.
- In paired mode, keep the order of the two lists the same.
d and SD Terms and Definitions
- Deviation
- How far a value is from the mean.
- Paired data
- Two measurements on the same unit, such as before and after.
d and SD FAQs
What is d in statistics?
It can mean the deviation of a value from the mean, or the difference between the two values in a pair.
How do you find the SD from deviations?
Square them, add them, divide by n − 1 for a sample, and take the square root.
Why do deviations add to zero?
The mean is the balance point of the data, so the positive and negative deviations cancel.
What is the SD of paired differences used for?
It sets the standard error of the mean difference in a paired t test.