Roll dice or flip a coin

Roll dice or flip a coin in your browser, with nothing uploaded: one die or a hundred, 4 to 100 sides, or a toss for who bats first.

  • Nothing uploaded
  • 4 to 100 sides
  • Total added up
  • Free, no sign-up

Dice Roller and Coin Flip

Fill in the boxes to see the result.

Getting ready…

Quick facts from our tests

Check it yourself: once the page has loaded, turn off Wi-Fi and mobile data, and Dice Roller and Coin Flip still works. Your browser's network panel (F12 on a computer) lists every request the page makes: you'll see Google's ad requests, and none of them carries your rolls. Our code never gives your rolls to the ad code. How we prove it

How to roll dice or flip a coin

  1. Choose dice or a coin

    And how many.

  2. Roll

    Fair every time.

  3. See the total

    Added up for you.

When this tool isn't the right fit

  • You need a die with 7, 30 or another number of sides. Use Random Number Generator from 1 to that number: it is the same as such a die.
  • You need more than 100 dice at a time. Roll in several goes and add the totals, or draw numbers with Random Number Generator.

Why use PDFGuild's dice roller

More free tools

Private like this one: nothing you type or add leaves your device.

Dice Roller and Coin Flip: the complete guide

How fair the rolls are, which dice for which game, Ludo and Snakes and Ladders, a cricket toss, totals and their chances, and classroom experiments.

In this guide
  1. What it does
  2. How it works
  3. Real results
  4. Step by step
  5. Which dice for which game
  6. Ludo and Snakes and Ladders
  7. Waiting for a six
  8. Dice games from India
  9. Role-playing games
  10. Letting a die decide
  11. A coin toss for cricket
  12. Two dice: totals and chances
  13. What total to expect
  14. Two famous dice questions
  15. Are real coins fair?
  16. Experiments in class
  17. Many dice at once
  18. Fair, and what fair doesn't mean
  19. A worked example
  20. Privacy
  21. Problems and fixes
  22. Limits
  23. Other ways
  24. Terms explained

What Dice Roller and Coin Flip does, and when you need it

Dice Roller and Coin Flip rolls dice with 4, 6, 8, 10, 12, 20 or 100 sides, up to 100 of them at once with their total, or tosses a coin up to 100 times and counts the heads and tails. Every result comes from your device's secure random source, in your browser, with your rolls never sent anywhere and no sign-up.

People use it when:

  • A board game's dice are lost, mid-game of Ludo or Snakes and Ladders.
  • Two captains need a toss before a gully cricket match, and nobody has a coin.
  • A role-playing game calls for a d20, or several dice added together.
  • A teacher wants a class to see probability at work with hundreds of rolls.

For numbers in any range, Random Number Generator draws them; for names, Random Name Picker.

How it works

Each die is a number from 1 to its number of sides, drawn with crypto.getRandomValues, the browser's secure random source, with every face exactly as likely as the others: the page throws away the rare random values that would favour some faces, rather than letting them tilt the odds. Each die is rolled on its own, so one die's result has no effect on another's. A coin is a die with two faces, heads and tails.

With more than one die, the page shows each result and the total; with more than one coin, how many heads and how many tails.

Real results from our tests

We ran the page's own random code (web/js/gen-core.js) in Node.js, which has the same crypto.getRandomValues as browsers, on a Windows 11 laptop on 31 October 2026.

What we rolledWhat came outWhat it means
600,000 rolls of a six-sided dieEach face 99,769 to 100,199 timesWithin a fifth of a per cent of the 100,000 each that a fair die gives
The same, tested for evennessA chi-square of 1.08 on 5 degrees of freedomComfortably what fair dice give
1,000,000 coin tosses499,637 heads: 49.964%As close to half as a million fair tosses usually come
360,000 rolls of two diceA total of 7 59,919 times1 in 6, as the 6 ways of making 7 out of 36 predict

What the numbers mean: a fair die doesn't give exactly 100,000 of each face; it wobbles around that by a few hundred in 600,000 rolls, as ours did. A loaded one shows a face coming up more often every time you test it.

On a first visit the page downloads about 0.1 MB for the tool: the page, its styles, its scripts and the fonts, with Google's ad code not counted.

