Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Dice Roller

Roll virtual dice online — D4, D6, D8, D10, D12, D20, D100, or custom. Animated 3D dice, sound effects, and roll history.

What Is the Dice Roller?

The Dice Roller is a virtual tool that simulates rolling polyhedral dice commonly used in tabletop role-playing games, board games, and other activities that require random outcomes. It supports standard dice types — D4, D6, D8, D10, D12, D20, and D100 — as well as custom dice with any number of faces from 2 to 1,000.

Who Is It For?

Whether you're a tabletop RPG player who needs quick rolls during a session, a board game enthusiast without physical dice, or someone who simply needs a fair random number, this tool has you covered. It works entirely in your browser, so you can use it on any device without installing anything.

Key Highlights

Multiple Dice Types

Choose from D4, D6, D8, D10, D12, D20, D100, or define your own custom dice with 2–1,000 faces.

Realistic 3D Animation

D6 dice are rendered as animated 3D cubes with traditional pip faces for an authentic rolling experience.

Sound Effects

Optional rolling sounds create an immersive gaming atmosphere you can toggle on or off.

Roll History

Track every roll with comprehensive statistics including average, minimum, and maximum values.

Works Offline

All calculations happen locally in your browser with no server required — use it anywhere, anytime.

How to Use the Dice Roller

Basic Rolling

1

Pick a Dice Type

Click one of the preset buttons (D4, D6, D8, D10, D12, D20, D100) or type a custom number in the "D?" field to define your own dice.

2

Set the Quantity

Use the stepper buttons or type a number (1–100) to choose how many dice to roll at once.

3

Hit Roll

Click the Roll button or press Enter to roll your dice and watch the animation unfold.

4

Read the Result

The dice appear with animation, followed by the total and a detailed breakdown of each individual die.

Advantage and Disadvantage

When rolling a single die, two extra buttons appear next to the Roll button, implementing the popular RPG mechanic:

Adv (Advantage)

Rolls two dice and keeps the higher result. The lower die appears faded with a strikethrough to show it was discarded.

Dis (Disadvantage)

Rolls two dice and keeps the lower result. The higher die appears faded with a strikethrough to indicate it was not used.
RPG Mechanic: This mirrors the Advantage/Disadvantage system from tabletop RPGs like Dungeons & Dragons, giving you better odds (Advantage) or worse odds (Disadvantage) on important rolls.

Advanced Options

Click the Advanced button to reveal additional settings that give you more control over your rolls:

Modifier

Add or subtract a fixed number from the total. Toggle the sign between + and − as needed for bonuses or penalties.

Roll Duration

Control how long the rolling animation lasts, from 1 second up to 500 seconds for dramatic effect.

Auto Roll

Enable automatic rolling at a set interval. The interval is automatically adjusted to be longer than the roll duration.

Sound and History

Toggle the Sound switch to hear realistic dice rolling effects that enhance the gaming experience. Every roll is automatically recorded in the History section at the bottom, where you can view past results and summary statistics including total rolls, average value, minimum, and maximum. Use the Clear button to reset the history whenever needed.

Features

Supported Dice Types

The roller includes all standard polyhedral dice used in tabletop gaming, plus custom options:

Dice Type Shape Value Range Display Style
D4 Tetrahedron 1–4 Flat tile
D6 Cube 1–6 3D animated with pips
D8 Octahedron 1–8 Flat tile
D10 Pentagonal trapezohedron 1–10 Flat tile
D12 Dodecahedron 1–12 Flat tile
D20 Icosahedron 1–20 Flat tile
D100 Percentile 1–100 Flat tile
Custom Any 2–1,000 Flat tile

3D Dice and Tile Display

D6 dice are displayed as fully animated 3D cubes with traditional pip patterns on each face, providing a realistic rolling experience. All other dice types use a flat tile design that mimics the appearance of a die face, showing the rolled number clearly and ensuring optimal performance even with large quantities.

Visual Feedback: Critical rolls (maximum value) glow gold to celebrate your success, while fumbles (rolling a 1) glow red to mark the unfortunate outcome.

Tài/Xỉu Indicator

When rolling two or more D6 dice, a Big/Small indicator appears alongside the total, implementing a popular Vietnamese dice game concept:

  • BIG (Tài) — Sum is above the midpoint
  • SMALL (Xỉu) — Sum is below the midpoint
  • TRIPLE — All dice show the same value
  • TIE — Exact midpoint (neither Big nor Small)

Modifier System

