Skip to content

Consecutive Integers Calculator

Result

Consecutive Integers18, 19, 20, 21, 22
Sum Check18 + 19 + 20 + 21 + 22 = 100
↗ Math

Consecutive Integers Calculator The Consecutive Integers Calculator finds a run of consecutive integers that add up to a target sum. Enter the target sum and how many consecutive integers to use. — free online calculator.

Formula

First = (Sum − k(k−1)/2) ÷ k, then add 1 each step for k integers
  • Consecutive Integers Calculator calculates its result from K, Sum, K K 1. It uses the formula First = (Sum − k(k−1)/2) ÷ k, then add 1 each step for k integers. Change any input to recalculate the result instantly.
  • The main inputs are Target Sum, How Many Integers. Enter them in the units and format shown in the calculator.
  • Keep comparable quantities in compatible units whenever the formula combines or compares them.
  • Changing any input above recalculates the result with the same calculation engine used by this page.

Example: Consecutive Integers

Inputs
  • Target Sum: 100
  • How Many Integers: 5

Using K = 2, Sum = 3, K K 1 = 4, the calculated result is 0.5.

Sample result: Calculating…

Frequently asked questions

What does the Consecutive Integers calculate?

Consecutive Integers Calculator The Consecutive Integers Calculator finds a run of consecutive integers that add up to a target sum. Enter the target sum and how many consecutive integers to use. — free online calculator.

Which values should I enter?

Enter Target Sum, How Many Integers using the units and format shown beside each field.

What formula does this calculator use?

The calculator uses the following relationship: First = (Sum − k(k−1)/2) ÷ k, then add 1 each step for k integers.

Why might my result differ from another source?

Results can differ when another source uses different units, rounding rules, conventions or assumptions. Compare the inputs and definitions before comparing results.

Does the result update automatically?

Yes. Changing an input updates the result using the same calculation engine shown on this page.

Page information

Updated: October 10, 2026