What expected value actually tells you
Expected value is the average result of one repetition, taken over a run long enough for luck to cancel out. That is the whole idea, and the two words people misread are "average" and "long". It is not a forecast of your next trade, your next hand, or your next product launch. Run the numbers on a bet that pays 10 at 40%, nothing at 35%, and costs you 20 at 25%, and the expected value is exactly −1 per try, a result that literally cannot happen on any single attempt. Our loot drop calculator makes the same point from the other end: at the "expected" number of attempts, more than a third of players still have nothing.
For a repeated bet or trade the formula collapses to something you can do in your head, and that simplicity is exactly why it gets quoted so often and applied so badly. Three things decide whether the number on the page becomes money in the account, and none of them are in the formula: what each repetition costs you, what win rate you would need if the formula came out to zero, and how many repetitions it takes before an edge is louder than the noise around it. This calculator adds all three.
The formula
The win rate is a decimal fraction (60% is 0.60) and the loss rate is whatever is left over. The average loss goes in as a positive number, because the formula already subtracts it. The break-even line comes from setting EV to zero and solving for the win rate, which is why the average win and average loss are the only sizes in it. The standard deviation is the closed form for a two-outcome gamble, and it is worth noticing that cost does not appear in it: costs move the average and leave the spread exactly where it was.
For the textbook version with more than two outcomes, expected value is the sum of every outcome multiplied by its own probability, and variance is the sum of every probability multiplied by the squared distance from that expected value. The second mode on this page does both, term by term.
Worked example
A 60% win rate, a $400 average win, a $250 average loss. The win side contributes 0.60 × $400 = $240.00 per trade and the loss side takes back 0.40 × $250 = $100.00, so the gross expected value is $140.00 per trade. That is the number the formula gives, and it is arithmetically correct.
Now add $15.00 of spread and commission per round turn. Costs come off every trade, winner or loser, so the answer becomes $125.00 per trade, and the win rate you need just to stand still rises from 38.5% to 40.8%. You are running 60%, which is 19.2 points of real edge, and that is a lot.
The honesty layer: a single trade here has a standard deviation of $650.00 × √(0.60 × 0.40) = $318.43, which is 2.5 times the $125.00 you expect to make. Over 100 trades the expected total is $12,500.00 with a standard deviation of $3,184.34, so about two runs in three land between $9,315.66 and $15,684.34, and about 19 in 20 land between $6,258.81 and $18,741.19. Under our sample size rule the edge separates from luck after just 26 trades.
Read that last number as a lie detector, not a compliment. An edge that proves itself in 26 trades is enormous, which tells you something about the inputs rather than about you. A believable retail edge, say a 55% win rate at one to one with $10.00 of costs, is worth $10.00 a trade against a break-even line of 52.5%, and the same rule asks for 1,584 trades before you could tell it from noise.
The break-even win rate is the number that reframes the question
Almost every argument about strategies is really an argument about win rate, and win rate on its own is meaningless. Feed the formula a zero and solve, and the whole question becomes one line: the win rate you need is your average loss divided by the sum of your average win and your average loss. That gives the table this calculator prints with every result, and it is the part worth screenshotting.
At one to one you need 50.0%, which is the intuition everyone starts with. Make your winners twice the size of your losers and the bar drops to 33.3%. Make them three times the size and it drops to 25.0%, so you can be wrong three times out of four and still make money. Go the other way, taking half the size of the loss on each winner, and you need 66.7% just to stand still. This is why a 90% win rate strategy can quietly lose money and a 35% one can print: the ratio, not the hit rate, sets the bar, and the hit rate only has to clear it.
Costs move that bar up, always. They go on the top of the fraction, so a cheap instrument and an expensive one with identical price action are genuinely different strategies. If you want the same logic applied to a business rather than a trade, our break-even calculator asks the same question about units and fixed costs.
Costs are not a detail, they are the margin
Here is the mechanism, and it is the reason the same strategy can be excellent at one size and hopeless at another. Costs are roughly fixed per repetition. Profit scales with the size of your target. Spread, commission, and slippage cost about the same whether you are aiming at ten points or a hundred, so they are a rounding error on big targets and the entire margin on small ones.
Take the example above and shrink both the win and the loss by a factor of ten, to a $40 average win and a $25 average loss. The ratio is unchanged, the win rate is unchanged, and the gross expected value is exactly one tenth of what it was: $14.00 per trade. Leave the round turn at $15.00 and the strategy now loses $1.00 per trade. The break-even win rate has climbed from 38.5% to 61.5%, and the 60% that looked like a strong edge is now one and a half points short. Nothing about the trading changed. The arithmetic did.
Variance, and why the long run is longer than you think
A positive expected value is a claim about a long run, and most people badly underestimate how long. One trade in the worked example has a standard deviation of $318.43 against an expected $125.00. That ratio, spread divided by edge, is the thing that sets how much evidence you need, and it usually runs from a few times to a few dozen times.
Two facts do the work. Over n independent repetitions the expected total grows with n, but the standard deviation of that total grows only with √n. Edge wins eventually, which is the good news, and it wins slowly, which is the rest of it. So the honest output for a run of trades is a range, not a total, which is what this calculator gives you.
For "how long is long enough" we use a stated rule rather than a vibe: the number of repetitions at which your expected total sits two standard deviations clear of zero. At that separation, a strategy with no edge at all would reach your result by luck only about 2% of the time. Setting n × EV = 2 × SD × √n and solving gives n = 4 × variance ÷ EV². It is a rough tool with a normal approximation inside it, not a formal hypothesis test, and it is deliberately simple so you can check it. The believable 55% strategy above needs 1,584 trades, which is why a strategy can be genuinely good and still be underwater after 40 trades, and why 40 trades is not an answer to anything.
What expected value does not tell you
How much to risk. This is the big one, and the formula is completely silent on it. Expected value is an average per repetition. It has no opinion about position size, and betting too large on a real edge is the classic way to be right and broke at the same time, because a bad run can take the account to zero long before the long run arrives. Risk of ruin and Kelly criterion sizing are the tools built for that question. This page does not compute them, and no expected value figure is a substitute for one.
Whether your inputs are real. Every number on this page is downstream of a win rate and two averages you supplied. Those come from a sample, and a small sample flatters. If your averages come from 30 trades, so does your answer.
Whether averages describe your losses. An "average loss" assumes losses have a typical size. One trade held through a gap can be worth fifty ordinary losers, and no average built from the other fifty saw it coming.
One piece of context for why the cost line and the sample size line here are not pedantry. Regulators require retail brokers in several jurisdictions to publish how many of their client accounts lose money. When ESMA introduced the rule in March 2018 it reported that national regulators' reviews found 74 to 89 percent of retail accounts typically lose money, and in the UK the FCA requires each firm to display its own current figure and recalculate it every three months, so you can read the number for any regulated broker off its own page. We mention it neutrally and for one reason: those accounts belong to people who already know the formula at the top of this page. Costs and sample size are where the arithmetic and the account statement usually part company.
Last, the same note our odds calculator ends on. This page prices arithmetic. It does not endorse any strategy, market, or platform, there are no links to any here, and a positive number in the result box is a property of the inputs you typed, not a promise about the future.