도구 가이드
재미 무료 회원가입 불필요

주사위 굴리기(RPG)

2d6+1d8+5와 같은 표준 표기법을 사용하여 다면체 RPG 주사위를 굴리세요.

도구를 불러오는 중…

이 도구에 대해

d4, d6, d8, d10, d12, d20, d100을 지원하는 완전한 기능의 탁상 RPG 주사위 굴리기 도구. '2d6+1d8+5' 또는 '1d20+1d4+3'과 같은 표기법을 입력하고, 유리하거나 불리한 조건을 선택하고, 개별 주사위 결과와 합계를 즉시 확인하세요. 진정한 무작위성을 위해 WebCrypto를 사용하고 마지막 10번의 굴리기 기록을 유지합니다.

사용 방법

  1. 1 1단계: 입력 필드에 주사위 표기법(예: '3d6+2' 또는 '1d20+1d4+3')을 입력하거나 빠른 굴리기 버튼을 사용하세요.
  2. 2 2단계: 선택적으로 단일 주사위 굴리기에 대해 유리(두 번 굴려 높은 것 선택) 또는 불리(낮은 것 선택) 조건을 선택하세요.
  3. 3 3단계: '굴리기'를 클릭하면 개별 주사위 면과 총합이 즉시 표시됩니다.
  4. 4 4단계: 결과 패널 아래에서 굴리기 기록을 검토하세요. 새 굴리기가 추가될수록 오래된 항목이 희미해집니다.

How dice notation works

Tabletop games describe rolls with a compact shorthand called dice notation, and this roller speaks it fluently. The core pattern is NdS: roll N dice that each have S sides. So 1d20 means one twenty-sided die, 3d6 means three six-sided dice summed together. You can chain groups and add a flat bonus with + or -, which is how a Dungeons & Dragons attack often looks: 2d6+1d8+5 rolls two d6s, one d8, and adds 5 to the total. The roller parses each segment independently, rolls every die, sums the kept values, applies the modifier, and shows you both the grand total and a per-group breakdown so you can verify the math.

The tool supports the seven standard polyhedral dice — d4, d6, d8, d10, d12, d20, and d100 — and renders each as its correct geometric shape (a triangle for the d4, a pentagon-ish trapezoid for the d10, a circle for the percentile d100) with the rolled number printed on its face.

True randomness, not Math.random

A dice roller is only fair if its randomness is genuinely unpredictable. This tool does not use JavaScript's ordinary Math.random(), which is fast but not designed to be unbiased or unguessable. Instead it draws from the browser's Web Crypto API via crypto.getRandomValues(), the same cryptographically secure source used for security tokens. Each die roll pulls a fresh 32-bit random integer and maps it onto the die's faces. The result is that every face has an essentially equal chance, and no sequence of past rolls lets anyone predict the next — which is exactly what you want when a critical hit is on the line.

Advantage, disadvantage, and "keep highest"

Modern RPGs add two twists this roller handles natively. Advantage rolls the die twice and keeps the higher result; disadvantage keeps the lower. Select the mode from the dropdown and it applies to your first die group — the display shows both numbers, with the discarded one greyed out, plus an annotation like (advantage: 17 vs 4).

Separately, the notation itself supports a "keep" suffix written NdSkX: roll N dice and keep the best X. The classic use is ability-score generation, 4d6k3 — roll four six-sided dice and keep the highest three, dropping the lowest. There's a quick-roll button for exactly this. The dropped die still appears in the result, dimmed, so you can see what was discarded.

A worked example

Enter 4d6k3 and roll. Suppose the four dice land on 5, 2, 6, and 4. The roller sorts them, keeps the top three (6, 5, 4), and drops the 2. The breakdown reads 4d6k3 = +15 and the total is 15 — a solid ability score. The discarded 2 shows greyed out among the dice. Now try a combat roll: type 2d6+1d8+5. If the d6s give 3 and 5, the d8 gives 6, the math is 3 + 5 + 6 + 5 = 19, and the breakdown shows each group's contribution separately so you can audit it instantly.

Common use cases

  • Lost or scattered physical dice. When your dice bag is at home or a die rolled under the couch, this is an instant replacement.
  • Online and remote play. Playing over voice or video chat, where everyone needs a trusted shared roller that no one can fudge.
  • Character creation. The 4d6k3 method for generating ability scores, repeated six times.
  • Complex damage rolls. A spell or weapon that combines several dice plus a modifier in one expression.
  • Board games and probability demos. Anywhere you need a quick, fair random number within a known range.

Tips and common mistakes

  • The keep suffix lowercases. Notation is case-insensitive and whitespace is stripped, so 2D6 + 5 and 2d6+5 are identical — but the keep marker must be a lowercase-style k followed by a number, as in 4d6k3.
  • Advantage hits the first group only. If you write a multi-group expression with advantage selected, the higher-of-two reroll applies to the first die in the first group, matching how the rule normally works for a single d20 attack.
  • Watch the breakdown, not just the total. The per-group line is there so you can confirm the roller did what you meant — a quick sanity check that catches a mistyped notation.
  • Use the quick buttons. One tap gives you a single d4 through d100, plus presets for "4d6 drop lowest" and "2d20 (adv)," which is faster than typing for common rolls.
  • History is short-lived. The last 10 rolls are listed for reference, but they live only in the current page session — refresh and they're gone, so jot down anything you need to keep.

자주 묻는 질문

{# Alpine.js — self-hosted. (The previous jsdelivr CDN tag had a stale SRI integrity hash, so the browser refused to run it and window.Alpine was never defined — silently breaking every FAQ accordion and Alpine tool.) #}