Search for a tool
Expected Value of Winning

Tool to compute an expected value for a game, the probability of winning indicates the chances of winning a given game, while expected value helps to know how much a player can earn (on average).

Results

Expected Value of Winning -

Tag(s) : Statistics

Share
Share
dCode and more

dCode is free and its tools are a valuable help in games, maths, geocaching, puzzles and problems to solve every day!
A suggestion ? a feedback ? a bug ? an idea ? Write to dCode!


Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!


Feedback and suggestions are welcome so that dCode offers the best 'Expected Value of Winning' tool for free! Thank you!

Expected Value of Winning

Expected Value Calculator





I want to calculate









Answers to Questions (FAQ)

How to compute a mathematical expected value?

The calculation of the mathematical expected value is to multiply the probability of winning by the bet multiplier (in case of winning).

Expected value is generally calculated for a bet of 1 unit. Multiply the probability to win by the bet value to know the expected gain.

Example: The game of Casino's French Roulette with 37 boxes 0 to 36. The player bets on RED. There are 18 red boxes (1, 3, 5, 7, 9, 12, 14, 16, 18, 19, 21, 23, 25, 27, 30, 32, 34 or 36) so 18 winning events and 19 losing events (0, 2, 4, 6, 8, 10, 11, 13, 15, 17, 20, 22, 24, 26, 28, 29, 31, 33, 35). The probability of winning is 18/37, the probability of losing is 19/37, the bet multiplier is 2. Expected gain for a bet of 1 is $$ \frac{35}{37}-\frac{36}{37} \approx -0.027 $$

So every time the player plays 1, he will lose on average 2.7% of his bet.

What is a fair game?

A fair game is a game in which all players have an equal chance of winning. The expected value is zero (equal to 0).

Example: In the coin toss game, the player bets on TAILS, if he loses, he loses his bet, if he wins, he wins twice his bet.
There is one (1) winning event: the piece is returned on TAILS.
There are a total of two (2) events as possible: either the piece is on HEADS, or it is on TAILS.
Probability of winning: 1/2 = 50%
Expected value: (2-1) * 1 / 2-1 * 1/2 = 0
This game is fair.

The reasoning is the same for a die roll where a player will win 6 times his bet when he predicts the correct number.

Source code

dCode retains ownership of the "Expected Value of Winning" source code. Any algorithm for the "Expected Value of Winning" algorithm, applet or snippet or script (converter, solver, encryption / decryption, encoding / decoding, ciphering / deciphering, breaker, translator), or any "Expected Value of Winning" functions (calculate, convert, solve, decrypt / encrypt, decipher / cipher, decode / encode, translate) written in any informatic language (Python, Java, PHP, C#, Javascript, Matlab, etc.) or any database download or API access for "Expected Value of Winning" or any other element are not public (except explicit open source licence like Creative Commons). Same with the download for offline use on PC, mobile, tablet, iPhone or Android app.
Reminder: dCode is an educational and teaching resource, accessible online for free and for everyone.

Cite dCode

The content of the page "Expected Value of Winning" and its results may be freely copied and reused, including for commercial purposes, provided that dCode.fr is cited as the source. Exporting the results is free and can be done simply by clicking on the export icons ⤓ (.csv or .txt format) or ⧉ (copy and paste).
To cite dCode.fr on another website, use the link: https://www.dcode.fr/expected-value-winning
In a scientific article or book, the recommended bibliographic citation is: Expected Value of Winning on dCode.fr [online website], retrieved on 2025-04-16, https://www.dcode.fr/expected-value-winning

Need Help ?

Please, check our dCode Discord community for help requests!
NB: for encrypted messages, test our automatic cipher identifier!

Questions / Comments

Feedback and suggestions are welcome so that dCode offers the best 'Expected Value of Winning' tool for free! Thank you!


https://www.dcode.fr/expected-value-winning
© 2025 dCode — The ultimate collection of tools for games, math, and puzzles.
 
Feedback