Skip to content

How-to guide

How to Calculate Sum of Natural Numbers: Formula, Steps & Examples

Learn how to calculate Sum of Natural Numbers — the formula explained step by step, with worked examples and a free calculator to check your answer.

By Vikram Iyer, M.Sc Mathematics · Updated Jun 2026 · 2 min read

Calculating your sum of 1 to n is straightforward once you know the Sum of Natural Numbers formula and what each input means. This guide explains the method in plain language, walks through a manual calculation, and gives worked examples you can follow — then you can do it instantly with the Sum of Natural Numbers Calculator.

What is Sum of Natural Numbers?

The Sum of Natural Numbers calculation tells you your sum of 1 to n from a few simple inputs. The figure you are solving for here is the sum of 1 to n.

The Sum of Natural Numbers formula

The core formula is:

Sum of 1 to n = Up to number (n) × (Up to number (n) + 1) ÷ 2

Here is what each input means:

  • Up to number (n) — a number. Example: 100.

How to calculate it step by step

  • Write down the up to number (n) (for example, 100).
  • Apply the formula above to get your sum of 1 to n.
  • Double-check the result with the Sum of Natural Numbers Calculator.

Worked examples

Example 1

Input / OutputValue
Up to number (n)100
Sum of 1 to n5,050

With up to number (n) of 100, the sum of 1 to n works out to 5,050.

Example 2

With up to number (n) of 200, the sum of 1 to n works out to 20,100.

ResultValue
Sum of 1 to n20,100

Example 3

With up to number (n) of 50, the sum of 1 to n works out to 1,275.

ResultValue
Sum of 1 to n1,275

Tips for an accurate result

  • Keep your units consistent — mixing, say, months with years or grams with kilograms is the most common source of error.
  • Round only at the very end. Rounding inputs early can shift the final answer noticeably.
  • Re-run the numbers whenever an input changes, rather than estimating from an old result.

Prefer not to do the maths by hand? — the Sum of Natural Numbers Calculator does it instantly, for free, with the formula and a worked example built in.

Continue exploring math calculators with these tools: Margin of Error Calculator, Sample Size Calculator, Confidence Interval Calculator, Coefficient of Variation Calculator, Regular Heptagon Area Calculator.

Calculators in this guide

Frequently asked questions

The formula is: Sum of 1 to n = Up to number (n) × (Up to number (n) + 1) ÷ 2. With up to number (n) of 100, the sum of 1 to n works out to 5,050.

Gather each input, apply the formula step by step keeping your units consistent, and round only at the end. You can verify your answer instantly with the Sum of Natural Numbers Calculator.

It uses the standard formula with exact arithmetic, so the result is correct for the inputs you enter. Bear in mind that real-world outcomes can still differ when underlying assumptions change.

Vikram Iyer · M.Sc Mathematics

Vikram Iyer is a mathematics educator with over fifteen years of teaching experience, specialising in making quantitative concepts clear and practical for everyday use.