Runs in your browser — nothing is uploaded
—
Details
How to use Random Sample Generator
Draw a random sample from a number range or your own list.
- Choose sample from.
- Enter from, to, items and sample size; each field shows its unit.
- Read the Random Sample Generator result — it updates as you type.
- Change any value to compare scenarios, then copy the result.
About Random Sample Generator
A simple random sample gives every item the same chance of being chosen. Without replacement each item can appear once, which is how survey samples and prize draws normally work; with replacement an item can be drawn again, as in bootstrapping and simulations.
Draws use the browser’s cryptographic random generator. Number ranges up to 10 million can be sampled without replacement; larger ranges need sampling with replacement.
Questions
What does “with replacement” mean?
Each pick goes back into the pool before the next one, so the same number or name can appear more than once. Without replacement every result is unique.
How large can a sample be?
Up to 10,000 items. Without replacement the sample cannot be larger than the population.