- Free
- No sign-up
- Works on any device
No tool matches your search.
- Free
- No sign-up
- Works on any device
Create a QR code for a link, Wi-Fi, WhatsApp, contact and more, or read one from a photo.
- Free
- No sign-up
- Works on any device
Fill in the details to see your QR code.
PNG for phones, chats and websites. SVG and PDF stay sharp at any size, which is best for printing. Tip: point your phone camera at the preview to test it.
3. Style (optional): colors, dots, logo
Choose a photo or screenshot or drag it here
Works with photos of printed codes, screenshots and image files.
Looking for QR codes…
Expected value calculator
Enter outcomes and probabilities to get the expected value, variance and standard deviation, and see whether a bet or game is worth playing.
- Free
- No sign-up
- Works on any device
About Expected value calculator
The expected value of a discrete random variable is the probability-weighted average of its outcomes, E(X) = sum of x times P(x). Enter each outcome with its probability as a decimal, fraction or percentage, and the page checks that they sum to 1, then returns E(X), the variance and the standard deviation. A cost to play can be subtracted to judge a bet. A prize of 100 with probability 0.01 and a ticket costing 2 has an expected result of minus 1 per play, so the game is not worth taking on average.
How to use Expected value calculator
- Type one outcome and its probability per line, such as 100, 0.01 or 5, 1/6.
- Enter a cost to play if the outcomes are prizes, so the net result can be judged.
- Read E(X), the spread and the verdict on whether the game is worth playing.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Free to embed on your own website, with a ready-made code to copy.
- Available in 10 languages.
Also known as
Frequently asked questions
Does expected value predict a single play?
No. It is the long-run average. A lottery ticket almost always loses, even if the average prize is high, and the standard deviation shows how wild the swings are.
What if my probabilities do not add up to 1?
The page stops and shows the total, because the result would be wrong. Fix a value or add the missing outcome so the total is exactly 1.
What is the link between expected value and variance?
Variance measures how far outcomes sit from the expected value, weighted by probability. Its square root is the standard deviation, in the same units as the outcomes.
Is Expected value calculator free?
Yes. Expected value calculator on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.
Can I put Expected value calculator on my own website?
Yes. Use the Embed on your site button under the tool to copy a short piece of code and paste it into your page. It is free, needs no account, and the tool keeps working inside your page.