Random number from 1 to 1000
A thousand inclusive integers.
—
No number yet. Generate to draw one.
Recent numbers
Numbers from this visit show up here.
Each tap is a new pseudorandom draw via crypto.getRandomValues. Not atmospheric noise. How the draw works
About this page
This span has one thousand outcomes. A single draw is usually 'somewhere in the middle' only because the middle is wide, not because the generator prefers it. 1 and 1000 are each a tenth of a percent in the long run, and both are allowed. The preset is useful for estimation games: guess where a number will fall, then generate and score the guess. It is a clumsy way to pick a person unless you truly have a thousand numbered entries. For a class roster, use the wheel. The same rejection-sampling mapper used on smaller ranges applies here. You may raise the count to draw a handful of values. You may not ask for a quadrillion-wide span. The main generator will refuse that, and this preset does not need to.
Related
Questions
How large is the sample space?
1000 integers. If you generate one number, you are not 'more likely to land between 400 and 600' in the sense of a weighted die. That band is simply 201 of the 1000 faces, so it comes up more often than the single face 1000. Uniform digits still clump in wide bins. That is counting, not bias.
Should I expect to see 1000 soon?
No. One in a thousand means a short demonstration will usually miss the ceiling. Missing it is not evidence that the max is exclusive. If a lesson depends on seeing the endpoint, set a smaller maximum or generate many values and tally.
Is 0 included?
No. Change the minimum if you need 0 through 999, which is also a thousand outcomes with different labels. Say the labels out loud. 1–1000 and 0–999 are easy to mix up when someone is writing the result on a board.
How does this compare with 1–100?
It is the same kind of draw with a wider ceiling. Each 1–100 outcome is ten times as likely as each 1–1000 outcome, because the space is ten times smaller. Do not compare a roll of 40 on this page with a roll of 40 on the 1–100 page as if they were the same event.
Can a class use it for estimation?
Yes. Have students guess a bin, such as 1–200 or 201–400, then generate. Score the bin, not a story about hot streaks. Keep the stakes academic. The tool is a random integer, not a prize wheel with a sponsor.
What if I type a huge range on the main generator?
Spans wider than 2^32 values are rejected. That limit keeps the mapper honest. A classroom does not need a range that large. If you do, you need a different design than one uint32 draw, and this site does not pretend to offer it.
How should an estimation game be scored?
Agree on bins before you generate. A guess of 'the 300s' hits 300 through 399, which you should define so 300 is not an argument. One draw scores one bin. Do not generate three times and keep the closest. That changes the probabilities and teaches the wrong habit. A wider bin is easier and should be worth less if you are keeping points. The generator does not know your scoring. It only knows 1 through 1000.