new Maths

Random Number Generator

Set an inclusive range and choose how many whole numbers to generate, with an option to prevent repeats.

Enter your details

Result
—
Enter your details to calculate.
Generated numbers
—
Count returned
—
Selected range
—

How to generate random numbers

Define the inclusive range, choose the output count, and decide whether repeats are allowed.

1

Set the range

Enter safe whole-number minimum and maximum values; both endpoints can appear in the result.

2

Choose the count

Set how many values to return, from 1 to 1,000.

3

Choose uniqueness

Allow repeats for independent draws or choose unique only to prevent duplicate values.

Frequently Asked Questions

Are the minimum and maximum included?

Yes. The generator selects values from the inclusive range you provide.

Can generated numbers repeat?

Yes when allow repeats is selected; unique mode prevents duplicates.

How many values can I generate?

You can request between 1 and 1,000 whole numbers.

What happens if minimum is greater than maximum?

The calculator displays an error and asks you to correct the range.

Can I generate negative numbers?

Yes. Any safe whole-number range, including negative values, is supported.

Why did unique mode fail?

The range contains fewer possible values than the requested unique count.

Is the result stored?

No. Values are generated in your browser and are not uploaded.