# Statistics Calculator

Find the descriptive summary statistics for a set of data by entering the numbers below. Keep reading to learn how to calculate each one.

Separate numbers using a comma (,)
Separate numbers using a comma (,)

## Results:

Learn how we calculated this below

## How to Find the Minimum Value

The minimum value is the smallest number in the set. To find the minimum value, start by ordering the numbers from smallest to largest, then simply find the smallest number.

## How to Find the Maximum Value

The maximum value is the largest number in the set. Just like finding the minimum value, start by sorting the numbers from smallest to largest, then find the largest number.

## How to Find the Count

The count is the size of the data set and is often denoted as n. To find the count, simply count the number of elements in the set.

## How to Find the Range

The range is the difference between the minimum value and the maximum value in the data.

\text{range}=\text{max}-\text{min}

Where:
max = highest number
min = lowest number

## How to Find the Sum

The sum is the value of each number in the set added together. To find the sum, add up each number to find the total.

\text{sum}=\sum_{i=1}^{n}x_{i}

Where:
xi = each number in the set
n = number of items in the sample

You can also use a tool like our mean, median, mode calculator to find the sum automatically.

## How to Find the Mean

The mean is the average value of a set of numbers and is a measure of the central tendency of the data.

\text{mean}=\bar{x}=\frac{\sum_{i=1}^{n}x_{i}}{n}
\bar{x}=\frac{x_{1}+x_{2}+…+x_{n}}{n}

Where:
= sample mean
xi = each number in the set
n = number of items in the sample

## How to Find the Median

The median is the middle value in the data set. The median is also a measure of the central tendency of the data.

To find the median, order the data from smallest to largest, then find the middle value in the set. If the number of values in the set is even, then the median is equal to the mean of the middle two values.

### Formula for Datasets With Odd Numbers

\text{median}=\left ( \frac{n + 1}{2} \right )^{th}\text{ term}

The median is equal to the (n + 1)/2th term in the dataset, which is equal to the number at the index of the count of the data n plus 1, divided by 2.

### Formula for Datasets With Even Numbers

\text{median}=\frac{\left ( \frac{n}{2} \right )^{th}\text{ term} + \left ( \frac{n}{2} + 1 \right )^{th}\text{ term}}{2}

Where:
n = number of items in the set

The median is equal to the n/2th term plus the (n/2) + 1th term, divided by 2.

## How to Find the Mode

The mode is the value that occurs most often in the data set. It is possible for a data set to have no modes, which can occur when no value repeats more than once. It’s also possible to have multiple modes, where multiple values repeat the same number of times.

To find the mode, document the frequency that each value occurs in the data. The mode will be the number with the greatest frequency of occurrence.

\text{mode }= L + \left ( \frac{f_{1}-f_{m}}{2f_{1}-f_{m}-f_{2}} \right ) \times h

Where:
L = lower limit of the modal class
fm = frequency of the modal class
f1 = frequency of the class preceding the modal class
f2 = frequency of the class succeeding the modal class
h = size of the class interval

## How to Find the Standard Deviation

The standard deviation is a measure of the distribution or variance between numbers in a data set.

s=\sqrt{\frac{\sum \left ( x_{i}-\bar{x} \right )^{2}}{n-1}}

Where:
= sample mean
xi = each number in the set
n = number of items in the sample

## How to Find the Variance

The variance is the measure of the variability from the mean in a data set. The variance is equal to the standard deviation squared.

s^{2}=\frac{\sum \left ( x_{i}-\bar{x} \right )^{2}}{n-1}

Where:
= sample mean
xi = each number in the set
n = number of items in the sample

## How to Find the Sum of Squares

The sum of squares is a measure of the deviation from the mean for numbers in a data set. It’s often used to calculate variance and standard deviation.

SS = \sum \left ( x_{i}-\bar{x} \right )^{2}

Where:
= sample mean
xi = each number in the set

## How to Find the Quartiles

Quartiles mark the boundaries or divisions of a data set into four equally sized groups. Each quartile is a median of a portion of the dataset.

The first quartile is the median of the lower half of the data, while the third quartile is the median of the upper half.

• Q1 – first quartile – 25th percentile of the data
• Q2 – second quartile – 50th percentile of the data
• Q3 – third quartile – 75th percentile of the data

## How to Find the Interquartile Range

The interquartile range is the difference between the first and third quartiles.

IQR=Q_{3}-Q_{1}

Where:
Q1 = first quartile
Q3 = third quartile

## How to Find the Midrange

The midrange is the arithmetic mean of the smallest and largest numbers in a data set.

\text{midrange}=\frac{\text{min}+\text{max}}{2}

Where:
min = lowest number
max = highest number

## How to Find the Mean Absolute Deviation

The mean absolute deviation is the average difference between each value in the set and the mean.

Where:
= sample mean
xi = each number in the set
n = number of items in the sample

## How to Find the Geometric Mean

The geometric mean is the average of a data set that is found using the nth root of the product of each number in the set, where n is the size of the set.

\tilde{x} = \left ( \prod_{i=1}^{n}x_{i} \right )^{\frac{1}{n}}
\tilde{x} = \sqrt[n]{x_{1} \cdot x_{2} \cdot\cdot\cdot x_{n}}

Where:
xi = each number in the set
n = number of items in the sample

## How to Find the Coefficient of Variation

The coefficient of variation is a measure of relative variability or dispersion of data around the mean in a sample or population.

CV=\frac{s}{\bar{x}}\times 100\%

Where:
s = standard deviation
= sample mean

## How to Find the Relative Standard Deviation

The relative standard deviation is a measure of how closely the data is clustered around the mean in a sample or population.

RSD=\left |\frac{s}{\bar{x}}\right |

Where:
s = standard deviation
= sample mean

## How to Find the Standard Error

The standard error is an estimation of the standard deviation of the sample mean from the actual population mean.

SE=\frac{s}{\sqrt{n}}

Where:
s = standard deviation
n = number of items in the sample