Step by step

  1. Choose Throw: Dice, or A coin.
  2. Choose How many, from 1 to 100.
  3. For dice, choose Sides on each die: 6 for a normal die, or 4, 8, 10, 12, 20 or 100.
  4. Press Roll. The results show in large figures, with the total for several dice, or the heads and tails for several coins. Press Roll again for the next turn.
The Dice Roller after rolling three normal dice: the three numbers they show and their total
Three dice rolled in the browser.

Which dice for which game

DieUsed for
6 sides (d6)Ludo, Snakes and Ladders, Monopoly and most board games; two for Monopoly
4, 8, 10, 12 sidesRole-playing games such as Dungeons and Dragons, for damage and effects
20 sides (d20)The main roll in Dungeons and Dragons and similar games
100 sides (d100)Percentage rolls: 1 to 100
A coinTosses, yes-or-no choices, who goes first

Role-playing games write dice as 3d6, three six-sided dice added together, or 1d20, one twenty-sided die: set How many and Sides to match, and read the total.

Ludo and Snakes and Ladders

Both need one ordinary die: How many 1, Sides 6. Put the phone or laptop where every player can see it, and let each player press Roll on their own turn. The game's own rules still apply: in Ludo, a 6 usually lets a piece out and gives another turn, and many families have their own house rules. The page simply rolls a fair die; it doesn't know whose turn it is. For two players sharing one phone, a quick press each turn is faster than hunting for a lost die under the sofa.

Waiting for a six

Everyone at a Ludo board knows the feeling: three players have pieces out and one is still waiting for a six. Each roll gives a six 1 time in 6, whatever came before, so the wait is pure chance, and it can be long:

Rolls so farChance of at least one six
116.7%
342.1%
559.8%
1083.8%
2097.4%

On average a six takes 6 rolls to arrive, yet about 1 player in 6 is still waiting after 10 rolls, and about 1 in 38 after 20. Nothing is wrong with the die when that happens; it is how a fair die behaves. That long wait is one reason so many families add house rules of their own, and the page leaves those to the players.

Dice games from India

Snakes and Ladders began in India as Moksha Patam, a game in which ladders stood for virtues and snakes for vices, long before it reached Britain and the rest of the world. Pachisi and its cousin Chaupar, the ancestors of Ludo, were played with cowrie shells instead of dice: the number of shells that landed with their opening upwards gave the move. A six-sided die does the same job for today's Ludo boards, and this page's die stands in when the board's own has rolled under a cupboard.

Role-playing games

  • A d20 check: How many 1, Sides 20, and add your bonus to the result.
  • Advantage or disadvantage: roll 2 dice of 20 sides and keep the higher or the lower.
  • Damage such as 2d8: How many 2, Sides 8, and read the total.
  • Ability scores, four dice keeping three: roll 4 dice of 6 sides and add the highest three.

The page shows every die, so dropping the lowest or keeping the highest is easy to do by eye.

Letting a die decide

Stuck between options? Number them and roll. Six restaurants, six chores or six films each get a face of a six-sided die; four options suit a d4, and twelve a d12. For any other number of choices, list them in Random Name Picker instead, and to split players into sides, use Random Team Generator. Agreeing beforehand to accept the roll is half the point: the die only settles it if nobody asks for best of three.

The same goes for who starts a board game: each player rolls one die and the highest goes first, and players who tie for the highest roll again between themselves until one wins.

A coin toss for cricket

A fair toss needs the call before the flip. With Throw set to A coin and How many 1:

  1. The visiting captain, or whoever the teams agree, calls heads or tails out loud.
  2. One press of Roll, with both captains watching the screen.
  3. The result decides it: the winner chooses to bat or bowl.

Pressing again after seeing the result is a re-toss, and both sides should agree to that first, just as with a real coin.

Two dice: totals and their chances

Two six-sided dice can land 36 ways, and the totals don't all have the same number of ways, so they aren't equally likely. 7 is the most common, 2 and 12 the rarest:

