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 オンラインダイスローラー(TRPG・ボードゲーム対応)
TRPGやボードゲームのための高精度な仮想ダイスローラーです。D&Dやクトゥルフ神話TRPGで使われる標準的な多面体ダイス(d4〜d100)に対応。有利・不利の自動判定、修正値加算、出目ログ表示を備えています。
使い方
- 振りたいサイコロの種類(d4, d6, d8, d10, d12, d20, d100)をクリックします。
- 振る個数(例: 1d20, 3d6, 8d6など)を指定します。
- 固定の修正値(+3や-2など)を入力するか、「有利(Advantage)」/「不利(Disadvantage)」を設定します。
- 「ダイスを振る」をクリックして、各ダイスの個別出目と合計値を確認します。
- 「履歴ログ」で過去の出目を確認し、確率の推移を検証できます。
暗号学的乱数によるダイス出目確率分布モデル
出目 = ⌊(CryptoEntropy / 2³²) × 面数⌋ + 1 | 有利判定 = max(出目₁, 出目₂) | 合計 = Σ(出目) + 修正値一般的な疑似乱数(Math.random)のモジュロバイアスを排除するため、Web Crypto APIから得られる32ビット符号なし整数を等確率に各面へとマッピングします。
例
例1: D&D 5版の有利攻撃ロール(筋力修正値 +5)
テーブルトークRPGで頻出する「有利」判定の自動計算例です。
- ダイス式
- 2d20(高い方を採用) + 5
- 出目
- ダイス1 = 18, ダイス2 = 7
- 有利判定
- 18を採用
- 合計値
- 18 + 5 = 23 (命中成功)
実際の使用例
- TRPG(D&D、クトゥルフ神話、SW2.5など): 技能ロール、SAN値チェック、戦闘の命中判定やダメージ算出。
- ボードゲーム・パーティーゲーム: カタン、モノポリー、人生ゲームで実物のサイコロがない時の代替ツール。
- 確率論・統計の学習: サイコロを複数回振った時の出目の和が正規分布に近づく中心極限定理の実証。
- 特殊ダイスロール: d14やd30など実物が入手困難な特殊サイコロのシミュレーション。
重要な注意事項と制限
- 履歴ログはブラウザのメモリに一時保存され、ページを再読込するとリセットされます。
- 表示の快適性を維持するため、1度に振れるサイコロの上限は100個までとなっています。
よくある質問
オンラインのダイスは実物のサイコロと同じくらい公平ですか?
はい。実物のサイコロは内部の気泡や重心の偏りによって出目に偏りが生じることがありますが、当ツールの暗号論的乱数は数学的に完全な均等確率を保証します。
有利(Advantage)と不利(Disadvantage)とは?
D&Dなどで採用されているルールで、2個のd20を同時に振って有利なら「高い方の出目」、不利なら「低い方の出目」を採用する仕組みです。
変則的なサイコロ(d7やd14など)は振れますか?
はい。数式入力欄に「3d14+2」のように入力することで、任意の面数のダイスを自由にロールできます。
オフラインでも使えますか?
はい。すべての乱数生成と判定ロジックはブラウザ内で完結するため、ネット接続が途切れても問題なく動作します。