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 Lanceur de Dés Virtuel (JDR & D&D)

Lancez des dés polyédriques virtuels pour vos jeux de rôle sur table et jeux de société avec une impartialité cryptographique garantie. Prend en charge les dés standard de D&D (d4 à d100), l'avantage, le désavantage et l'historique.

Comment utiliser

  1. Sélectionnez le type de dé : d4, d6, d8, d10, d12, d20 ou d100.
  2. Choisissez le nombre de dés à lancer (ex. 1d20, 3d6, 8d6 boule de feu).
  3. Ajoutez un modificateur fixe (+3, -2) ou activez "Avantage" / "Désavantage".
  4. Cliquez sur "Lancer les dés" pour voir les tirages individuels et le total cumulé.
  5. Consultez le journal des lancers pour vérifier les résultats précédents.

Formule de Distribution Cryptographique du Tirage

Résultat = ⌊(EntropieCrypto / 2³²) × Faces⌋ + 1 | Avantage = max(Dé₁, Dé₂) | Total = Σ(Dés) + Modificateur

Pour éviter les biais de modulo des fonctions pseudo-aléatoires basiques, les valeurs sont échantillonnées depuis des entiers 32 bits non signés issus de l'API Web Crypto du navigateur.

Exemple

Exemple 1 : Jet d'Attaque D&D 5e avec Avantage et Modificateur +5

Simulation standard d'un test d'attaque sous le système Donjons & Dragons 5e.

Formule
2d20 (garde le meilleur) + 5
Tirages
Dé 1 = 18, Dé 2 = 7
Application avantage
18 conservé
Total de l'attaque
18 + 5 = 23 (Touche !)

Cas d'utilisation réels

  • Jeux de Rôle sur Table (D&D, Pathfinder, Cthulhu): Jets d'initiative, attaques, jets de sauvegarde et calcul de dégâts.
  • Jeux de Plateau Classiques: Remplacement de dés égarés pour Monopoly, Catan, Risk ou Yahtzee.
  • Enseignement des Probabilités: Illustration du théorème central limite et de la distribution des sommes de dés.
  • Dés Personnalisés: Lancer de dés rares introuvables dans le commerce (d14, d30).

Notes importantes et limites

  • L'historique des tirages est stocké en mémoire vive locale et s'efface à l'actualisation de la page.
  • La limite est fixée à 100 dés simultanés pour préserver la fluidité de l'interface.

Questions fréquentes

Les dés virtuels sont-ils aussi fiables que les vrais dés ?

Oui, et souvent plus fiables. Les dés physiques comportent régulièrement des microbulles internes créant des déséquilibres. L'algorithme cryptographique de Layerlee assure une équiprobabilité parfaite.

Comment fonctionnent l'Avantage et le Désavantage ?

Avec Avantage, vous lancez deux d20 et conservez le résultat le plus élevé. Avec Désavantage, vous conservez le résultat le plus faible.

Puis-je lancer des dés personnalisés ?

Oui. Vous pouvez inscrire des formules comme 3d14 ou 2d24 directement dans le champ prévu à cet effet.

Une connexion internet est-elle nécessaire ?

Non. Tous les tirages s'exécutent localement et hors ligne dans votre navigateur.

Outils associés