Updated on April 23rd, 2026

Range Calculator

Created By Jehan Wadia

Enter individual data values separated by commas, spaces, tabs, semicolons, or newlines.
Range of the Dataset
36
Data Summary
Minimum
2
Maximum
38
Count (n)
7
Mean
22.14
Median
23
Midrange
20
Step-by-Step Calculation
Step 1: Sort the Data
2, 10, 21, 23, 23, 38, 38
Step 2: Identify Minimum and Maximum
Minimum = 2, Maximum = 38
Step 3: Calculate the Range
Range = Maximum − Minimum = 38 − 2 = 36
Data Visualization

Introduction

The range calculator is a simple statistics tool that finds the difference between the highest and lowest values in a data set. The range tells you how spread out your numbers are. To find the range, you subtract the smallest number from the largest number. For example, if your data set is 3, 7, 10, and 15, the range is 15 − 3 = 12. This is one of the easiest ways to measure how much your data varies. Use this calculator to quickly find the range of any set of numbers you enter.

How to Use Our Range Calculator

Enter a set of numbers and this calculator will find the range, which is the difference between the highest and lowest values in your data set.

Data Set: Type in your numbers separated by commas. For example, you might enter "3, 7, 12, 5, 9". You can enter as many numbers as you need. These are the values the calculator will use to find the range.

What Is the Range in Statistics?

The range is one of the simplest ways to measure how spread out a set of numbers is. To find the range, you subtract the smallest number in your data set from the largest number. That's it!

Range = Largest Value − Smallest Value

A Quick Example

Say you have these test scores: 72, 85, 91, 64, and 88. The largest value is 91 and the smallest value is 64. So the range is 91 − 64 = 27. This tells you that the scores are spread across 27 points.

Why Is the Range Useful?

The range gives you a fast snapshot of how much your data varies. A small range means the numbers are close together, while a large range means the numbers are far apart. For example, if everyone in your class scored between 88 and 92 on a quiz, the range is only 4 — the scores are very consistent. But if scores went from 45 to 99, the range is 54, showing a big difference between the highest and lowest performers.

Limitations of the Range

While the range is easy to calculate, it only looks at two numbers — the maximum and the minimum. This means a single outlier (an unusually high or low value) can make the range misleading. For a deeper understanding of how spread out your data is, statisticians also use measures like the interquartile range (IQR), variance, and standard deviation. Still, the range is a great starting point and is often the first measure of spread that students learn.

When Is the Range Used?

The range is used in many everyday situations. Teachers use it to see how varied student grades are. Weather forecasters use it to report the difference between high and low temperatures. Businesses use it to track changes in prices or sales. Anytime you want a quick idea of how much values differ, the range is a helpful tool. For a more complete picture of your data, you can also compute the mean, median, and mode, explore the normal distribution, or calculate a confidence interval to understand the reliability of your summary statistics. If you're working with standardized values, our Z score calculator can help you see where individual data points fall relative to the overall distribution.


Frequently Asked Questions

What is the formula for range?

The formula for range is simple: Range = Maximum Value − Minimum Value. You find the biggest number in your data set, find the smallest number, and subtract. For example, if your data is 4, 8, 15, and 20, the range is 20 − 4 = 16.

Can the range be negative?

No, the range can never be negative. The range is always zero or a positive number because you always subtract the smaller value from the larger value. If all your numbers are the same, the range is 0. Otherwise, it will always be a positive number.

What is the difference between plain data, frequency table, and grouped data modes?

Plain Data lets you type in individual numbers like 5, 10, 15. Frequency Table lets you enter values on one line and how many times each value appears on a second line using the f: prefix. Grouped Data is for class intervals like 10-20, 20-30 with frequencies or cumulative frequencies. Choose the mode that matches how your data is organized.

How does the calculator handle grouped data?

For grouped data, the calculator finds the range by subtracting the lowest class boundary from the highest class boundary. For example, if your intervals are 10-20, 20-30, and 30-40, the range is 40 − 10 = 30. It uses midpoints of each interval to estimate the mean and median.

What separators can I use when entering data?

You can separate your numbers with commas, spaces, tabs, semicolons, or new lines. The calculator understands all of these. For example, you can type 5, 10, 15 or 5 10 15 or put each number on its own line.

What is the midrange and how is it calculated?

The midrange is the number exactly halfway between the smallest and largest values in your data set. The formula is: Midrange = (Minimum + Maximum) ÷ 2. For example, if the minimum is 10 and the maximum is 30, the midrange is (10 + 30) ÷ 2 = 20.

How many numbers do I need to enter?

You need to enter at least two numbers to calculate the range. With only one number, there is no spread to measure, so the calculator will show an error. There is no maximum limit — you can enter as many numbers as you like.

What does cumulative frequency mean in grouped data?

Cumulative frequency is a running total of frequencies. Instead of listing how many values fall in each class, you list the total count up to and including that class. Use the cf: prefix on the second line. The calculator will convert cumulative frequencies into regular frequencies automatically.

Can I enter negative numbers?

Yes, you can enter negative numbers. The calculator handles them correctly. For example, if your data is −8, −3, 2, and 10, the range is 10 − (−8) = 18.

Can I enter decimal numbers?

Yes, the calculator works with decimal numbers. You can enter values like 3.5, 7.25, or 0.001. The range and all other statistics will be calculated accurately with decimals.

What is the difference between range and interquartile range?

The range uses only the highest and lowest values, so one extreme number can change it a lot. The interquartile range (IQR) measures the spread of the middle 50% of your data by subtracting the first quartile from the third quartile. The IQR is less affected by outliers and gives a better picture of typical spread.

Why does the chart show some bars in different colors?

The chart highlights the minimum value in green and the maximum value in pink. This makes it easy to see which values are used to calculate the range. All other values appear in dark blue.


Related Calculators

Percent Error Calculator

Visit Percent Error Calculator

Percent Change Calculator

Visit Percent Change Calculator

Percentage Calculator

Visit Percentage Calculator

IQR Calculator

Visit IQR Calculator

Z Score Calculator

Visit Z Score Calculator

Standard Deviation Calculator

Visit Standard Deviation Calculator

Mean Median Mode Calculator

Visit Mean Median Mode Calculator

Correlation Coefficient Calculator

Visit Correlation Coefficient Calculator

p Value Calculator

Visit p Value Calculator

Chi Square Calculator

Visit Chi Square Calculator

Confidence Interval Calculator

Visit Confidence Interval Calculator

Sample Size Calculator

Visit Sample Size Calculator

Normal Distribution Calculator

Visit Normal Distribution Calculator

Linear Regression Calculator

Visit Linear Regression Calculator

t Test Calculator

Visit t Test Calculator

ANOVA Calculator

Visit ANOVA Calculator

Effect Size Calculator

Visit Effect Size Calculator

EV Calculator

Visit EV Calculator