Skip to content

Dice Roller

New
Utility Tools•Client-Side & Private

Roll any dice online with secure Web Crypto randomness: d4 to d100, custom sides, modifiers, keep-highest/lowest notation, totals and roll history.

Tool workspace

Rolls use Web Crypto (crypto.getRandomValues), never Math.random — fair, unpredictable dice.

How many dice to roll at once.

Added to the total after the dice are rolled.

Advantage-style rolls: 4d6kh3 keeps the best 3.

Type a notation to roll it directly — the controls above update to match. kh = keep highest, kl = keep lowest.

Minimum possible

1

Lowest total for 1d6

Average

3.50

Exact average over all outcomes

Maximum possible

6

Highest total for 1d6

Notation guide: 3d6 rolls three 6-sided dice; 3d6+2 adds 2 to the total; 4d6kh3 rolls four dice and keeps the highest 3; 2d20kl1 rolls two d20s and keeps the lowest 1. Dice are rolled with Web Crypto (crypto.getRandomValues) with rejection sampling, so every face has exactly the same chance — unlike Math.random, which is not cryptographically secure.

Loading tool controls…

Files processed locally — never uploaded to our servers
Free Instant Private

Verify it yourself: press F12, open the Network tab, and use this tool — your files are never uploaded.

Dice Roller at a glance

Price
Free
Account
Not required
File uploads
None — your files are never uploaded

Who uses Utility Tools?

Anyone handling everyday tasks — QR codes, passwords, timers, random picks and screen recording.

How to Use Dice Roller

Follow these simple steps to get instant results in your browser.

1

Pick your dice

Choose a standard die or custom sides, set how many dice to roll, and add a modifier from −100 to +100.

2

Add keep-highest or lowest

Use kh or kl to keep only some dice — 4d6kh3 rolls four dice and drops the lowest.

3

Roll and check the result

Each die is shown separately, dropped dice are struck through, and the total, range and history are listed below.

💡

What is Dice Roller & How Does It Work?

The Dice Roller rolls any dice from d4 to d100, plus any custom die from 2 to 1000 sides — 1 to 20 dice at once, with modifiers and keep-highest / keep-lowest notation such as 4d6kh3.

Rolls use the browser's Web Crypto API (crypto.getRandomValues) with rejection sampling, so every face has exactly the same chance and the results are unpredictable. The tool never uses Math.random.

Every roll shows the exact minimum, maximum and average for the notation. For keep-highest and keep-lowest rolls the average is computed by listing every outcome — up to 50,000 combinations — so very large rolls show a dash for the average while the minimum and maximum are still shown. Your last 20 rolls are kept in a history list.

⚡

Key Features & Capabilities

✓

Web Crypto Randomness

crypto.getRandomValues with rejection sampling — no modulo bias, never Math.random.

✓

7 Standard Dice + Custom Sides

d4, d6, d8, d10, d12, d20 and d100, or any custom die from 2 to 1000 sides.

✓

kh / kl Notation

Keep highest or lowest dice, with modifiers from −100 to +100 and 1–20 dice per roll.

✓

Exact Min, Max and Average

The average is the exact mean over every outcome, up to 50,000 combinations.

✓

20-Roll History

Your last 20 rolls are listed with their notation, dice and totals, and can be downloaded.

Pro Tips

  • •Bookmark this tool for instant one-click access anytime.
  • •Drag and drop files directly onto the input surface for fastest handling.
  • •All processing happens in your browser session for maximum speed and data safety.

🎯 Common Use Cases

Rolling Ability ScoresRoll 4d6kh3 for a character's ability score — the classic drop-lowest method, averaging 12.24.
Advantage and Disadvantage RollsRoll 2d20kh1 for advantage or 2d20kl1 for disadvantage in tabletop games.
Board Game NightsReplace a lost die with a fair digital roll — d6, d10, d20 or any custom die up to 1,000 sides.
Checking the Odds FirstRead the minimum, maximum and exact average before you roll, so you know what a notation can produce.
📐

Dice Roll — Total with Modifier

Formula Equation:
Total = sum of kept dice + modifier

Roll the stated number of dice, keep only the highest or lowest few if kh or kl is given, add them up, then add the modifier. The minimum is the number of kept dice plus the modifier; the maximum is kept dice × sides plus the modifier.

✏️

Worked Example

  1. 14d6kh3, dice [6, 4, 5, 2]
  2. 2Kept: 6, 5, 4 (dropped 2)
  3. 3Total = 6 + 5 + 4 = 15
  4. 4Minimum 3, maximum 18, exact average 12.24
📚

Sources & Further Reading

Frequently Asked Questions about Dice Roller

Frequently asked questions

Write the number of dice, then d, then the number of sides: 3d6 rolls three 6-sided dice. Add +2 or -1 to add a modifier to the total. Add kh3 to keep only the highest 3 dice, or kl1 to keep only the lowest 1 — so 4d6kh3 rolls four dice and drops the lowest, and 2d20kl1 is a disadvantage-style roll.

Yes. Rolls use the browser's Web Crypto API (crypto.getRandomValues) with rejection sampling, so every face has exactly the same chance and the results are unpredictable. The tool never uses Math.random, which is a pseudo-random generator and is not suitable for fair dice.

The minimum is the lowest total the notation can produce and the maximum is the highest — for 3d6+2 that is 5 to 20. The average is the exact mean over every possible outcome: 12.5 for 3d6+2, and 12.24 for 4d6kh3. A single roll is still pure chance; the average only shows up over many rolls.

The standard dice d4, d6, d8, d10, d12, d20 and d100, plus any custom die from 2 to 1000 sides. You can roll 1 to 20 dice at once, add a modifier from −100 to +100, either in the Modifier box or in the notation — for example 1d6+50 — and keep only the highest or lowest dice. Your last 20 rolls are kept in a history list on the page.

For keep-highest and keep-lowest rolls the average is exact only when every outcome can be listed — up to 50,000 combinations. 4d6kh3 has 6⁴ = 1,296 outcomes, so its average is exact (12.24). A roll like 10d20kh5 has far more than 50,000 outcomes, so the average shows a dash while the minimum and maximum are still shown.

No. The shuffling faces you see for 600 ms are only an animation. The final result is drawn fresh with crypto.getRandomValues after the animation ends, so the faces shown mid-roll never decide the outcome.

Complementary utilities for your workflow

View all →
You are here

Dice Roller

Roll d4–d100 dice with secure randomness, notation, totals and history.

Current tool
Popular

Coin Flip

Flip a coin with 3D animation and statistics.

Try tool
New

Cooking Converter

Convert cups, spoons and grams by ingredient, plus oven temperatures.

Try tool
New

Meeting Time Planner

Find the fairest meeting slot across time zones, in everyone’s local time.

Try tool
Popular

QR Code Generator

Generate customizable QR codes for URLs, text, and more.

Try tool