The expected value is the single most important summary of a random process, the long-run average you would settle on if you repeated the situation over and over, and this calculator works it out from a list of outcomes and their probabilities. Enter the possible values and the probability of each, and it returns the expected value, the variance and the standard deviation, along with the total of the probabilities so you can check they form a complete distribution, all updating as you type. The idea behind it is intuitive: some outcomes are more likely than others, so a fair average has to weight each value by how often it happens. Multiply every value by its probability, add those products together, and you have the expected value, also called the mean of the distribution. It is the balancing point of the probabilities, and it answers questions like the average roll of a die, the typical payout of a game, or the mean demand a business should plan for. The calculator goes further and reports the spread as well: the variance measures how far outcomes tend to fall from the expected value, and the standard deviation, its square root, expresses that spread in the same units as the values, which tells you how reliable the average is. That makes the tool genuinely useful for statistics and probability students learning distributions and checking homework, for anyone weighing up a bet, an insurance decision or a risky choice, and for business and finance work where outcomes carry probabilities. Because the results recalculate live, you can adjust a probability or add an outcome and immediately see the mean and spread respond. The formulas and a worked example are explained clearly below.
The expected value is the sum of each value times its probability. The variance is the sum of each probability times the squared distance of its value from the expected value, and the standard deviation is the square root of the variance. The probabilities should add to 1 for a valid distribution.
For values 0, 1, 2, 3 with probabilities 0.1, 0.2, 0.3, 0.4: the expected value is 0 plus 0.2 plus 0.6 plus 1.2, which is 2. The variance is 0.1 times 4, plus 0.2 times 1, plus 0.3 times 0, plus 0.4 times 1, which is 1, so the standard deviation is also 1.
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.
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
Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2019 to 2026 Calculate.co.nz. All rights reserved.