keisoku

Normal Distribution Random Generator

Generate random numbers that follow a normal distribution from a mean and standard deviation, with a histogram and sample statistics.

Input

Enter the mean, standard deviation, and how many values to create to draw random numbers from a normal distribution.

value
value
items

Enter an integer from 1 to 100000.

Result

Enter values and press the generate button to see the result here.

How it works

  • Enter the mean, standard deviation, and how many values to create, then press the generate button to draw random numbers from a normal distribution.
  • Generation uses the Box-Muller method. Two uniform random numbers on the interval from zero to one produce two independent standard normal values, which are then scaled by the standard deviation and shifted by the mean.
  • The sample mean is the sum of the generated values divided by the count, and the sample standard deviation is the square root of the unbiased variance. Larger counts come closer to the chosen mean and standard deviation.
  • The histogram groups the generated values into classes so you can see the bell shape. The number of classes is chosen automatically from the count.
  • New random numbers are drawn each time you press the button, so the same input gives a different result every time.

Reviews

Tell us what you think of this calculator.

Write a review

  1. Home
  2. Normal Distribution Random Generator