Skip to main content
L
Loopaloo
Buy Us a Coffee
All ToolsImage ProcessingAudio ProcessingVideo ProcessingDocument & TextPDF ToolsCSV & Data AnalysisConverters & EncodersWeb ToolsMath & ScienceGames
Guides & BlogAboutContact
Buy Us a Coffee
L
Loopaloo

Free online tools for developers, designers, and content creators. Your files are processed in your browser and are never uploaded - no accounts required. A few network utilities (like What's My IP and Currency Converter) call public APIs to do their job and say so on their pages.

support@loopaloo.com

Tool Categories

  • Image Tools
  • Audio Tools
  • Video Tools
  • Document & Text
  • PDF Tools
  • CSV & Data
  • Converters
  • Web Tools
  • Math & Science
  • Games

Company

  • About Us
  • Contact
  • Blog
  • FAQ

Legal

  • Privacy Policy
  • Terms of Service
  • Disclaimer

Support

Buy Us a Coffee

© 2026 Loopaloo. All rights reserved. Built with privacy in mind.

Privacy|Terms|Disclaimer
  1. Home
  2. Games
  3. Dice Roller
Add to favorites

Dice Roller

Standard dice notation with keep, drop, advantage, exploding dice and re-rolls. Shows the exact probability before you roll, and a seed makes any roll reproducible from a shared link.

No account, nothing trackedMore gamesJump to full guide

Related reading

  • How Computers Generate Random Numbers (and When It Matters)10 min read
  • Dice Rolling and Randomness: A Guide for Games and Decisions11 min read

Initializing in your browser…

You might also like

2048 Game

Slide numbered tiles to combine and reach 2048! Features touch/swipe support, undo functionality, and score tracking

Tic-Tac-Toe

Classic tic-tac-toe game with AI opponent using minimax algorithm. Three difficulty levels: Easy, Medium, Hard

Snake Game

Classic snake game with three speed levels, pause/resume, mobile D-pad controls, and high score tracking

A sample round

You are attacking with advantage and want to know your real chance against armour class 16.

Input

2d20kh1+7 · target 16
What Dice Roller produces

Output

Both d20s shown, lower struck through, total 24; chance of 16+ reported before you roll

Advantage is just 2d20kh1: roll two, keep the higher, which lifts the average from 10.5 to 13.825. Because keeping the highest has no simple closed form, the odds are simulated over twenty thousand throws and the panel says so rather than presenting an estimate as an exact figure. Both dice stay on screen so the arithmetic is checkable.

About this game

Roll dice using standard notation: 2d6+3, 4d6kh3, 2d20kh1 for advantage, exploding dice and re-rolls. Kept and dropped dice are both shown, the exact probability of the roll is worked out before you throw, and a seed makes any roll reproducible from a shared link.

How to play

  1. 1Type the roll in standard notation, or tap a preset
  2. 2Check the normalised reading and the odds panel below it
  3. 3Set a target number to see your chance of hitting it
  4. 4Press Roll, or the space bar
  5. 5Add a seed and share the link if the roll needs to be verifiable

Tips & best practices

  • Type the notation rather than hunting for buttons: 4d6kh3 for a stat line, 2d20kh1 for advantage, 8d6 for a fireball. The tool echoes back how it read your input.
  • kh means keep highest and kl keep lowest. 4d6kh3 and 4d6dl1 are the same roll written two ways, and both are accepted.
  • Use the target field before you roll, not after. It tells you the real chance of hitting a number, which is usually more useful than the average.
  • Watch for the "estimated" note under the odds. Exact convolution is used where the maths allows; anything with keep, drop or exploding dice is simulated, and the panel is explicit about which.
  • Set a seed and share the link when the roll needs to be verifiable. Anyone who opens it gets exactly your sequence, which removes any argument about what you rolled.
  • The space bar rolls, so you can keep both hands free for a character sheet.

Why play it

  • Tabletop roleplaying

    Roll attacks, saves, damage and ability scores in the notation your rulebook already uses.

  • Playing without your dice

    A full dice set on any device, including the ones you never own enough of.

  • Checking the odds

    See the real chance of hitting a number before you commit to a plan, rather than guessing from the average.

  • Verifiable remote rolls

    Use a seed so a roll made in a play-by-post game or over chat can be checked by everyone.

  • Board games and teaching

    Replace lost dice, or show a class what a probability distribution actually looks like.

Controls and rules

  • Standard dice notation: NdS, modifiers, and several dice groups in one roll
  • Keep highest and lowest, drop highest and lowest (kh, kl, dh, dl)
  • Advantage and disadvantage as 2d20kh1 and 2d20kl1
  • Exploding dice (!) and re-roll thresholds (rN)
  • Dropped dice shown struck through, not silently removed
  • Exact probability distribution by convolution for plain dice sums
  • Simulated distribution for keep, drop and exploding rolls, clearly labelled
  • Chance-of-hitting readout for any target number
  • crypto.getRandomValues with rejection sampling, so no modulo bias
  • Seeded mode that reproduces a sequence from a shared link
  • History of the last forty rolls with a running average, copyable as text
  • Invalid notation explained before you roll, not after
  • Space bar rolls

Examples

  • Rolling ability scores

    Enter 4d6kh3 and roll six times. All four dice show each time with the lowest struck through, so the arithmetic is visible rather than assumed. The odds panel puts the average at about 12.24, which is why this method produces better characters than 3d6.

  • Attacking with advantage

    Enter 2d20kh1+7 and set the target to your opponent's armour class. Both d20s appear with the lower one struck through, and the chance readout tells you how much advantage is actually worth against that number.

  • A verifiable roll for play-by-post

    Set a seed such as the current date plus your character name, roll, and share the link. Anyone opening it sees the same rolls in the same order, so nobody has to take your word for it.

How it works

This reads standard dice notation, which is what anyone rolling for a game actually types. 2d6+3, 4d6kh3 for ability scores, 2d20kh1 for advantage and 2d20kl1 for disadvantage, 1d8+2d6-1 mixing several dice in one throw, d% for percentile, 3d6! for exploding dice, and 2d6r2+4 to re-roll ones and twos once. The previous version could only roll N dice of a single size with a flat modifier, so none of that was possible. What you type is echoed back in normalised form, and anything that cannot work is explained before you roll rather than after: asking to keep five of two dice says so, and the Roll button stays disabled.

Keep and drop are shown, not just applied. Roll 4d6kh3 and all four dice appear, with the discarded one struck through, so you can see the tool did what you asked. Exploding dice carry a marker and their whole chain in a tooltip, and re-rolled dice show what they were before. Maximum and minimum rolls are detected on the underlying faces, so an exploding die that happens to total twenty is not mistaken for a natural twenty.

Alongside the roll sits the probability of the roll you are about to make. For plain dice sums the distribution is computed exactly by convolving the dice, so 2d6 reports a mean of exactly 7 and a 1-in-6 chance of rolling one; nothing is estimated. Keep, drop, exploding and re-roll rules have no simple closed form, so those are simulated over twenty thousand throws, and the panel says which method it used rather than presenting an estimate as fact. A target field turns that into the number people actually want: the chance of hitting 15 with 1d20+5 reads 55 percent, because the die has to show 10 or more, which is 11 faces out of 20.

Randomness comes from crypto.getRandomValues with rejection sampling, so every face is equally likely with no modulo bias at any die size, verified by chi-square over sixty thousand rolls through the real code path. A seed field switches to a deterministic stream instead: enter a seed, share the link, and anyone opening it gets the identical sequence of rolls, which is how you settle a disagreement about a roll made online. History keeps the last forty rolls with the individual dice and a running average, and can be copied out as text.

Frequently asked questions

What notation is supported?

NdS with an optional count, plus and minus modifiers, and several groups in one expression, so 1d8+2d6-1 works. Then kh and kl to keep the highest or lowest N, dh and dl to drop them, ! for exploding dice, rN to re-roll anything at or below N once, and d% for percentile. Whatever you type is echoed back in normalised form so you can confirm it was read correctly.

How do I roll with advantage?

Enter 2d20kh1: roll two twenty-sided dice and keep the higher. Disadvantage is 2d20kl1. Both dice are shown with the discarded one struck through. Advantage raises the average from 10.5 to 13.825, which the odds panel shows.

Are the odds exact or estimated?

Both, depending on what you asked for, and the panel says which. Plain dice sums are convolved exactly, so 2d6 gives a mean of exactly 7 and a probability of exactly 6/36 for a total of seven. Keep, drop, exploding and re-roll rules have no simple closed form, so those are simulated over twenty thousand rolls and labelled as estimated.

Is the randomness fair?

Yes. Values come from crypto.getRandomValues, and are converted to a die face with rejection sampling, which discards the small unusable tail of the range rather than taking a remainder. That removes modulo bias exactly rather than approximately. Chi-square testing over sixty thousand rolls through the actual code path shows uniform face frequencies.

What is the seed for?

It switches from unpredictable randomness to a deterministic sequence. With a seed set, the link carries it, so anyone who opens that link and rolls gets exactly the same results in the same order. That makes a roll verifiable by other people, which matters for play-by-post games and any roll someone might dispute.

Why does 4d6kh3 show four dice when only three count?

So you can see the tool did what you asked. The discarded die is struck through rather than hidden, which makes the arithmetic checkable and matches what you would see rolling physical dice.

What does the exclamation mark do?

It makes dice explode: when a die shows its highest face, it is rolled again and added, repeatedly. An exploding d6 averages 4.2 rather than 3.5. The chain of values is kept, so hovering a die shows every roll it passed through.

Further reading

  • How Computers Generate Random Numbers (and When It Matters)10 min read
  • Dice Rolling and Randomness: A Guide for Games and Decisions11 min read

Private by design

The game runs entirely in your browser. No account is needed and no gameplay data is collected.