TotalWays out of 36Chance
2 or 121 eachAbout 2.8% each
3 or 112 eachAbout 5.6% each
4 or 103 eachAbout 8.3% each
5 or 94 eachAbout 11.1% each
6 or 85 eachAbout 13.9% each
76About 16.7%

Our 360,000 rolls gave 7 59,919 times, against the 60,000 that 6 in 36 predicts. The page draws each die on its own, so the totals come out with exactly these chances, as real dice would.

A double, both dice showing the same face, can also happen 6 ways out of 36: 1 roll in 6. In Monopoly, three doubles in a row send a player to jail, which happens about once in 216 turns.

What total to expect

The average of one die is halfway between its lowest and highest faces: 3.5 for a six-sided die, 10.5 for a d20. Add more dice and the averages add up too, but the totals bunch closer and closer around the middle:

RollAverageWhat to expect
1 die of 6 sides3.5Every face 1 time in 6
3 dice of 6 sides10.510 and 11 most often, 27 ways each out of 216; 18 only 1 way
2 dice of 20 sides, keep the higher13.8At least one 20 about 1 time in 10
2 dice of 20 sides, keep the lower7.2At least one 1 about 1 time in 10
4 dice of 6 sides, add the highest three12.2About 1.7 more than three dice alone
100 dice of 6 sides350Between 317 and 383 about 95 times in 100

So a total far from the middle is a real surprise: 100 dice add up to less than 300 only about once in 660 tries. Teachers can use this the other way round, too: roll 100 dice a few times, and each total lands near 350, however different the dice themselves look.

Two famous dice questions

Probability as a subject began with dice. In 1654, a French gambler asked why two bets that seemed alike paid off differently, and the mathematicians Blaise Pascal and Pierre de Fermat worked it out in their letters:

  • At least one six in four rolls of one die: the chance of no six is 5/6 four times over, about 48.2%, so at least one six comes up about 51.8% of the time. A small edge for whoever bets on the six.
  • At least one double six in 24 rolls of two dice: no double six is 35/36 twenty-four times over, about 50.9%, so a double six comes only about 49.1% of the time. The edge has turned the other way.

Both are easy to try here: roll 4 dice and look for a six, many times over, and keep a tally.

Are real coins fair?

Nearly. Researchers who filmed and counted real tosses found that a flipped coin lands the same way up as it started slightly more often than not, about 51 times in 100, because of how a thumb sets it spinning. A coin that is spun on a table, rather than flipped, can lean further towards one side. A screen coin has neither problem: heads and tails are exactly even, as our million tosses showed.

Experiments in class

Probability is easier to believe once seen. Three quick experiments with a projector:

  • Small and large numbers: toss 10 coins, then 100. Ten tosses often give 7 heads or 3; a hundred land much closer to 50. Write the results on the board and ask why.
  • No memory: after three sixes in a row, ask the class whether a six is now less likely. Roll again many times to show it isn't.
  • Totals: roll two dice 100 times, tally the totals, and compare the tally with the table above.
  • Real or made up: ask half the class to toss 100 coins on screen and the other half to write down 100 tosses from imagination, then mix up the lists. Made-up lists rarely have six heads or six tails in a row; real ones have such a run about 4 times in 5, so the longest run usually gives the made-up lists away.

Many dice at once

Set How many up to 100: each die's result shows, up to 20 in large figures, with the total in a note, and the full list can be copied or downloaded as a text file. That covers games that roll fistfuls of dice, quick sums for a class, and tallies for an experiment. For coins, the note counts heads and tails.

Fair, and what fair doesn't mean

Fair means every face has the same chance on every roll, and no roll affects the next. It doesn't mean results look even in the short run: four rolls without a six, or two heads in a row, happen all the time. A six that hasn't come up for a while isn't due. Real dice can be slightly uneven from wear or poor making; a screen die can't wear, which is one reason game nights and online classes use them.

Streaks are normal too, and longer than most people guess. In 100 rolls of one die, the same face three times in a row turns up somewhere about 91 times in 100, and four in a row about 32 times in 100. In 100 coin tosses, a run of five heads or five tails is almost certain, about 97 times in 100, and a run of six happens about 4 times in 5. We worked these out exactly, rather than by rolling, so they are what any fair die or coin gives.

