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.
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.
| Die | Sides | Shape | Range | Common Use in D&D / RPG |
|---|---|---|---|---|
| d4 | 4 | Tetrahedron | 1–4 | Dagger damage, Magic Missile, Healing Word, Bard hit die |
| d6 | 6 | Cube | 1–6 | Shortsword, Sneak Attack, Fireball (8d6), most board games |
| d8 | 8 | Octahedron | 1–8 | Longsword damage, Warlock hit die, Cure Wounds |
| d10 | 10 | Decahedron | 1–10 | Ranger/Paladin hit die, paired with d% for percentile rolls |
| d12 | 12 | Dodecahedron | 1–12 | Greataxe damage, Barbarian hit die |
| d20 | 20 | Icosahedron | 1–20 | All D&D attacks, saving throws, skill checks — the heart of the game |
| d100 | 100 | Zocchihedron | 1–100 | Percentile 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:
- 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.
- 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. - Add a modifier — Use the Modifier spinner to add a flat bonus or penalty (e.g. +4 for a STR modifier in D&D).
- Choose Roll Mode — Normal for standard rolls; ADV ↑ for D&D Advantage (roll 2d20, keep highest); DIS ↓ for Disadvantage (roll 2d20, keep lowest).
- 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.
- Copy or share — Click Copy Result to copy the full breakdown (formula + roll + total) to your clipboard for Discord, Roll20, or Foundry VTT chat.
- 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 modifier4d6Roll four d6s (D&D ability score generation)1d20Roll one d20 (D&D attack / ability check)8d6Fireball spell damage in D&D 5e1d100Percentile roll (Wild Magic, Call of Cthulhu)1d12+4Greataxe damage with +4 STR modifier3d8-1Three d8s minus 1 (Cure Wounds at 2nd level)1d4+1Magic Missile dart damage1d3Custom 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 Lanciadadi Virtuale per Giochi di Ruolo (D&D 5e)
Lancia dadi poliedrici virtuali per giochi di ruolo da tavolo e board game con assoluta equità crittografica. Supporta il set completo di dadi di D&D (da d4 a d100), meccaniche di Vantaggio e Svantaggio, modificatori e cronologia dei tiri.
Come usare
- Seleziona il tipo di dado cliccando sul pulsante: d4, d6, d8, d10, d12, d20 o d100.
- Scegli il numero di dadi da lanciare (es. 1d20, 3d6, 8d6 palla di fuoco).
- Aggiungi modificatori numerici (+3, -2) o attiva l'opzione "Vantaggio" / "Svantaggio".
- Fai clic su "Lancia Dadi" per visualizzare i risultati dei singoli dadi e la somma totale.
- Consulta il registro dello storico per esaminare i tiri precedenti.
Formula di Distribuzione Crittografica del Lancio dei Dadi
Risultato = ⌊(EntropiaCrypto / 2³²) × Facce⌋ + 1 | Vantaggio = max(Dado₁, Dado₂) | Totale = Σ(Dadi) + ModificatorePer scongiurare le anomalie statistiche dei comuni generatori pseudocasuali, i valori vengono ricavati da numeri interi a 32 bit uniformi generati dall'API Web Crypto del sistema operativo.
Esempio
Esempio 1: Tiro per Colpire D&D 5e con Vantaggio e Modificatore +5
Simulazione classica di un tiro per colpire secondo le regole di D&D 5ª Edizione.
- Formula
- 2d20 (tieni il più alto) + 5
- Tiri singoli
- Dado 1 = 18, Dado 2 = 7
- Risoluzione vantaggio
- 18 selezionato
- Attacco totale
- 18 + 5 = 23 (Colpito!)
Casi d'uso reali
- Giochi di Ruolo da Tavolo (D&D, Pathfinder, Cthulhu): Tiri per colpire, prove di abilità, tiri salvezza e calcolo dei danni.
- Giochi di Società Classici: Sostituto immediato quando mancano i dadi per Risiko, Monopoli o Yahtzee.
- Didattica della Probabilità: Dimostrazione pratica del teorema del limite centrale con somme di dadi.
- Dadi Personalizzati: Simulazione di dadi rari non standard come d14 o d30.
Note importanti e limitazioni
- Lo storico dei lanci è conservato nella memoria temporanea del browser e viene azzerato ricaricando la pagina.
- Il limite per singolo lancio è fissato a 100 dadi per garantire la massima reattività grafica.
Domande frequenti
I dadi virtuali sono equi quanto quelli fisici?
Sì, e spesso sono anche più equilibrati. I dadi fisici contengono sovente microbolle interne che ne alterano il baricentro. Il generatore crittografico di Layerlee garantisce un'equiprobabilità perfetta.
Come funzionano Vantaggio e Svantaggio in D&D?
Con Vantaggio si lanciano due d20 e si tiene il risultato più alto. Con Svantaggio si lanciano due d20 e si tiene il risultato più basso.
Posso lanciare dadi personalizzati con numero di facce insolito?
Sì. Puoi digitare formule come 3d14 o 2d24 direttamente nella casella della formula personalizzata.
È necessaria una connessione internet per lanciare i dadi?
No. Tutti i tiri e le animazioni avvengono al 100% in locale nel tuo browser.