Developed by — Senior Statistician & Editor Last updated Add as Preferred on Google
Basic Statistics

Sum Calculator

Use this calculator to find the sum (Σx) of a set of numbers. Enter your values to calculate the total with a step-by-step solution.

Enter numbers separated by commas, spaces, or line breaks. You can also paste values directly from Excel.
Sum (Σx)

Step-by-Step Solution

The sum of n values is given by:

Σx = x1 + x2 + ⋯ + xn

Where x1, x2, ..., xn are the individual observations in the dataset.

Substituting the values into the formula, we get:

To calculate the sum of squared values (Σx²) or the sum of squared deviations from the mean, use the Sum of Squares Calculator .

How to Use the Sum Calculator

This calculator helps you find the sum (Σx) of a set of numbers. It supports positive numbers, negative numbers, and decimals, making it useful for both everyday calculations and statistical analysis.

To calculate the sum of your data values:

  1. Enter your data values. Type or paste the numbers into the input field. You can separate the values using commas, spaces, or line breaks. If your data is already in Excel or Google Sheets, you can copy a column of numbers and paste it directly into the calculator.
  2. Click Calculate.

The calculator will instantly return the sum of all those values and show you how the result was obtained.

What Is the Sum of Numbers?

The sum is the total obtained by adding two or more numbers together. In mathematics and statistics, finding the sum simply means adding all the given values to obtain a single total.

In statistics, the sum is represented by the Greek capital letter sigma (Σ), which means “sum of.” For example, Σx means adding all the values of a variable x and is read as “sum of x”

The sum is particularly important in statistics because it is used when calculating the mean, variance, standard deviation, covariance, and several other statistical measures.

Sum Formula

The formula for calculating the sum of n observations is:

Σx = x₁ + x₂ + ⋯ + xₙ

Where:

  • Σ is the summation symbol, meaning add together.
  • x₁, x₂, …, xₙ are the individual observations in the dataset.
  • n is the total number of observations.

For example, if a dataset contains five observations, the formula becomes:

Σx = x₁ + x₂ + x₃ + x₄ + x₅

This means we should add all five observations to obtain the sum.

How to Find the Sum of Numbers Manually

Finding the sum of numbers is straightforward. You simply add all the values in the dataset, making sure that each observation is included.

Example 1. Finding the Sum of Positive Numbers

A retail store records the number of items sold over five consecutive days as follows:

18, 25, 21, 32, 29

Find the total number of items sold over the five days.

Solution

From the given data:

x₁ = 18, x₂ = 25, x₃ = 21, x₄ = 32, and x₅ = 29.

By definition, the sum formula is: Σx = x₁ + x₂ + ⋯ + xₙ

Substituting the values into the formula, we get:

Σx = 18 + 25 + 21 + 32 + 29

= 125

Therefore, the store sold a total of 125 items over the five days.

Example 2: Finding the Sum of Negative Numbers and Decimals

Find the sum of the following values: 7.5, −2.25, 4.75, −1

Solution

The sum formula remains the same, even when the dataset contains negative numbers or decimal values.

Therefore, substituting the values into the sum formula, we get:

Σx = 7.5 + (−2.25) + 4.75 + (−1)

= 9

Therefore, the sum of the four values is 9.

Sum vs Mean: What Is the Difference?

Although the sum and mean are related, they represent different statistical measures. The sum is the total of all observations in a dataset, while the mean is the average value of the observations.

For example, consider the following dataset: 10, 20, 30, 40.

The sum is: Σx = 10 + 20 + 30 + 40

= 100

However, to find the mean, we divide the sum by the number of observations:

Therefore, Mean = 100 / 4

= 25

As you can see, the sum tells us the combined total, whereas the mean tells us the average value per observation.

When analyzing a dataset, you may also need to calculate other descriptive statistics, such as the median, mode, variance, and standard deviation. You can find these statistics using the Descriptive Statistics Calculator or the statistics calculator.

Sum (Σx) vs Sum of Squares (Σx²)

Another important distinction in statistics is the difference between the sum of values (Σx) and the sum of squared values (Σx²).

The sum of values is obtained by adding the original observations. On the other hand, the sum of squared values is obtained by squaring each observation before adding the results.

For example, suppose we have the following dataset: 2, 3, 4

The sum of the values is: Σx = 2 + 3 + 4

= 9

However, the sum of squared values is: Σx² = 2² + 3² + 4²

= 4 + 9 + 16

= 29

Therefore, Σx = 9, while Σx² = 29.

Note. Σx² is different from (Σx)², which means squaring the total sum after adding the observations. For this example, (Σx)² = 9² = 81

If you need to calculate the sum of squared values or the sum of squared deviations from the mean, use the Sum of Squares Calculator. It supports both calculations and provides a detailed step-by-step solution.

Other Applications of the Sum

Besides statistical calculations, finding the sum is useful in many everyday situations.

For example, you may need to find the sum when:

  • Adding expenses, payments, or deposits to determine the total amount.
  • Finding the total number of products sold or total revenue generated over a given period.
  • Adding marks obtained from different assignments, tests, or examination sections.
  • Finding the total number of observations in different categories or adding numerical measurements.
  • Adding quantities, distances, time, or other measurements expressed in compatible units.

Frequently Asked Questions

What is a sum calculator?

A sum calculator is an online tool that adds a set of numbers and returns their total. This calculator also displays the sum formula and shows how the values are substituted to obtain the final answer.

How do I calculate Σx?

To calculate Σx, add all the individual observations in the dataset.

Can I use this calculator to add negative numbers?

Yes. The calculator supports both positive and negative numbers. Simply enter the values with their respective signs, and the calculator will determine the total.

Can the sum calculator add decimal numbers?

Yes. You can enter whole numbers and decimals in the same dataset.

Can I paste numbers from Excel?

Yes. Copy the numerical values from an Excel or Google Sheets column and paste them directly into the calculator. You can also enter numbers separated by commas, spaces, or line breaks.

Cite

Choose APA, MLA, Chicago, or Harvard. Citations credit Joseph Mburu.

Mburu, J.. (2026, November 17). Sum Calculator. Retrieved December 5, 2026, from https://statcalc.net/sum-calculator/

About the Author

, Senior Statistician & Editor. Develops statistics calculators, explains formulas, and checks calculation methods and worked examples.