Online Dice Roller

Roll D4, D6, D8, D10, D12, D20, or D100 in stunning real-time 3D. Cryptographically fair, D&D 5e ready, no ads, no login.

✓ Real 3D Rendering✓ Cryptographically Fair✓ No Ads✓ Works Offline✓ D&D 5e Ready
🎲
Choose a die and hit ROLL
3D dice · Cryptographic RNG · D&D ready
Choose Die Type
Roll Mode
RPG Presets
Roll History
No rolls yet

Polyhedral Dice Guide — Which Die Do You Need?

Every die in the standard polyhedral set serves a specific purpose in tabletop RPGs and board games.

DieSidesShapeRangeCommon Use in D&D / RPG
d44Tetrahedron1–4Dagger damage, Magic Missile, Healing Word, Bard hit die
d66Cube1–6Shortsword, Sneak Attack, Fireball (8d6), most board games
d88Octahedron1–8Longsword damage, Warlock hit die, Cure Wounds
d1010Decahedron1–10Ranger/Paladin hit die, paired with d% for percentile rolls
d1212Dodecahedron1–12Greataxe damage, Barbarian hit die
d2020Icosahedron1–20All D&D attacks, saving throws, skill checks — the heart of the game
d100100Zocchihedron1–100Percentile tables, Wild Magic Surge, Call of Cthulhu skills

D&D 5e Quick Reference

⚔️

Attack Roll

Roll 1d20 + Attack Bonus. Beat target's AC. Natural 20 = Critical Hit (double dice).

🛡️

Saving Throw

Roll 1d20 + Save Modifier. Nat 1 always fails, Nat 20 always succeeds.

🧠

Ability Check

Roll 1d20 + Ability Mod + Proficiency (if proficient). Beat the DM's DC.

💀

Death Save

At 0 HP roll 1d20 each turn. 10+ = success. 3 successes = stable. 3 fails = death.

🔼

Advantage

Roll 2d20, keep the higher result. Use ADV mode to simulate instantly.

🔽

Disadvantage

Roll 2d20, keep the lower result. Applies when hindered or exhausted.

How to Roll Dice Online — Step by Step

This free online dice roller works in any browser with zero setup. Here's exactly how to use every feature:

  1. Pick a die type — Click any die button (d4, d6, d8, d10, d12, d20, d100) in the die rack. The 3D viewport updates to show the selected die shape.
  2. Set a formula — Type a standard dice notation formula in the Formula field: 2d6, 4d8+5, 1d20-2. You can mix any number of dice with any modifier.
  3. Add a modifier — Use the Modifier spinner to add a flat bonus or penalty (e.g. +4 for a STR modifier in D&D).
  4. Choose Roll Mode — Normal for standard rolls; ADV ↑ for D&D Advantage (roll 2d20, keep highest); DIS ↓ for Disadvantage (roll 2d20, keep lowest).
  5. Hit ROLL or press Space — The die tumbles in 3D, lands on a random face, and displays the total. Critical hits (natural 20) glow gold; critical fails (natural 1) glow red.
  6. Copy or share — Click Copy Result to copy the full breakdown (formula + roll + total) to your clipboard for Discord, Roll20, or Foundry VTT chat.
  7. Review history & stats — Every roll is logged below the viewport. Stats track your total rolls, highest, lowest, and running average for the session.

Dice Notation Cheat Sheet (NdN Format)

All dice formulas use standard dice notation: [number]d[sides][+/-modifier]. Examples:

1d6Roll one 6-sided die (classic board game die)
2d6Roll two d6s, add results (e.g., Greatsword, Catan)
2d6+3Two d6s plus a flat +3 modifier
4d6Roll four d6s (D&D ability score generation)
1d20Roll one d20 (D&D attack / ability check)
8d6Fireball spell damage in D&D 5e
1d100Percentile roll (Wild Magic, Call of Cthulhu)
1d12+4Greataxe damage with +4 STR modifier
3d8-1Three d8s minus 1 (Cure Wounds at 2nd level)
1d4+1Magic Missile dart damage
1d3Custom d3 (random 1–3, used in some systems)
2d10Percentile alternative or Hunter's Mark (Ranger)

Online Dice Roller for Every Game

Whether you need a virtual dice roller for a quick board game, a full polyhedral set for tabletop RPG, or a fair random number generator, Layerlee has you covered — no download, no app, completely free.

🐉

D&D 5e Dice Roller

Roll d4 through d100, use Advantage/Disadvantage mode, track Critical Hits (Nat 20) and Critical Fails (Nat 1). Supports all standard 5e formulas.

🎲

Board Game Dice Roller

Replace physical dice for Monopoly, Catan, Risk, Yahtzee, and more. Roll 2d6, 1d6, or any combination. Works offline after first load.

📚

Pathfinder & Other RPGs

Compatible with Pathfinder 2e, Call of Cthulhu (1d100), Shadowrun (pools of d6), Vampire: The Masquerade, and any system using polyhedral dice.

🏫

Classroom & Teaching

Teachers use virtual dice for math lessons, probability demonstrations, random student selection, and interactive classroom activities. No physical dice needed.

💻

Roll20 & Foundry VTT

Use as a supplementary roller for Roll20, Foundry VTT, or Fantasy Grounds sessions. Copy the result directly to your VTT chat with one click.

🎯

Random Number Generator

Need a fair random number between 1 and any value? Type 1dN (e.g., 1d50) for a cryptographically unbiased result — no modulo bias.

Frequently Asked Questions about Online Dice Rolling

What is an online dice roller?

An online dice roller is a browser-based virtual dice rolling tool that simulates the outcome of rolling physical dice using a random number algorithm. Instead of buying physical dice sets, you can roll any standard polyhedral die — d4, d6, d8, d10, d12, d20, or d100 — instantly in your browser on desktop or mobile. This tool uses the Web Crypto API for cryptographically secure results.

