Random Number Generator 1 to 20
This random number generator 1 to 20 rolls a virtual twenty-sided die right in your browser. Press Generate for a single d20 roll, or draw a batch when the table calls for it. Every value from 1 to 20 carries the same 5 percent chance.
History this session
How to roll a virtual d20
- Press Generate for one roll. The result fills the screen, big enough for the whole table to read.
- For advantage or disadvantage rolls, switch to List of numbers, draw 2 with repeats allowed, and keep the higher or lower value.
- The session history records your recent rolls, so the table can check back without anyone memorizing.
Tabletop rolls and twenty-option picks
The twenty-sided die runs most tabletop role-playing games: attack rolls, saving throws, skill checks. A random number 1 to 20 roller covers the moments when the dice bag stays home, when you play over a video call, or when a die rolls off the table one too many times. Damage rolls that call for several d20s work in batch mode.
Outside gaming, a random number generator 1 to 20 picks from a classroom of twenty students, draws winners from twenty raffle tickets, or chooses among twenty playlist tracks. Twenty options is large enough to feel varied and small enough for everyone to check the fairness of the draw.
Twenty is also the classic size for icebreaker questions and get-to-know-you lists. Number twenty prompts, draw one per person, and the meeting starts without the awkward silence. Party hosts use the same trick with twenty dares or twenty trivia cards. For students, a twenty-value range is a comfortable middle ground for sampling experiments: large enough that results vary, small enough to tally on paper. Roll in batches of twenty with repeats on, and the counts per value will wander around four each, which is a neat way to see variance before anyone defines it.
Honest rolls, every session
Rolls come from the Web Crypto API, with rejection sampling that removes bias, so a natural 20 lands as often as a natural 1 over time. The tool makes no network calls while you roll, and your roll history stays on your device. Superstition dies hard at game tables, yet the math is plain: previous rolls change nothing. A natural 1 on the last roll neither raises nor lowers the chance of a 20 on the next, because each press is a fresh, independent draw from the same twenty equal shares.
Frequently Asked Questions
Can I roll with advantage or disadvantage?
Yes. Draw a batch of 2 with No repeats off, then take the higher value for advantage or the lower one for disadvantage.
Is this random number generator 1 to 20 fair for D&D?
Yes. Each face from 1 to 20 holds an exact 5 percent chance, which matches a perfectly balanced die. Many players find a big on-screen roll easier to read across a table than a die that lands on its edge.
Can I roll several d20s at once?
Yes. List mode rolls up to twenty at a time with repeats allowed, and single rolls are unlimited.
Does it work on a phone at the table?
Yes. The page is built for small screens, and once loaded it keeps rolling even if the venue Wi-Fi drops.