What this answers
This calculator answers "how do I pick a random subset of these specific rows, in a way I can reproduce or prove later?" a common need for randomly selecting audit samples, prize winners, or survey subsets from a known list.
How it is calculated
Rows are drawn using a seeded, fully reproducible pseudorandom generator: without replacement, every row can be selected at most once, matching a classic simple random sample; with replacement, the same row can appear more than once. The seed and population size are reported alongside the selection as a receipt, so the exact same draw can be reproduced or verified later by anyone using the same inputs and seed.
Worked example
For IDs 1 through 5, choosing 2 without replacement selects exactly 2 distinct IDs from that list, with the specific pair determined entirely by the seed you supplied; running the same seed and the same input list again always reproduces the identical pair.
Assumption audit
What this result does not mean
A random selection is not automatically a representative sample of some larger, different population; it is representative only of the specific list of rows you actually provided as input.
Common mistakes
Confusing this simple random sample with a stratified or systematic sample is a common mix-up; if your population has known subgroups you want proportionally represented, a plain random draw like this one does not guarantee that balance on its own, especially with a small selection count. A second mistake is forgetting to record the seed alongside the result; without it, the exact selection cannot be independently reproduced or verified later.
Limitations
Duplicate rows in your input list (such as duplicate header values) are treated as ordinary, individually selectable rows, not deduplicated automatically; deduplicate your list yourself first if that matters for your use case.