Roll a D20

Press the button to roll a d20. Raise “How many numbers” to roll several at once.

Free · Runs in your browser · Your text is never uploaded

Dice and a number range producing a random number

Rolling a d20

Each result is a whole number from 1 to 20, and every number is equally likely. The d20 drives attack rolls and checks in Dungeons & Dragons and similar games.

Why it is fair

The numbers come from your browser’s cryptographic random generator, not a predictable formula, so there are no streaks that favor a side.

Odds and averages

Each face of a d20 has a 1 in 20 chance (5.0 percent). The average result is 10.5.

When people use it

The d20 decides attacks, saving throws and skill checks in Dungeons & Dragons and many similar games. A 20 is usually a critical success and a 1 a critical failure.

Is it really random?

Each roll uses your browser’s cryptographic random generator and every roll is independent, so previous results never influence the next. Physical dice can carry tiny manufacturing biases; this one cannot. Learn more in our guide to dice probability.

Need more options? Open the full Random Number Generator.

Related guides

Frequently asked questions

What numbers can a d20 roll?

Any whole number from 1 to 20.

Can I roll more than one die?

Yes. Increase “How many numbers” to roll several dice in one go.

Can I change the number of sides?

Yes. Change the maximum to any number, such as 4, 8, 12 or 100.