Random Number & Ball Picker
Generate unbiased random integers with animated ball reveals, non-repeating draw support, real-time session frequency bars, and downloadable CSV draw records.
Draw Settings
Draw Output
Unbiased browser Web Crypto API selection
Ready to draw numbers
Configure your range and click “Draw Random Numbers”.
Session Frequency Distribution (Top 12)
Run multiple draws to inspect live number frequency statistics.
Recent Draw Log (0)
Each completed draw is logged here with its timestamp and range.
Unbiased Random Number Generation Explained
Whether you are drawing numbered event tickets, selecting random survey participants, running a classroom probability demonstration, or assigning seat numbers, fairness matters. Many simple scripts rely on Math.random() with a naive modulo operator, which can subtly favor lower integers.
Our Random Number & Ball Picker uses Web Crypto rejection sampling combined with a partial Fisher-Yates shuffle whenever duplicates are turned off. Every integer in your selected minimum-to-maximum range has an identical probability of being selected.
How to Use
- 1
Set Minimum, Maximum, and Draw Count
Enter any integer bounds and pick between 1 and 50 numbers per draw, or click a quick preset.
- 2
Choose Duplicates, Sorting, and Visual Mode
Keep duplicates off for raffle tickets or classroom seat draws. Switch freely between Animated Balls and Clean Numeric Cards.
- 3
Inspect Stats or Export CSV
Watch the live frequency bar chart update across multiple rounds, copy numbers to your clipboard, or download the full timestamped CSV log.
Popular Everyday Uses
Numbered Event Ticket Draws
Draw winning ticket numbers live on a screen with animated colored balls and an exportable audit log.
Statistics & Probability Classes
Run repeated draws and use the live frequency distribution chart to teach uniform distributions and sample variance.
Random Sampling & QA Audits
Pick unbiased row numbers or order IDs from a dataset without repeating entries.
Board Games & Tabletop Play
Simulate multi-sided dice, custom decks, or initiative rolls for any integer range.
Fairness & Privacy Guarantee
Random integers are produced locally via crypto.getRandomValues() with rejection sampling to remove modulo bias. This utility is built strictly for education, sampling, games, and event coordination.
Common Questions About Random Number & Ball Picker
How do you prevent duplicate numbers in a single draw?+
When 'Allow duplicate numbers' is unchecked, the tool runs a cryptographic Fisher-Yates partial shuffle so every number in the range can be picked at most once per draw.
Why does the frequency chart look uneven after just a few draws?+
That is completely normal in true randomness! With small sample sizes, clusters happen naturally. Over hundreds of draws, frequencies converge toward a uniform distribution.
Can I export all my draws for record-keeping?+
Yes. Click 'Export CSV' at any time to save every draw in the current session along with its timestamp and selected range.