Practical guide
How to draw random numbers with or without repeats
Drawing one number differs from selecting a unique batch. This guide explains bounds, result count and ordering so the output matches your exercise or game rules. Examples describe possible behavior, not the next draw.
Set an inclusive range
Enter the minimum and maximum as integers. Both are included: 1–6 has six possibilities, while −2–2 has five. The maximum cannot be below the minimum. Zero and negative values do not require another mode.
Bounds can run from −1,000,000,000 to 1,000,000,000. Fractions, blank entries and out-of-range values cause errors. Enter bounds without thousands separators; the output is a numeric value, not a monetary amount.
Choose result count and repetition
Request 1–500 results. With repeats, each selection is independent and a number can appear multiple times. Unique mode makes numbers distinct within the current batch only; a subsequent click does not exclude numbers already shown.
You cannot request more unique numbers than the range contains. For 1–3 the limit is three; equal bounds allow one. The tool does not automatically widen the range or reduce the count: correct the setting deliberately and draw again.
Read a batch example
For range 1–3 and three unique results, every number appears once, but order can vary. The table shows possible examples. There is no specific next-click output to expect beyond the stated range and repetition rules.
With a single-value range, every permitted result is the same number. That is not a randomness failure. In a larger range, repeats can also be valid when enabled; do not change the options after seeing an unwanted result.
| Options | Example |
|---|---|
| 1–3 / 3 / unique | 3, 1, 2 |
| 1–3 / 3 / allow | 2, 2, 1 |
| 7–7 / 3 / allow | 7, 7, 7 |
Sorting does not change the selected numbers
Draw order presents results in selection order. Ascending mode sorts the selected batch without another draw or removal of permitted repeats. Distinguish presentation order from the selection rules themselves.
Copying returns the numbers only, one per line, without descriptions or bounds. If order matters in your exercise, keep draw order and record the previously agreed rules in your own note. The generator stores neither that note nor a draw history.
Review the result before sharing
Review the options and list first, then agree whether the first valid draw will stand. Repeatedly clicking until a preferred result appears changes the decision process. The generator does not block redraws, verify participants or create an independent audit record; technical references are not prize-draw certification.
The browser supplies random words through Web Crypto. Selection rejects the surplus part of the source range rather than applying raw modulo to it. Missing support or a source failure causes an error, with no Math.random fallback. This describes technical selection, not validation of your organizational rules.
Copying, reset and privacy
Copy the result only after reviewing the table. Processing is local and inputs are not added to the page URL, analytics or persistent form storage. An ordinary page visit still makes a hosting request. For participants, prefer distinct aliases or labels to full personal details; clipboard content and printouts can expose the list.
Editing inputs or resetting clears the previous table and prepared copy from the form. It does not erase a previously copied clipboard value or printout. A new click starts a fresh draw without history; a valid new result can match the previous one. Do not report a bug by sending a real participant list: use a small A, B, C example.
Frequently asked questions
Does the range include both bounds?
Yes. The number of possibilities is maximum − minimum + 1. For example, −2–2 includes −2, −1, 0, 1 and 2: five integers.
Does unique mode mean uniqueness forever?
No. Uniqueness applies within one batch. The tool stores no earlier results, so the same number can appear again in a subsequent draw.
Must the next click produce a different result?
No. A new draw does not remember the previous one and can produce the same valid result. For a group decision, agree a redraw policy in advance rather than choosing a rule after seeing the outcome.
Are results sent to analytics?
No. The form does not send lists, parameters or results to analytics or put them in the URL or localStorage/sessionStorage. Deliberate copying and printing can leave a copy on your device.
Sources and scope
These tools support everyday choices, exercises and simulations, not certified prize draws, participant auditing, gambling or secret generation. Examples do not predict the next result. Results depend on correct inputs and browser capabilities. Avoid confidential data; copying and printing remain under your control.
Tools covered by this guide
Random number generator
Draw integers from a range, with or without repeats. Keep draw order or sort the results.
Random picker and shuffle
Pick one or several entries without repeats, or shuffle the complete list into a random order.
Random pair generator
Split a list into random pairs. Every entry appears once; an odd-sized list leaves one unpaired entry.
Coin toss and dice roller
Simulate heads or tails, or rolls of a 2–100-sided die. See every result and a batch summary.