Hverdag · verktøy

Standardavvikskalkulator

Lim inn en verdiliste, velg om den er et utvalg eller hele populasjonen, og beregn statistikken lokalt.

Kjøres i nettleseren. Ingen opplasting.

Enter valid numbers and choose population or sample.

Antall
—
Average
—
Variance
—
Standard deviation
—

Om verktøyet

Standardavvikskalkulator sem complicação.

Populasjonsformelen deler de kvadrerte avvikene på N; utvalgsformelen bruker N − 1 (Bessels korreksjon). Verdiene tolkes etter de regionale innstillingene dine, og dataene blir i nettleseren.

Veiledning

Slik bruker du Standardavvikskalkulator

The Standard Deviation Calculator measures how spread out a list of numbers is. Paste your values, choose Population or Sample, and press Calculate. It shows the count, the average, the variance and the standard deviation. Population divides by the number of values. Sample divides by one less, which is the usual choice when your numbers are only a part of a larger group. It handles up to 10,000 values. It does not draw charts, find outliers or test anything.

Slik gjør du

  1. Paste or type your numbers into the box. Separate them with spaces, commas, semicolons or new lines. A column copied from a spreadsheet works well.
  2. Choose the Type. Pick Population if your list is every member of the group you care about. Pick Sample if it is only a part of a bigger group.
  3. Press the Calculate button to run the statistics.
  4. Read four results: Count, Average, Variance and Standard deviation. All are rounded to at most six decimal places.
  5. If you see an error, check for stray letters in the list. For Sample you also need at least two numbers.
  6. Press Clear to empty the box and the results.

Eksempler

Population of eight numbers

Du skriver inn
Verdier
2 4 4 4 5 5 7 9
Type
population
Du får
Antall
8
Gjennomsnitt
5
Varians
4
Standardavvik
2

The mean is 5. The squared distances from 5 add up to 32. Dividing 32 by 8 gives a variance of 4, and its square root is 2.

Kjørt med verktøyets egen kode.

Same eight numbers as a sample

Du skriver inn
Verdier
2 4 4 4 5 5 7 9
Type
sample
Du får
Antall
8
Gjennomsnitt
5
Varians
4.571429
Standardavvik
2.13809

The sum of squares is still 32, but now it is divided by 7 instead of 8. That gives 4.571429, and the square root is 2.13809.

Kjørt med verktøyets egen kode.

A sample of test marks

Du skriver inn
Verdier
10, 12, 23, 23, 16, 23, 21, 16
Type
sample
Du får
Antall
8
Gjennomsnitt
18
Varians
27.428571
Standardavvik
5.237229

The marks have a mean of 18 and a sum of squares of 192. Dividing 192 by 7 gives 27.428571, whose square root is 5.237229.

Kjørt med verktøyets egen kode.

Same marks as a population

Du skriver inn
Verdier
10, 12, 23, 23, 16, 23, 21, 16
Type
population
Du får
Antall
8
Gjennomsnitt
18
Varians
24
Standardavvik
4.898979

Dividing 192 by 8 gives a variance of 24. The square root is 4.898979, a little smaller than the sample figure.

Kjørt med verktøyets egen kode.

Decimals separated by semicolons

Du skriver inn
Verdier
3.5; 4.5; 6
Type
sample
Du får
Antall
3
Gjennomsnitt
4.666667
Varians
1.583333
Standardavvik
1.258306

The mean is 4.666667. The three squared distances sum to 3.166667, and dividing by 2 gives a variance of 1.583333.

Kjørt med verktøyets egen kode.

One value only

Du skriver inn
Verdier
5
Type
population
Du får
Antall
1
Gjennomsnitt
5
Varians
0
Standardavvik
0

With a single number nothing is spread out, so the variance and standard deviation are 0. Switching to Sample would give an error.

Kjørt med verktøyets egen kode.

