RandomNr

Number Generators

Random Number Divisible By N

Draw random numbers that are exact multiples of the value you choose, inside your range.

Random Number Divisible By N

45

Multiples of 5 from 5 to 100 · 1 result

Choose the range

Every result is a multiple of this

How many numbers to generate

Up to 1000 per draw

Options

Sort results
Copy separator

How to use the divisible by N generator

  1. Set the divisor. Every result will be an exact multiple of it.
  2. Set the range, and the tool finds the first and last multiple inside it.
  3. Choose how many to draw, then copy or download the set.

How many multiples fit in a range

The pool behind each draw is simply how many multiples of the divisor fit in the range, which is the range width divided by N, rounded down. In 1 to 100 that gives:

DivisorMultiples in 1 to 100FirstLast
2502100
333399
5205100
714798
101010100
25425100

A big divisor in a small range can leave no multiples at all, for example 7 between 1 and 6, and the tool says so rather than returning a wrong number.

The divisibility rules behind the draw

You can verify any result from this page by hand with the standard divisibility rules, the same chart taught in classrooms.

Divisible byRule
2the last digit is even
3the digits add up to a multiple of 3
4the last two digits form a multiple of 4
5the number ends in 0 or 5
6the number passes the rules for 2 and 3
9the digits add up to a multiple of 9
10the number ends in 0

Draw a batch of multiples of 3 and check that each digit sum lands on 3, 6 or 9. That makes this page a ready made worksheet for teaching the rules, with the maths question generator covering the arithmetic side.

Where multiples are the right draw

Prices that move in steps of 5, donations in steps of 25, timer lengths in steps of 10 seconds, and rounds in a tournament that need team sizes in steps of 4 are all draws from a multiple pool, not a plain range. Drawing the multiple directly keeps every valid step equally likely, which a draw and round approach does not, since rounding makes the middle values twice as common as the ends.

Popular generators

Frequently asked questions

What does divisible by N do

It draws random numbers that are exact multiples of the number you set. With N as 5 you get values such as 5, 10, 15 and so on.

Which multiples are included

Every multiple of N that falls inside your range, both ends included. A range of 1 to 100 with N as 5 draws from 5 up to 100.

Can I block duplicates

Yes. Tick no repeats for a set of distinct multiples. The count is capped at how many multiples the range holds.

What if there are no multiples in the range

The tool tells you none exist for that combination, for example multiples of 7 between 1 and 6.

Is it free

Yes, free and with no sign up. Every draw runs in your browser and nothing you enter leaves your device.

Related generators

For plain whole numbers use the random number generator, or draw only even or odd values.