How do I roll a d6 online?

Click the d6 button in the die rack, then press the ROLL DICE button or hit Space. The 3D die tumbles and lands on a random face between 1 and 6. You can roll multiple d6s by typing 2d6, 3d6, or any number in the formula field.

How do I roll a d20 online for D&D?

Select the d20 button (labeled "D&D Core") and press Roll. For D&D 5e Advantage, click ADV ↑ to automatically roll 2d20 and keep the highest. For Disadvantage, click DIS ↓. A Natural 20 triggers a glowing Critical Hit display; a Natural 1 triggers a Critical Fail display.

How do I roll multiple dice at once?

Type a formula in the Formula field using standard dice notation: 2d6 (two six-sided dice), 4d8 (four eight-sided dice), 3d6+5 (three d6 plus 5). Hit Roll — the tool resolves each die individually and shows the sum plus a full breakdown.

Is this dice roller truly random?

Yes. This online dice roller uses crypto.getRandomValues() from the Web Crypto API, which draws entropy from your operating system's random number generator. It also uses rejection sampling to eliminate modulo bias, ensuring every face of every die has an exactly equal probability of appearing.

Can I use this dice roller on my phone?

Yes. The virtual dice roller is fully responsive and tested on iPhone (Safari), Android (Chrome), and tablets. Tap any die button and then tap Roll — the 3D animation runs smoothly on modern mobile browsers.

What dice do I need for D&D?

A standard D&D polyhedral dice set includes: d4 (tetrahedron), d6 (cube), d8 (octahedron), d10 (decahedron), d12 (dodecahedron), d20 (icosahedron), and d100 (percentile — two d10s). This virtual dice roller includes all seven. You can also roll non-standard dice like a d3, d7, or d30 using custom formulas.

What is the difference between d10 and d100?

A d10 rolls 1–10. A d100 (also called d% or percentile) rolls 1–100. In physical play, a d100 roll uses two d10 dice (one for tens, one for units). This online roller handles it automatically — just click d% and press Roll.

What is a virtual dice roller used for besides D&D?

Virtual dice rollers are used for: board games (Monopoly, Catan, Yahtzee), other tabletop RPGs (Pathfinder, Call of Cthulhu, Shadowrun, Blades in the Dark), math classrooms, probability experiments, decision-making (random choice), game design testing, and as a fair random number generator for any value from 1 to 1000.

Does the dice roller work offline?

After the first load, the dice roller's core functionality (RNG, result display, history, stats) works fully offline. The 3D rendering uses Three.js loaded via CDN — if you've visited before and it's cached, 3D works offline too. The tool never sends your roll data to any server.

About Virtual Tabletop Dice Roller (D&D 5e RPG)

Roll polyhedral tabletop dice with cryptographically fair randomness. Features complete D&D 5e dice presets (d4 through d100), Advantage and Disadvantage mechanics, flat modifiers, and roll history breakdown.

How to use

  1. Select your die type by clicking any polyhedral button: d4, d6, d8, d10, d12, d20, or d100.
  2. Choose the quantity of dice to roll (e.g. 1d20, 3d6, 8d6 fireball).
  3. Add flat modifiers (+3, -2) or toggle "Advantage" / "Disadvantage" for tabletop RPG rules.
  4. Click "Roll Dice" to see animated rolling results, individual die values, and the final grand total.
  5. Inspect the Roll History log to review past rolls and verify probability distributions.

Cryptographic Die Roll Distribution Formula

Die Roll = ⌊(CryptoEntropy / 2³²) × Sides⌋ + 1 | Advantage = max(Roll₁, Roll₂) | Total = Σ(Rolls) + Modifier

Fair die rolling maps uniform 32-bit unsigned integers from window.crypto.getRandomValues() onto discrete face ranges [1, Sides]. This eliminates the modulo bias and pseudo-random seed correlations inherent in legacy JavaScript random algorithms.

Example

Example 1: D&D 5e Greatsword Attack with Advantage and +5 Strength

Executing an advantage attack roll in standard 5th Edition tabletop gaming.

Dice formula
2d20 (keep highest) + 5
Roll values
Die 1 = 18, Die 2 = 7
Advantage resolution
Kept 18
Total attack roll
18 + 5 = 23 (Hit!)

Real-world use cases

  • Dungeons & Dragons (D&D 5e & Pathfinder): Roll skill checks, saving throws, initiative, and spell damage dice.
  • Classic Board Games: Virtual dice substitute for Monopoly, Catan, Risk, and Yahtzee when physical dice are missing.
  • Probability & Statistics Teaching: Demonstrate law of large numbers and central limit theorem using repeated multiple-dice sums.
  • Custom Tabletop RPGs: Execute custom dice pools like 4d14 or exploding dice formulas.

Important notes & limitations

  • Roll histories are stored in volatile browser memory and reset upon page reload unless pinned.
  • Simultaneous batches are capped at 100 dice per roll to prevent browser canvas rendering lag.

Frequently asked questions

Are online dice rolls as fair as physical dice?

Yes, and often fairer. Physical dice frequently exhibit manufacturing weight imperfections. Layerlee uses cryptographic OS entropy, ensuring mathematically uniform probability distribution.

How does Advantage and Disadvantage work in D&D?

Rolling with Advantage rolls two d20 dice and selects the higher number. Rolling with Disadvantage rolls two d20s and keeps the lower number.

Can I roll custom non-standard dice (like d7 or d30)?

Yes. You can enter arbitrary custom dice formulas (e.g. 3d14+4) into the formula box to roll non-standard tabletop dice.

Is internet connection required to roll dice?

No. All random number generation and physics animations run 100% locally in your web browser.

Related tools