An integer range generator answers one narrow question: which whole numbers inside a closed interval should I pull right now? Order stays random until you flip the sort toggle. Each draw rides on JavaScript Math.random, not a seeded PRNG.
Sequential lists solve a different job
Need every integer from 10 through 50 in order? The Number List Generator prints the full ladder with a step size. Random range picks are for when you want five lottery balls from 1-49, not the entire ticket grid printed out.
Same inputs, opposite intent.
One tool walks the staircase. This one throws dice on each step.
Unique draws vs independent rolls
With unique mode on, each integer leaves the pool after selection. A batch of six unique values from 1-6 always permutes the whole set. Turn unique off and 4 might appear three times in one batch because every roll ignores history.
Sort ascending only rearranges the batch you already drew. The underlying random order disappears from the display, but the values stay the same.
Independent rolls bias toward repeats on small spans. Drawing 10 integers from 1-5 with unique off often shows clustered duplicates. The pattern is expected, not a bug in the generator.
| Question | Integer range generator | Count Numbers in Range |
|---|---|---|
| Output type | Fresh random integers | How many existing values sit inside one window |
| Input | Min, max, batch size | Pasted list plus one min-max pair |
| Typical use | Raffle picks, QA seeds, classroom drills | Distribution check on survey scores |
Reading the live sum and mean row
The stats panel updates on every roll, not only after you press Roll integers. Sum answers how heavy the batch feels in total. Mean shows the center of gravity for the draw you just took.
Neither stat predicts the next roll. A mean of 50 after five picks from 1-100 tells you what happened once, not what comes next. For spread or variance on a pasted list, switch to Number List Statistics after you copy the batch out.
Span in the stats row mirrors your min-max fields, not the smallest or largest chip on screen. A draw from 1-100 might show 3, 87, 42 without touching either bound. The span label still reads 1 to 100 because those were the walls you set.
Where a random integer batch shows up
- QA fixtures. Five order IDs between 10000 and 99999 for staging scripts without touching production rows.
- Classroom drills. Twelve multiplication factors from 2-12, unique, sorted low to high for worksheet columns.
- Game night. One d20 roll or six unique lotto balls before someone digs for physical dice.
- Spot checks. Pull 20 random line numbers from a 500-row CSV, then Filter Numbers by Range on the exported slice.
- A/B bucketing. Assign users to variant 1, 2, or 3 by rolling one integer from 1-3 per row in a spreadsheet helper column.
- Inventory spot audits. Pick ten shelf positions from 1-200 for a walk-through without auditing every slot.
Copy format and downstream paste
Copy list writes comma-separated values: 14, 3, 91, 3, 55. Excel splits on commas when you paste into a single column if you use Paste Special. Google Sheets often needs Data → Split text to columns after a comma paste into one cell.
For newline-separated output, paste into a text editor, find comma, replace with newline. A dedicated line-per-value export is not on this page because most QA scripts expect CSV-style commas.
Closed interval: both endpoints count
Min and max are inclusive. A span from 1-10 includes both 1 and 10. There is no open-interval toggle here. If you need strict between behavior, shift bounds by one before rolling or filter the pasted output afterward.
Zero is a valid min, max, or interior value. A span from -5 to 5 includes negative, zero, and positive integers in one pool.
Fairness limits worth stating upfront
Math.random suits classroom picks and test data. Do not use output here for cryptographic keys, payment tokens, or lottery audits where regulators expect hardware entropy.
Negative bounds work: a span from -10 to 10 includes zero. Decimals are rejected because the fields coerce to integers. The cap is 1000 integers per batch; widening the span does not raise the cap.
Nothing uploads. Parsing, rolling, copy, and the live stats row all run inside your tab. A batch of 1000 chips still paints the DOM, so expect scroll lag on low-end phones before the math fails.
Seeded reproducibility is also missing. Reload the page, get a different batch with the same settings. For deterministic sequences, use Number Sequence Generator or script your own seed in code.
After a draw, Sort Numbers reorders a pasted list you already own. Number List Statistics adds variance once the batch is large enough to mean something. Remove Duplicate Numbers strips repeats when unique mode was off during the roll.
