# Standard deviation calculator > How spread out are these numbers? Sample or population standard deviation and variance of a list of numbers, with the mean and the standard error. Paste a list of numbers and get the standard deviation and variance, for a sample (n − 1) or a whole population (n), with the mean and standard error. - Page: https://how.box/standard-deviation/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/standard-deviation/?v={v}&k={k} - `v` (text): The numbers, separated by spaces, line breaks or semicolons. Example: `2 4 4 4 5 5 7 9`. - `k` (sample or population): sample (n − 1) or population (n). Example: `sample`. Example answer: https://how.box/standard-deviation/?v=2+4+4+4+5+5+7+9&k=sample A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `standard_deviation_calculate`: Standard deviation and variance of a list of numbers. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"standard_deviation_calculate","arguments":{"values":"2 4 4 4 5 5 7 9","kind":"sample"}}}` - GET: https://how.box/mcp/run/standard_deviation_calculate?values=2+4+4+4+5+5+7+9&kind=sample ## How it works The standard deviation tells how far the numbers typically sit from their mean. A small value means they cluster tightly; a large one means they are spread out. The variance is the same idea squared, and the standard error says how precisely the mean of a sample estimates the mean of the whole group. Take the mean x̄, square each value's distance from it, add the squares and divide: by n for a whole population, by n − 1 for a sample (Bessel's correction, because a sample's own mean sits a little too close to its values). The square root of that is the standard deviation. For 2, 4, 4, 4, 5, 5, 7 and 9 the mean is 5 and the squared distances add up to 32, so the population SD is √(32 ÷ 8) = 2 and the sample SD is √(32 ÷ 7) ≈ 2.138. Definitions follow the NIST/SEMATECH e-Handbook of Statistical Methods. Use the sample setting for measurements or survey answers from part of a group, and the population setting only when you have every member. The standard deviation is in the same unit as the data, so it is easy to read, but a few extreme values pull it up a lot. Entries that are not numbers are left out and listed so you can fix them. ## FAQ **Should I use the sample or the population standard deviation?** Use the sample one when your numbers are part of a larger group you want to describe, which is almost always. Use the population one only when the list is the entire group. **What is the difference between variance and standard deviation?** The variance is the mean squared distance from the mean; the standard deviation is its square root, so it is in the same unit as your numbers. **What does the standard error tell me?** It is the sample standard deviation divided by the square root of the count: how much the mean would vary if you took another sample of the same size. **What is a good coefficient of variation?** It is the standard deviation as a percentage of the mean, useful for comparing spread across different scales. What counts as low depends on the field; it is meaningless when the mean is near zero. **Can the standard deviation be negative?** No. It is zero when all the values are equal and positive when they differ. Negative input values are allowed. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)