Handitab

Gaussian Random Number Generator

Generate random numbers that follow a normal distribution by setting the mean, standard deviation, count, and decimal places.

About Gaussian Random Number Generator

A Gaussian random number generator produces values that cluster around a mean in the bell curve shape of the normal distribution. This one uses the Box-Muller transform on the standard Math.random function of the browser. You set the mean, the standard deviation, how many values you want (up to 10,000), and 0 to 10 decimal places. Because it relies on Math.random, the output is fine for simulation and teaching but not for security.

How to use Gaussian Random Number Generator

  1. Fill in "Mean", "Standard deviation", "How many numbers" and "Decimal places".
  2. The result appears below. Press "Generate again" for a new one.
  3. Copy the result with the copy button, or download it as a file where that is offered.

Questions about Gaussian Random Number Generator

What does the standard deviation control?

It sets how widely values spread around the mean. In a normal distribution about 68% of values fall within one standard deviation of the mean, about 95% within two, and about 99.7% within three.

Can I limit the values to a minimum and maximum?

No. A normal distribution has no hard limits, so a value far from the mean can appear now and then. If you need bounds, generate more values than you need and discard the ones outside your range.

Runs in your browser. Page last updated .

More random generators and games

All 31 random generators and games