Free 100% In-Browser Tool

Dice Roller

Roll virtual polyhedral dice (d4 through d100) with honest cryptographic randomness and custom modifiers.

Initializing tool...

Privacy First: 100% Client-Side Processing

Processed in your browser. Files are never uploaded.

How to Use the Dice Roller – Roll Virtual D4 to D100 Dice

  1. 1Choose your number of dice (from 1 to 20).
  2. 2Select your die type: d4, d6, d8, d10, d12, d20, or d100.
  3. 3Optionally enter a positive or negative score modifier (e.g. +3 or -2).
  4. 4Click 'Roll' to generate unbiased cryptographic rolls and inspect individual die results.

Formula & How It Works

Cryptographic Pseudo-Random Roll Generation

Die Result = (CryptoUint32 % Sides) + 1 | Total = Sum(Rolls) + Modifier

Unlike Math.random() which can exhibit PRNG periodicity bias, our dice roller uses window.crypto.getRandomValues() to sample uniformly distributed entropy from hardware noise sources.

Worked Examples

Standard Monopoly Two-Die Roll

Input: 2d6, modifier 0

Explanation: Two six-sided dice roll 3 and 4, totaling 7 (the most statistically common 2d6 outcome).

Result: Rolls: [3, 4], Total: 7

D&D Attack Roll with Proficiency

Input: 1d20 + 5 modifier

Explanation: A d20 roll of 16 plus a +5 attack bonus yields a total score of 21.

Result: Roll: [16], Total: 21

D&D Fireball Damage Roll

Input: 8d6, modifier 0

Explanation: Sums eight individual six-sided dice to compute spell damage.

Result: Rolls: [4, 6, 2, 5, 3, 6, 1, 4], Total: 31

Percentage Die Check

Input: 1d100, modifier 0

Explanation: Generates an unbiased percentage roll between 1 and 100.

Result: Roll: [82], Total: 82

Frequently Asked Questions

Are the dice rolls truly random?▼

Yes, rolls are generated using window.crypto.getRandomValues(), the web standard for cryptographic security and unbiased random distribution.

Does the dice roller respect 'prefers-reduced-motion'?▼

Yes, users with reduced motion system settings experience instant results without disorienting rotational animations.

Can I add negative modifiers?▼

Yes, you can enter negative modifiers (such as -2 for exhaustion penalties in RPGs).

What polyhedral die types are available?▼

Standard tabletop polyhedral dice are available: d4, d6, d8, d10, d12, d20, and d100.

Can I copy my roll results?▼

Yes, click 'Copy Result' to copy the dice count, individual roll breakdown, and grand total to your clipboard.

Does this tool work completely offline in my browser?▼

Yes, all random generation runs locally in your web browser with zero server latency.

Last reviewed & updated: 2026-11-01
Free & Open Access
Related Utilities

Explore complementary calculators and converters with instant client-side execution

More in Generators

Explore Other Tool Categories

Browse our full collection of 50 free web utilities

View All 8 Categories