Random Sampling Tool
Draw a random sample from your list of items, with or without replacement, or shuffle the whole list.
These tools are for study and quick checking. A result is only as good as the numbers you enter and the simplifying assumptions in the formula. For published, regulated or safety-critical work, check it against a trusted source or an instrument.
How it works
- Enter your values in the boxes. Where a box has a unit beside it, check the unit before you read the answer.
- The answer updates as you type, so there is no button to press.
- Use Copy results to keep the answer. Check the formula and its limits below if the result will go into a report or an experiment.
The formula
each item has an equal chance; the browser's secure random generator is used
Frequently asked questions
What is sampling without replacement?
Each item can be chosen only once, like drawing names from a hat.
Is the order random?
Yes. The output order is also random.
Is what I enter sent anywhere?
No. The calculation is done in your browser, so your numbers are not sent to a server or saved.
Related tools
Sample Size Calculator
Find how many people or measurements you need to estimate a proportion or a mean to a chosen margin of error and confidence level.
Scientific Graph Plotter
Plot a function of x or a set of data points with an optional best-fit line, and see the graph right away with axis labels.
CSV Data Analyzer
Paste CSV data with a header row and get the number of rows and columns, and statistics for every numeric column.