Free calculatorLive resultsSteps and sourcesEmbed on your site, free

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.

Results
93, 90, 32, 14, 19
Random Number Generator
First value
93
Total
248
Average
49.6
Lowest value drawn
14
Highest value drawn
93
How many values
5
All values within range?
Yes
Raw generator output on the final draw
789,925,284
Generator
Mersenne Twister MT19937
Worked out from Park & Miller, "Random Number Generators: Good Ones Are Hard To Find", Communications of the ACM 31(10) and 2 other sources.

Your figures

Updates as you type
The same seed always reproduces the same draws. Change it for a different sequence.
Number of values to draw, dice to roll or coins to flip.

How this is worked out

2 steps
  1. Each draw is min + floor(u x 100) with u uniform in [0,1) from Mersenne Twister MT19937.
  2. Seed 12345 with Mersenne Twister MT19937 makes this draw fully reproducible.
Numbers drawntable
93, 90, 32, 14, 19

Its 5 worked examples are re-run on every release, last on 15 September 2026. What changed

Sources and references

3 sources
Park & Miller, "Random Number Generators: Good Ones Are Hard To Find", Communications of the ACM 31(10)
1988 · Defines the minimal-standard Lehmer generator x <- 16807 x mod (2^31 - 1); 48271 is the later recommended multiplier.
ISO/IEC 14882 (C++), [rand.predef]: published 10000th-invocation test values for minstd_rand0, minstd_rand and mt19937
1043618065, 399268537 and 4123659995 respectively.

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.

Embed this calculator on your website

Copy this code into any page. The calculator appears with the figures currently entered, sizes itself to fit, and a small credit line links back here. Free, no account, no ads inside it, no tracking of your readers. Set your own figures and fixed fields; Personal removes the credit line, sets your colour and shows you which sites use it.

Preview

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.

Related calculators

View all related calculators9 more