Generate List of Numbers

Generate a list of numbers from a start value to an end value with any step, for example 1 to 100, even numbers, or decimals in steps of 0.25.

  • 100% free
  • No signup
  • Runs in your browser

Overview

Enter start, end and step to generate a list. For example: start 1, end 10, step 2 gives 1, 3, 5, 7, 9.

How to use

  1. Enter the start and the end of the sequence.
  2. Enter the step: 1 for every whole number, 2 for every second number, 0.5 for halves. Use a negative step to count down.
  3. Copy the list from the Result box. Below it you see how many numbers were generated.

How the list is built

Each number is the start plus a whole multiple of the step: start, start + step, start + 2 × step and so on, as long as the value does not pass the end. The end is included only if the sequence lands on it exactly.

The values are calculated directly instead of by repeated adding, so decimal steps such as 0.1 give clean results like 0.3 instead of 0.30000000000000004. To keep the page responsive, at most 100,000 numbers are shown.

Examples

Example Result
Start 1, end 10, step 2 1, 3, 5, 7, 9
Start 0, end 1, step 0.25 0, 0.25, 0.5, 0.75, 1
Start 10, end 0, step −2.5 10, 7.5, 5, 2.5, 0
Start 2, end 20, step 2 2, 4, 6, …, 20 (even numbers)
Tips: Use decimal step (e.g. 0.5) for non-integer sequences.

FAQ

Step is the increment between consecutive numbers. Step 1 gives every integer; step 0.5 gives halves; negative step goes from start down to end.

Yes, if the sequence lands on it exactly. From 1 to 10 with step 2 the list stops at 9, because the next value, 11, would pass the end.

Put the larger number in Start, the smaller one in End and use a negative step, for example start 10, end 1, step −1.

Up to 100,000 at once. For longer sequences, generate them in parts by changing the start value.

Need another tool?

Explore all 61 free tools: calculators, converters, date and time tools, random generators and text utilities.

Browse all tools