Net Random Number Generator Calculator
Random Number Generator works out Numbers drawn and Results from What to generate, Seed and How many. The default figures on this page give results of 93, 90, 32, 14, 19; change any entry and the result, the working and the sources update together.
Your figures
Updates as you typeHow this is worked out
2 steps
- Each draw is min + floor(u x 100) with u uniform in [0,1) from Mersenne Twister MT19937.
- Seed 12345 with Mersenne Twister MT19937 makes this draw fully reproducible.
Numbers drawntable
Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed
Sources and references
3 sources
What the Random Number Generator calculates
Generates reproducible pseudo-random integers, decimals, dice rolls, coin flips and unique lottery-style draws from an explicit seed using published generators (Lehmer MINSTD and Mersenne Twister MT19937).
How to use this Random Number Generator
Enter What to generate, Seed, How many and Minimum. Numbers drawn updates as you type, and “Use a worked example” loads checked figures you can adjust. Change one figure at a time to see what drives the result.
How the result is worked out
Open “How this is worked out” beside the result for the step-by-step calculation behind Numbers drawn, Results and First value.
The method follows Park & Miller, "Random Number Generators: Good Ones Are Hard To Find", Communications of the ACM 31(10), Matsumoto & Nishimura, "Mersenne Twister: A 623-Dimensionally Equidistributed Uniform Pseudo-Random Number Generator", ACM TOMACS 8(1) and ISO/IEC 14882 (C++), [rand.predef]: published 10000th-invocation test values for minstd_rand0, minstd_rand and mt19937.
MINSTD (48271) reproduces the standard 10000th value example
With What to generate: integers, Generator: minstd, Seed: 1, How many: 10000, the calculator returns Raw generator output on the final draw: 399268537. This example is checked against an independent source in the test suite.
Results are general information, not financial, tax, legal, medical or engineering advice. Check any decision that matters with a qualified professional.
See something wrong? Report a problem with this calculator
Frequently asked questions
What information do I need for the Random Number Generator?
You need What to generate, Seed, How many, Minimum, Maximum, Sides per die, Modifier added to the dice total and Decimal places. The page opens with default figures that give results of 93, 90, 32, 14, 19, so you can see the scale before entering your own.
What does this Random Number Generator show?
It shows Numbers drawn, Results, First value, Total, Average, Lowest value drawn, Highest value drawn and How many values, with the working and any warnings for your entries.
Can I check how the Random Number Generator result was calculated?
Yes. The “How this is worked out” section shows the calculation steps, and the sources section identifies the references used for the method.