Add a positive or negative modifier to shift the total result. Found in the Advanced panel, the modifier is clearly shown in the result breakdown (e.g., 3 + 5 + 2 (+1) = 11) so you always know exactly how the final total was calculated. This is perfect for adding ability bonuses, skill modifiers, or situational penalties in RPG sessions.

Auto Roll

Enable automatic rolling from the Advanced panel to have the dice roll at a regular interval without manual input. Set the delay between rolls from 1 to 60 seconds. The tool automatically ensures the interval is longer than the roll animation duration to prevent overlapping animations.

Use Case: Perfect for demonstrations, simulations, or when you need continuous random number generation for statistical analysis or testing.

Roll History and Statistics

Every roll is saved to a scrollable history log that persists across page reloads using local storage. Each entry shows the dice notation (e.g., 2d6+3), individual results, and total. Summary statistics at the top display:

Total Rolls

Number of times you've rolled

Average

Mean value across all rolls

Minimum

Lowest result recorded

Maximum

Highest result recorded

Settings Persistence

Your preferences are saved automatically and restored when you return. This includes:

  • Selected dice type and quantity
  • Modifier value and sign
  • Sound on/off preference
  • Advanced panel open/closed state
  • Roll duration setting
  • Auto-roll interval configuration
  • Complete roll history

All settings are stored locally in your browser, ensuring your experience is consistent across sessions without requiring an account or server connection.

Frequently Asked Questions

Are the dice rolls truly random?

Yes. The roller uses your browser's built-in cryptographic random number generator (Math.random() backed by the platform's entropy source), which produces results that are statistically random and unbiased. Each roll is independent and has an equal probability of landing on any valid face value.

What is the difference between D6 and other dice visually?

D6 dice are rendered as animated 3D cubes with traditional pip dots on each face, simulating a real six-sided die with realistic rolling physics. All other dice types (D4, D8, D10, D12, D20, D100, and custom) use a flat tile design that displays the number clearly, styled to look like a single face of a die. This approach balances visual appeal with performance, especially when rolling multiple dice.

What do Advantage and Disadvantage mean?

These are mechanics borrowed from tabletop RPGs like Dungeons & Dragons 5th Edition. Advantage rolls the die twice and keeps the higher result, giving you better odds of success. Disadvantage rolls twice and keeps the lower result, representing unfavorable conditions. These options appear automatically when rolling a single die, and the discarded die is shown faded with a strikethrough for transparency.

What is the Tài/Xỉu indicator?

Tài/Xỉu (Big/Small) is a popular Vietnamese dice game concept. When rolling two or more D6 dice, the tool automatically shows whether the total is above the midpoint (Big/Tài), below it (Small/Xỉu), or an exact tie. If all dice land on the same number, it displays "Triple," which is typically a special winning condition in traditional games.

How does the modifier work?

The modifier adds or subtracts a fixed value from the dice total. Open the Advanced panel, enter a number, and toggle the sign between + and − using the button. The modifier appears in parentheses in the result breakdown (e.g., 4 + 3 (+2) = 9), so it is easy to distinguish from the individual dice values. This is commonly used in RPGs to represent character bonuses, skill proficiencies, or situational modifiers.

Can I use this on my phone?

Absolutely. The tool is fully responsive and works seamlessly on phones, tablets, and desktops. The 3D dice animations, controls, and interface adapt automatically to smaller screens, ensuring a smooth experience regardless of device. Touch controls are fully supported for mobile users.

Is my data stored anywhere?

No data is sent to any server. All rolls, settings, and history are stored locally in your browser using localStorage. This means your information never leaves your device, ensuring complete privacy. Clearing your browser data will reset everything to default settings.

What is the maximum number of dice I can roll?

You can roll up to 100 dice at once. For D6 with more than 10 dice, the display automatically switches from 3D cubes to flat numbered tiles for better performance and readability. This ensures the tool remains fast and responsive even with large quantities of dice.

D
s
s
History
Select a dice type (D4–D100) or enter a custom number of faces
Adjust the quantity to roll multiple dice at once
Use Adv (Advantage) to roll twice and keep the higher result
Open Advanced to set a modifier, roll duration, or enable auto-roll
Toggle Sound for realistic rolling sound effects
D6 dice are rendered as 3D cubes with pips for a realistic experience
Check your roll history with stats like average, min, and max
All rolls happen in your browser — no data is sent to any server
Want to learn more? Read documentation →
1/9
Start typing to search...
Searching...
No results found
Try searching with different keywords