Når det er nyttig

  • Check homework on mean, variance and standard deviation for a statistics class.
  • See how consistent a set of test scores, delivery times or daily sales figures is.
  • Compare the spread of two data sets that have the same average.
  • Get the sample standard deviation for lab measurements you repeated several times.
  • Check a spreadsheet formula by pasting its input column here.
  • Describe how much a small survey's answers vary before you write them up.

Begrensninger

  • You can enter between 1 and 10,000 numbers, and the box holds at most 200,000 characters. Anything over the number limit gives an error.
  • Sample needs at least two values. With one number the message says that Sample standard deviation needs at least two values.
  • Any item that is not a number gives the message to enter a list of valid numbers. The tool does not skip bad entries.
  • A thousands comma counts only in a number set apart by spaces, new lines or semicolons, such as 1,000 or 12,345.6. In 1,000,2,500 the commas still split it into 1, 0, 2 and 500. This holds for pages that write decimals with a point.
  • Results show at most six decimal places. It reports only count, average, variance and standard deviation, not the median, range or errors.
  • It does not tell you whether a data set is normal, whether a value is an outlier, or whether your sample is fair.

Tips

  • If you are unsure, ask whether your numbers could ever be extended with more data from the same source. If so, treat them as a sample.
  • A small list is not automatically a sample. Follow the choice your course, teacher or standard asks for.
  • The standard deviation is in the same units as your data, while the variance is in squared units.
  • Paste a long column straight from a spreadsheet. Line breaks are accepted.
  • Compare the Count line with the number of values you meant to paste, to catch a lost row or a split number.
  • A larger standard deviation means more spread, but only compare data sets that use the same units.

Kilder

Vanlige spørsmål

Sobre Standardavvikskalkulator.

What is the difference between population and sample standard deviation?

Population divides the squared distances from the mean by N, the number of values. Sample divides by N minus 1. Use population when the list holds the whole group, and sample when it is just a part of it.

Which one should I choose?

Choose population if you have every member, such as all students in one class. Choose sample if you picked a few from a bigger group and want to estimate that group. If your teacher or software names one, use that one.

Why divide by n minus 1 for a sample?

A sample's mean sits closer to its own values than the true mean does, which makes the spread look a bit too small. Dividing by n minus 1 corrects that. It is called Bessel's correction.

How do I calculate standard deviation by hand?

Find the mean. Subtract it from each value and square the result. Add the squares, divide by N or N minus 1, and take the square root. The tool shows the variance too, which is the step before the root.

Why do I get an error for a sample?

Sample mode needs at least two numbers, because dividing by n minus 1 with one number would mean dividing by zero. The error can also come from a stray letter or symbol in the list.

What does the variance mean?

The variance is the average squared distance from the mean, using N or N minus 1. It is in squared units, like square dollars. The standard deviation is its square root, so it is back in your original units.

What separators can I use?

Spaces, commas, semicolons and new lines all work in English. A number such as 1,000 or 12,345.6 is read as one number when it stands alone between spaces, new lines or semicolons. Short items like 1,2,3 are still three numbers. A comma right after a thousands number, as in "1,000, 2,500", splits it again, so separate such numbers with a space, a new line or a semicolon. A decimal point is fine, as in 3.5.

Is this the same as the average calculator?

No. The average tool gives the mean, sum and range of a list and can weight values. This tool shows the spread around the mean. Both give the mean, but only this one gives variance and standard deviation.

Is my data uploaded or saved?

No. The numbers are processed inside your browser on your device, and the page does not send them to a server. You also do not need to sign in to use it.

When should I not trust the result?

Be careful with very small samples, data that has errors, or a list copied with hidden symbols. A standard deviation alone does not show the shape of the data, so look at the values too.

Hvordan bruker du Standardavvik?

Lim inn en verdiliste, velg om den er et utvalg eller hele populasjonen, og beregn statistikken lokalt.

Lastes dataene mine opp til en server?

Nei. Behandlingen skjer i nettleseren din, og opplysningene dine lastes ikke opp.