Random number generator

Set the range and how many numbers you want, then press Generate. Numbers come from your browser’s cryptographic random source and are never sent anywhere.

Your answer

Press Generate.

Worked out in your browser. Nothing you type is sent to a server.

How we worked it out

Updated as you change the numbers.

    Method and assumptions

    The browser’s cryptographically secure generator gives each value in the range the same chance. Without repeats, numbers are drawn until the requested count of distinct values is reached.

    Questions

    Is this random enough for a prize draw?

    Yes: it uses the same secure source browsers use for encryption keys. For an audited draw, record how the range maps to entries before you generate.

    Sources

    Method and figures checked on . Every worked answer on this page is covered by an automated test. Found a mistake? Tell us.

    Embed this calculator on your site

    Free to use. Paste this where you want the calculator; it runs in your visitors’ browsers, sets no cookies and sends nothing to us.

    Related calculators