belun.app Blog

Dice Roller — Roll Virtual d4 to d20 Dice Online

Die type
Total:
Rolls
0
Sum of all dice
0
Average die
Highest
Lowest

Pick a die, choose how many to roll, and click Roll. The tool supports all six classic tabletop dice — d4, d6, d8, d10, d12, and d20 — and rolls them with your browser's cryptographic random generator, so every face is exactly equally likely. Totals, statistics, and a full roll history update as you go.

How it works

  1. 1
    Pick a die and count Click one of the die buttons (d4 to d20) and set how many dice to roll at once — from 1 to 100.
  2. 2
    Roll Click the Roll button. Each die lands on a random face and the total of all dice appears next to them.
  3. 3
    Track your rolls Every roll is added to the history with its individual values and total. The stats row shows the running sum, average, highest, and lowest die.

Your data stays private

All processing happens entirely in your browser. No files, text, or data are ever sent to our servers. You can disconnect from the internet and this tool will still work.

Frequently asked questions

Are the dice rolls really random?
Yes. Each die uses crypto.getRandomValues, the cryptographic random generator built into your browser, with rejection sampling to remove modulo bias. Every face has exactly the same probability — a d20 lands on 20 exactly as often as on 1.
Which dice can I roll?
The six standard polyhedral dice used in board games and tabletop RPGs: d4, d6, d8, d10, d12, and d20. You can roll up to 100 dice of the same type in a single click.
Can I use this for D&D and other tabletop RPGs?
Yes. Rolling a d20 for checks, 4d6 for ability scores, or 8d6 for a fireball works exactly like at the table — select the die, set the count, and read the individual values and the total.
Is anything sent to a server?
No. The randomness comes from your own browser and the roll history lives only on the page. Closing or reloading the tab clears everything.
Why did I roll the same number several times in a row?
Streaks are a normal property of fair randomness. In 20 rolls of a d6, at least one immediate repeat is far more likely than none. Each roll is independent, so a previous result never changes the odds of the next one.

From the blog

Virtual Dice: Fair Rolls, Probabilities, and the d20 How a browser rolls fair dice, what the probabilities of common tabletop rolls look like, and why streaks are normal. Read the post →

Related tools