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 & D&D)
TRPG 및 보드게임을 위한 공정하고 정밀한 가상 다면체 주사위 굴리기 도구입니다. D&D 및 크툴루의 부름 등에서 널리 쓰이는 표준 다면체 주사위(d4~d100), 유리함(Advantage)/불리함(Disadvantage) 판정, 보정치 합산 기능을 제공합니다.
사용 방법
- 원하는 주사위 형태(d4, d6, d8, d10, d12, d20, d100)를 클릭합니다.
- 굴릴 주사위 개수를 설정합니다(예: 1d20, 3d6, 8d6 파이어볼 등).
- 보정치(+3, -2)를 입력하거나 D&D 룰에 따른 "유리함" / "불리함"을 체크합니다.
- ‘주사위 굴리기’ 버튼을 클릭하여 개별 주사위 눈금과 최종 총합을 확인합니다.
- ‘주사위 기록’ 탭에서 이전 굴림 내역과 확률 분포를 검토합니다.
암호학적 주사위 확률 분포 공식
주사위 눈 = ⌊(암호학적엔트로피 / 2³²) × 면수⌋ + 1 | 유리함 판정 = max(주사위₁, 주사위₂) | 총합 = Σ(주사위) + 보정치일반적인 자바스크립트 Math.random()의 모듈로 편향을 배제하기 위해 운영체제 보안 커널의 Web Crypto API로부터 32비트 난수를 추출하여 완벽하게 균등한 확률을 구현합니다.
예시
예시 1: D&D 5판 대검 유리함 공격 굴림 (근력 보정치 +5)
TRPG 세션에서 가장 빈번하게 발생하는 유리함 공격 판정의 계산입니다.
- 주사위 수식
- 2d20 (높은 값 채택) + 5
- 주사위 눈금
- 1번 주사위 = 18, 2번 주사위 = 7
- 유리함 판정
- 18 채택
- 최종 공격력
- 18 + 5 = 23 (명중 성공!)
실제 사용 사례
- TRPG (D&D 5e, 크툴루의 부름, 던전월드): 스킬 체크, 내성 굴림, 이니셔티브(우선권), 주문 피해 주사위.
- 클래식 보드게임: 부루마블, 카탄, 모노폴리 플레이 시 실물 주사위 분실 시 대체재.
- 확률 및 통계 교육: 주사위 합산값의 정규분포 근사(중심극한정리) 실험 시연.
- 특수 다면체 주사위: 실물로 구하기 힘든 d14, d30 등 특수 주사위 굴리기.
중요 참고사항 및 제한
- 주사위 기록 로그는 브라우저 메모리에 일시 저장되며 페이지를 새로고침하면 초기화됩니다.
- 한 번에 최대 100개까지 굴릴 수 있도록 제한되어 있습니다.
자주 묻는 질문
가상 주사위는 실물 주사위만큼 공정한가요?
실물 플라스틱 주사위는 내부 기포나 무게중심 불균형으로 특정 숫자가 더 잘 나오는 경우가 잦습니다. 본 도구의 암호학적 난수는 수학적으로 완벽한 균등 확률을 보장하므로 실물 주사위보다 더 공정합니다.
유리함(Advantage)과 불리함(Disadvantage) 판정이란?
D&D 룰에서 채택하는 방식으로, 20면체 주사위(d20) 2개를 동시에 굴려 유리함일 때는 ‘더 높은 숫자’를, 불리함일 때는 ‘더 낮은 숫자’를 채택하는 규칙입니다.
원하는 비표준 주사위(예: d14)도 굴릴 수 있나요?
네. 수식 입력 상자에 "3d14+2" 형태로 입력하면 원하는 비표준 다면체 주사위도 자유롭게 굴릴 수 있습니다.
인터넷 연결이 끊겨도 작동하나요?
네. 모든 난수 생성과 연산 로직은 브라우저 내부에서 100% 로컬로 작동하므로 오프라인 환경에서도 완벽히 동작합니다.