Random Number Generator

How to create random number

Fill number of values you want to generate. Enter minimum and maximum value of the set. The rest of the inputs are optional and offer a change of number format. Description of inputs is below. The resulting values are pseudo-random. These numbers are not intended for cryptographic tasks.

Number of values

How many results do you want. Max. number of results is limited to 100 000.

Min

The smallest value to be generated. In math language, this is the beginning of a closed interval. It can be whole or decimal number. It can take negative values, positive values, or a value of zero.

Max

The biggest value to be generated. In math language, this is the ending of a closed interval. It can be whole or decimal number. It can take negative values, positive values, or a value of zero.

Number of decimals

Number of digits after the decimal separator. The tool can generate max. 10 decimal places.

Decimal separator

Default is decimal point. You can also use a comma, which is standard in many countries. Or you can add any text you want. Separator value is not limited. To display decimal places, you must fill the Number of decimals field.

Thousands separator

Default separator is none. It can be comma, space or any text you want. There is no limitation.

Prefix

Prefix is a value placed before the number. It can be used for units, currencies, labels, etc. If you need a space between the prefix and the number, just type a space after the prefix.

Suffix

Suffix is a value placed after the number. It can be used for units, currencies, labels, etc. If you need a space between the suffix and the number, just type a space before the suffix.

Leading value

The most common use is to add leading zeros to a number. But here you have more than that. It can be any value you want. You have to fill the Length field to make it working.

Length

Total length of number. Leading values are added to generated number if generated number has less digits than are defined in Length.

Sorting

Default sorting is none, it means random. The final set can be also sorted in ascending or descending order.

Without duplicates

Check this option, if you do not want to have duplicate numbers in the generated set.

Number format examples

We are very proud of wide range of generator settings. Prefix and suffix gives you the power to generate any currency or unit value you want. We listed here some examples.

Price with currency

US Dollar: Create 100 random prices from $1500 to $2000 with no duplicates and no sorting. Results and generator settings are available on example US dollar random generator

UK Pound: Generate 500 random prices from £10 to £20. Duplicates are allowed. Values should have 2 decimals. Use no sorting and display results in JSON format. To see settings go to the UK Pound random generator

Euro: How to generate 2000 random prices from €1000 to €3000? We want it rounded to 2 decimals with no duplicates, descending sorting and loaded in JSON format. No problem with our EUR random generator

Help: How to format currencies

Volume units

Cubic metre: We want to have 10 random cubic metre values from 100 m3 to 200 m3. Numbers should not be duplicated. They must be in ascending order and have no decimals. The solution brings the Cubic metre random generator

Gallon: Let's create 100 random gallon values from 1 gal to 5 gal with no duplicates, in ascending order and 3 decimals included. Result with this set of numbers gives Gallon random generator

Length units

Random height of a person: Group of 30 people, we generate their height. Numbers will be in cm (centimetres). Smallest possible height is 160 cm and the highest is 205 cm Random height generator. If you want to have results in feet and inches, you have to use some of online unit convertors, or you have to create 2 generators. First for feet, second for inches and then mix the values together.

Driving Log Book: How to generate 20 random trips 10 - 100 miles? Use the Distance random generator, it is easy.

Temperature

Generating random temperature is simple. You can use any degrees unit you want. See an example which shows random summer temperature in France Random temperature generator.

Negative numbers

Min, max or both can be negative numbers. Let's combine it with decimal numbers. We can create a counter for 100 numbers from -0.99 to 0 with no duplicates and 3 decimals formatting Negative random generator

Leading values

The most common usage is for leading zeros. So we start with it. Here is the situation: 3-digit code with values from 000 to 999. We need 100 random numbers from this range. Leading zeros random generator

Leading values can be any character or number. It can be also a text, more letters or numbers. For example repeating leading values #% Leading text random generator

Leave a comment

Reply to

Can AI generate random value?

Mark

Comments

ALL WORDS

ALL WORDS | 2023-08-29 03:55:50

What are the differences between pseudorandom number and true random number?

Kevin Hart | 2023-05-17 22:13:52

@Kevin Hart: Pseudorandom number generators (PRNGs): These are algorithms that produce numbers that appear random but are actually deterministic and repeatable. PRNGs use an initial value, called a seed, to generate a sequence of random numbers. When using the same seed, a PRNG will always produce the same sequence of numbers. PRNGs are widely used in computer programs and applications due to their speed and ease of implementation.

True random number generators (TRNGs): These generate random numbers using physical processes, such as electronic noise, radioactive decay, or atmospheric noise. The unpredictability of these physical processes ensures that the generated numbers are truly random and non-deterministic. TRNGs are often used in applications that require a high level of security or unpredictability, such as cryptography or secure communications.

Jan | 2023-05-17 22:32:36

Can AI generate random value?

Mark | 2023-04-06 20:13:10

@Mark: Yes, AI can generate random values. In fact, many AI applications rely on random number generation to introduce randomness and variability into their outputs. AI algorithms can use various methods to generate random values, such as pseudorandom number generators, which use deterministic algorithms to generate sequences of numbers that have statistical properties similar to truly random numbers. AI models can also use other sources of randomness, such as noise introduced into the input data, to generate random outputs.

ChatGPT | 2023-04-06 23:04:01

How can I create random number in Javascript? Math.random() is not working in my case. Don't know why.

Patricia | 2022-09-16 16:51:31

Do you have source code of the app? It will be great if I could change the calculation procedure a little and import it to my own project. The API doesn't suit me because I want it for offline mode. It's for my school project, but I see a lot of potential in it. Maybe it will be a business in the future. I believe :)

Regards Patrick

Patrick Nex | 2022-08-19 11:20:01

The most complex number generator I have ever seen. Good job guys.

Patrick | 2022-07-05 21:08:51