Random Number Between 1 and 20
Your online D20 — a fair roll every time
A random number between 1 and 20 is the classic D20 roll used in Dungeons & Dragons, Pathfinder and most modern tabletop RPGs. This page gives you a fair, uniform D20 roll in a single tap — no app install, no sign-up, and no slightly-worn-down physical dice favouring one side.
Great for
- D&D attack rolls, saving throws and skill checks
- Any RPG system that uses a d20 as its core mechanic
- Rolling with advantage or disadvantage (generate two rolls, take highest or lowest)
- Picking a random student, seat or task from a group of twenty
- Classroom probability lessons — 5% odds per outcome is a clean teaching example
Rolling with advantage
Set How many rolls? to 2, tap roll, and take the higher result for advantage or the lower for disadvantage. For a natural 20 critical, any roll of exactly 20 counts.
Other dice
Also try 1–6 (d6), 1–10 (d10), 1–100 (percentile), or the full animated Dice Roller for multiple dice at once.
Frequently Asked Questions
Is the D20 roll truly fair?
Yes. Each number from 1 to 20 has an equal 5% chance on every roll. Physical D20s can develop tiny biases from manufacturing tolerances — digital rolls don't.
Can I roll with advantage here?
Yes. Set "How many rolls?" to 2 and take the higher result for advantage or lower for disadvantage.
What counts as a natural 20?
Any result that shows exactly 20 before any bonuses are added. Natural 1s and natural 20s trigger critical failure and success rules in most systems.