Dice roller.
Roll any dice in tabletop notation, from one d20 to 4d6 drop the lowest, and see every die and the total. Fair rolls from your browser's cryptographic randomness, with the lowest, highest and average the notation can give.
Dice roller.
Need the UI around it? With Pro, your AI agent builds the form, the result card and the rest of the page from a prompt.
Get ProHow it works
4 steps, no account. It runs in your browser and nothing is uploaded.
Pick a die or type notation
One click for a d4 to a d100, or 3d6+2, 2d20kh1, d%.
Roll
Each die is rolled fairly and shown, the dropped ones struck through.
Read the total
With its breakdown, and the lowest, highest and average the notation can give.
Look back
The last ten rolls stay in the history until you clear them.
Related tools
More math and finance. Every one free, in the browser.
Pricing
Build it with Pro
The tool is free. Pro adds 6,000+ blocks, premium templates and the MCP server, so your AI editor builds the product around it.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
Questions and answers
Before you trust the result: what to know about the format, the limits, your data and the tools next to it.
Roll three six-sided dice and add 2 to their sum. NdM is N dice of M sides (no N means one), and groups and whole numbers join with + and −, so 2d6+1d8−1 works too.
kh3 keeps the highest three dice and kl1 the lowest one; dh1 and dl1 drop the highest or the lowest. 2d20kh1 is advantage, 2d20kl1 disadvantage, and 4d6dl1 the usual roll for an ability score.
Exactly, not by simulation: the mean of each group, keep and drop included, plus the constants. 3d6+2 averages 12.5 and runs from 5 to 20.
Yes. Each die comes from crypto.getRandomValues with rejection sampling, so every face is equally likely, where a plain modulo would favour some faces slightly.
Up to 100 dice in a group and 300 in one roll, from 2 to 1,000 sides, with up to 20 groups and constants. d% is a hundred-sided die.
3d6+2, advantage (2d20kh1), disadvantage (2d20kl1), an ability score (4d6dl1), a fireball (8d6) and percentile (d%). The bar rolls one d4, d6, d8, d10, d12, d20 or d100 in a click.
No. The dice are rolled in your browser and the page makes no request.
No. The "Dice roller" tool is free and opens without a sign-in, an account or an install.
Up to 100 dice in a group and 300 in a roll, 1,000 sides at most, constants up to 1,000,000, and 20 groups and constants in all.
NdM groups (d20, 3d6, d% for a d100), keep and drop (kh, kl, dh and dl, where k alone keeps the highest and d alone drops the lowest), and whole numbers, joined with + and −. Spaces and case don't matter.
3d6+2, Advantage (2d20kh1), Disadvantage (2d20kl1), Ability score (4d6dl1), Fireball (8d6), Percentile (d%). The last ten rolls stay in the history until you clear them or close the tab.
Closest to the "Dice roller" tool: Coin flip, Random number generator, Random string generator, Timer and stopwatch. Each opens on its own page, free and in the browser.
The "Dice roller" tool is one of 20 in its group. The group's page, /tools/math, lists them all.
The tool is free. Its interface is built from shadcn.io's own components (Button, Input, Slider and the rest of the registry under /ui), which come in React, Vue, Svelte and Solid. Pro adds the blocks and templates for the product around it.
4.9 out of 5 from 150+ developers
Build the product around it
Every block, template and icon, installed by your AI agent in your theme. The tools stay free.
Get Pro