A worked example: the Sunday match

Two teams meet for a Sunday match in a colony ground, and the coin has gone missing. One captain opens the page on a phone, chooses A coin, and holds it so the other captain can see. The visiting captain calls tails, the home captain presses Roll once, and Tails shows in large letters. The visitors choose to bat. Nobody argues about how the coin was caught or whether it was a fair spin, because both captains watched the same screen.

Private: rolled on your device

Every roll and toss happens inside your browser from your device's own secure random source; your rolls are never sent to us or kept, and once loaded the page works with the internet switched off. Google's ad code runs on the page too, but our code never gives it your results. How we prove it shows how anyone can check.

The Dice Roller after rolling three normal dice: the three numbers they show and their total, at a phone's size with the internet switched off by our test, between our test's bands that read "Internet switched off" and "Nothing uploaded: 0 requests sent data"
Proof from our testOn 9 November 2026, our test opened Dice Roller and Coin Flip at a phone's size, switched the internet off and ran it on its built-in sample. It finished with no connection, and none of the page's 16 requests sent any data.How we test, and how to check it yourself

Problems and fixes

The Sides list is gone
Throw is set to A coin, which has no sides to choose. Set it back to Dice.
The same number keeps coming up
Streaks happen with fair dice: in 100 rolls, three of the same face in a row turn up about 91 times in 100. Over many rolls the counts even out, as our test shows.
I need a die with 7 or 30 sides
Use Random Number Generator from 1 to 7 or 30: it is the same as a die with that many sides.

Limits

  • Dice of 4, 6, 8, 10, 12, 20 or 100 sides; others through Random Number Generator.
  • Up to 100 dice or coins at a time.
  • No game rules or turns: it rolls, and the players play.
  • No record of past rolls: copy or download them if you need them.

Other ways

Search engines show a quick dice roller and coin flip for "roll a die" or "flip a coin". Real dice and coins are best when everyone is at one table. This page adds dice of every common size, up to 100 at once with their total, coin counts for experiments, and results you can copy.

Terms explained

d6, d20
A die with 6 or 20 sides; 3d6 means three six-sided dice added together.
Fair die
One whose faces are all equally likely.
Independent
Not affected by earlier results: the die has no memory.
Chi-square test
A standard test of whether counts are as even as chance allows.
Average (expected value)
What a roll gives on average over many rolls: 3.5 for a six-sided die, though no single roll can be 3.5.
Streak or run
The same result several times in a row; common with fair dice and coins.

Frequently asked questions

Is this dice roller free?

Yes, with no sign-up and no limit. Ads from Google help pay for the site, and our code never gives them your results.

Are the rolls fair?

Yes. They come from the browser's secure random source with no bias. In our test of 600,000 rolls, each face came up 99,769 to 100,199 times.

Which dice can it roll?

Dice with 4, 6, 8, 10, 12, 20 or 100 sides, up to 100 at once.

Does it add up several dice?

Yes: with more than one die, a note gives the total.

Can I flip a coin?

Yes: choose A coin. With several coins, it counts the heads and tails.

Can I use it for Ludo?

Yes: one die with 6 sides, pressed by each player on their turn. The game's rules stay with the players.

Can I use it for a cricket toss?

Yes: have the call made first, then press Roll once with both captains watching.

Which total of two dice is most common?

7, which comes up 6 times in 36, about 16.7%. 2 and 12 are the rarest, 1 in 36 each.

Is a six due after a long wait?

No. Each roll is independent: the die has no memory.

Can I roll a die with 7 sides?

Use Random Number Generator from 1 to 7: it is the same thing.

How do I roll 3d6 or 2d8?

Set How many to 3 and Sides to 6, or 2 and 8, and read the total.

Is a real coin fair?

Nearly: real flipped coins land the way they started about 51 times in 100. The screen coin is exactly even.

Can my class use it for probability?

Yes: toss 10 coins, then 100, and see the share of heads settle near half.

Does it keep my past rolls?

No. Copy or download the results if you need them.

Are my rolls sent anywhere?

No. Every roll happens in your browser; your rolls are never sent or kept. How we prove it shows how to check.

By the PDFGuild team · Updated · How we test