Dice Probability Calculator

Rolling dice is one of the simplest and most intuitive ways to explore probability. With a single fair six-sided die, every face has equal probability: 1/6 or about 16.67%. When you add a second die and look at the sum, the probabilities are no longer equal: some sums like 7 can be made in many more ways than extreme values like 2 or 12. This calculator works out the exact probability distribution for any combination of identical dice with any number of sides, from the classic d6 up to d20 and beyond, for up to six dice at once. The distribution is computed by convolution: starting from the uniform distribution for one die and repeatedly folding in each additional die. The result is the number of ways to achieve each possible sum out of the total number of outcomes (the number of faces raised to the power of the number of dice). You choose how many dice, how many sides, and which specific sum you want to target, and the calculator returns the exact probability as a fraction and as a percentage, the most probable sum, the expected value, and a full distribution table showing the probability of every possible sum. When rolling two six-sided dice (2d6), a sum of 7 can be made in 6 out of 36 ways, giving a probability of 16.67%. The tool suits students learning probability, board game enthusiasts assessing the odds of specific outcomes, and game designers balancing mechanics around dice results.

Calculate.co.nz is proud to be partnered with Health Based Building, a leader in sustainable and health-conscious building innovation. With over a century of experience, they develop high-performance systems like Foreverbreathe Specification, Magnum Board, and Foreverbreathe Paints to support energy-efficient, non-toxic living environments. Their commitment to healthier homes aligns with our belief that informed choices lead to better outcomes for Kiwi households.
Calculate.co.nz partner: Health Based Building
16.67%
P(sum = 7) with 2d6
Exact fraction6/36
Most likely sum7
Expected value7.00
Total outcomes36

How it works

The calculator builds the probability distribution by convolution. It starts with a count array of ones (one way to get each face value on a single die). For each additional die it convolves the current array with the single-die array by iterating over every combination of current sum and new face. The resulting count array at each index divided by the total number of outcomes (sides raised to the number of dice) gives the probability for that sum. The expected value is the sum of each outcome times its probability.

Worked example

Rolling 2d6: total outcomes = 6 x 6 = 36. The sum of 7 can be formed as (1,6), (2,5), (3,4), (4,3), (5,2), (6,1) = 6 ways. P(sum = 7) = 6/36 = 16.67%. The most probable sum is 7 and the expected value is (2+3+...+12) weighted by probability = 7.00. These match the default values pre-filled above.

Related calculators

If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.

Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.

Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.

All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.

Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.

Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.

Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.

All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.

About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-07-23 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.

© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.