Standard Deviation Calculator

Input Data

Enter your numerical data below, separated by commas, spaces, or new lines.

How to Use This Calculator

Enter your numbers, click Calculate, and read the results below. Here's what everything means.

Steps

1
Enter your data — paste or type numbers separated by commas, spaces, or new lines. Decimals use a dot (15.5). Non-numeric text is ignored automatically.
2
Click "Calculate Statistics" — results appear immediately. Edit the data and click again to recalculate.
3
Export — download a PNG screenshot or a full PDF report including the table and chart.

Understanding the Output

Summary Statistics — count, sum, mean, median, min/max, range, Q1/Q3, IQR, and both population and sample variance & standard deviation.

Population (σ) vs. Sample (s): use population when your data is the entire group; use sample when it's a subset estimating a larger population.

Frequency Table — data grouped into up to 8 equal-width bins, showing frequency, relative frequency (%), and cumulative values.

Histogram — bar chart of the frequency table. Taller bars = more values in that range. Hover a bar to see the exact count.

Theoretical Background & Statistical Software Guide

1. Understanding Standard Deviation & Variance

Summary Statistics summarize the central tendency and dispersion of a dataset.

  • Mean: The arithmetic average representing the balance point of the data.
  • Variance (σ² or s²): Measures how far values are spread out from the mean. Population variance divides by N, while sample variance uses Bessel's correction (n-1).
  • Standard Deviation (σ or s): The square root of the variance, returning the measure to the original units of the data.

2. How to Calculate in Statistical Software

How this is done in SPSS:
  1. Go to Analyze > Descriptive Statistics > Descriptives.
  2. Move your variable(s) to the variables box.
  3. Click Options and check Mean, Std. deviation, Variance, and Range. Click Continue and then OK.
How this is done in JASP:
  1. Click on the Descriptives tab at the top.
  2. Drag your variable into the Variables box.
  3. Under the Statistics menu, select Mean, Std. deviation, and Variance.
How this is done in JMP:
  1. Go to Analyze > Distribution.
  2. Drag your variable into Y, Columns and click OK to view summary stats and standard deviation.
How this is done in RStudio:
# R Code Example
data <- c(12, 15.5, 8, 22, 14, 19, 11.2, 25, 16.8)

mean(data)     # Mean
sd(data)       # Sample Standard Deviation
var(data)      # Sample Variance
summary(data)  # Full Summary
How this is done in Python:
# Python Code Example
import numpy as np
import pandas as pd

data = [12, 15.5, 8, 22, 14, 19, 11.2, 25, 16.8]

print("Mean:", np.mean(data))
print("Std Dev:", np.std(data, ddof=1)) # Sample std
print("Variance:", np.var(data, ddof=1))

# Summary using Pandas:
print(pd.Series(data).describe())
How this is done in STATA:
  1. Open your dataset in the Data Editor.
  2. Type the following command in the command line:
    sum variable_name, detail