Calculate expected profit from revenue and cost or as a probability-weighted average of outcomes, plus break-even sales, margin, markup and ROI.


Related Calculators

Calculator Functions

FunctionWhat it doesWhat it requires
Profit from revenue and costFinds profit or lossRequires revenue and cost
Revenue from cost and profitFinds the revenue behind a profitRequires cost and the profit or loss
Cost from revenue and profitFinds the cost behind a profitRequires revenue and the profit or loss
Expected profit from up to 3 outcomesFinds the probability-weighted average profit of up to three outcomesRequires a probability and a profit or loss for each outcome, with probabilities totaling 100%
Expected profit from win and lossFinds expected profit when there are only two outcomesRequires the win probability, the average win amount and the average loss amount
Win probabilityFinds the win probability that produces a given expected profitRequires the expected profit, the average win amount and the average loss amount
Average win amountFinds the average win needed for a given expected profitRequires the expected profit, the win probability and the average loss amount
Average loss amountFinds the average loss that produces a given expected profitRequires the expected profit, the win probability and the average win amount
Break-even win probabilityFinds the win probability at which expected profit is zeroRequires the average win amount and the average loss amount
Unit profit, margin and markupFinds profit per unit with its margin and markupRequires cost per unit and price per unit. Units are optional and add sales totals
Price for a target marginFinds the selling price that gives a chosen marginRequires cost per unit and the margin percent
Price for a target markupFinds the selling price that gives a chosen markupRequires cost per unit and the markup percent
Cost from price and marginFinds the unit cost implied by a price and marginRequires price per unit and the margin percent
Cost from price and markupFinds the unit cost implied by a price and markupRequires price per unit and the markup percent
Break-even units and salesFinds the units and sales dollars at which profit is zeroRequires fixed costs, price per unit and variable cost per unit
Units for a target profitFinds the units needed to earn a chosen profitRequires fixed costs, the target profit, price per unit and variable cost per unit
Profit at expected unitsFinds profit at a forecast sales volumeRequires units, fixed costs, price per unit and variable cost per unit
ROI percentageFinds return on investment as a percentRequires the investment cost and the net return or loss
Net return from ROIFinds the dollar return behind an ROIRequires the investment cost and the ROI percent
Investment cost from ROIFinds the investment that produces a return at a given ROIRequires the net return or loss and the ROI percent
Total contribution margin and ratioFinds what sales leave after variable costs, in dollars and as a share of salesRequires sales revenue and total variable cost
Sales from contribution marginFinds the sales revenue behind a contribution marginRequires total variable cost and total contribution margin
Total variable costFinds total variable cost from sales and contribution marginRequires sales revenue and total contribution margin
Unit and total contribution marginFinds contribution margin per unit and in totalRequires price per unit, variable cost per unit and units
Price from unit contributionFinds the price that gives a chosen contribution per unitRequires variable cost per unit and unit contribution margin. Units are optional
Variable cost from unit contributionFinds the variable cost per unit implied by a price and contributionRequires price per unit and unit contribution margin. Units are optional
Units from contribution marginFinds the units sold behind a total contribution marginRequires unit contribution margin and total contribution margin

All amounts are in US dollars and percentages are typed as plain numbers, so 60 means 60%. Losses go in as negative profit, except in the win and loss functions, where the average loss is a positive amount. The two ROI functions that take a percent also have a quick-fill list of 5% to 100% targets.

Expected Profit Formulas

EP = ER โˆ’ EC
EPExpected profit ($). A negative result is an expected loss
ERExpected revenue ($)
ECExpected cost ($)

When revenue and cost are forecasts, their difference is the expected profit. When the outcomes are already stated as profit or loss after costs, expected profit is their probability-weighted average, and the costs are not subtracted a second time.

Profit from revenue and cost

The main formula applies directly. Expected revenue of $123 against expected cost of $23 leaves $100. The result also shows profit margin (81.3%) and return on cost (434.8%).

Revenue from cost and profit

ER = EC + EP

A $23 cost and a $100 profit mean revenue of $123.

Cost from revenue and profit

EC = ER โˆ’ EP

Revenue of $123 with a $100 profit means the cost was $23.

Expected profit from up to 3 outcomes

EP = ฮฃ (pi ร— xi) [1]

Each outcome's profit or loss x is multiplied by its probability p as a decimal, and the products are added [1]. A 50% chance of $1,000, a 30% chance of $200 and a 20% chance of losing $500 give 500 + 60 โˆ’ 100 = $460. The outcomes must not overlap and their probabilities must total 100%.

Expected profit from win and loss

EP = p ร— W โˆ’ (1 โˆ’ p) ร— L

This is the outcomes formula with two outcomes: a win of W with probability p and a loss of L otherwise. Winning $500 with a 60% probability and losing $300 otherwise gives 0.6 ร— 500 โˆ’ 0.4 ร— 300 = $180.

Win probability

p = (EP + L) รท (W + L)

For an expected profit of $180 with a $500 win and a $300 loss, p = 480 รท 800 = 60%. The expected profit has to lie between โˆ’L and W.

Average win amount

W = (EP + (1 โˆ’ p) ร— L) รท p

To expect $180 at a 60% win probability with a $300 loss, the average win must be (180 + 120) รท 0.6 = $500.

Average loss amount

L = (p ร— W โˆ’ EP) รท (1 โˆ’ p)

With a 60% probability of winning $500 and an expected profit of $180, the average loss is (300 โˆ’ 180) รท 0.4 = $300.

Break-even win probability

p = L รท (W + L)

Setting expected profit to zero gives the win probability needed to break even. A $500 win against a $300 loss needs 300 รท 800 = 37.5%.

Unit profit, margin and markup

Margin = (P โˆ’ C) รท P
Markup = (P โˆ’ C) รท C [3]

Unit profit is price P minus cost C. Margin divides it by the selling price and markup divides it by cost, so the same dollar profit gives two different percentages [3]. A $25 price on a $15 cost is a $10 unit profit, a 40% margin and a 66.67% markup.

Price for a target margin

P = C รท (1 โˆ’ m)

m is the target margin as a decimal. A $15 cost at a 40% margin needs a price of 15 รท 0.6 = $25. A 100% margin is impossible with any cost above zero.

Price for a target markup

P = C ร— (1 + k)

k is the markup as a decimal. A $15 cost marked up 66% sells for 15 ร— 1.66 = $24.90.

Cost from price and margin

C = P ร— (1 โˆ’ m)

A $25 price at a 40% margin leaves room for a cost of 25 ร— 0.6 = $15.

Cost from price and markup

C = P รท (1 + k)

A $25 price that includes a 25% markup started from a cost of 25 รท 1.25 = $20.

Break-even units and sales

Units = FC รท (P โˆ’ V) [2]

FC is fixed costs for the period, P the price per unit and V the variable cost per unit [2]. With $10,000 of fixed costs, a $25 price and a $15 variable cost, break-even is 10,000 รท 10 = 1,000 units, or $25,000 of sales.

Units for a target profit

Units = (FC + TP) รท (P โˆ’ V)

Adding a target profit TP to the fixed costs gives the units needed to earn it. A $5,000 target on the same figures takes 15,000 รท 10 = 1,500 units.

Profit at expected units

Profit = Q ร— (P โˆ’ V) โˆ’ FC

Q is the forecast number of units. Selling 1,200 units on the same figures earns 1,200 ร— 10 โˆ’ 10,000 = $2,000.

ROI percentage

ROI = NR รท IC ร— 100

NR is the net return, the gain or loss left after the investment cost IC is recovered. A $250 net return on $1,000 is an ROI of 25%.

Net return from ROI

NR = IC ร— ROI รท 100

A $1,000 investment at a 25% ROI returns $250 beyond the original amount.

Investment cost from ROI

IC = NR รท (ROI รท 100)

A $250 net return at 25% ROI came from a $1,000 investment. Net return and ROI must have the same sign.

Total contribution margin and ratio

CM = S โˆ’ TVC
CM ratio = CM รท S [2]

Contribution margin is what sales S leave after total variable costs TVC, before fixed costs are paid [2]. Sales of $50,000 with $30,000 of variable costs leave $20,000, a ratio of 40%.

Sales from contribution margin

S = TVC + CM

Variable costs of $30,000 and a $20,000 contribution margin mean sales of $50,000.

Total variable cost

TVC = S โˆ’ CM

Sales of $50,000 with a $20,000 contribution margin mean $30,000 went to variable costs.

Unit and total contribution margin

UCM = P โˆ’ V
Total CM = UCM ร— Q

A $25 price and a $15 variable cost leave a unit contribution margin of $10, which is $12,000 across 1,200 units.

Price from unit contribution

P = V + UCM

A $15 variable cost and a $10 unit contribution margin need a $25 price.

Variable cost from unit contribution

V = P โˆ’ UCM

A $25 price with a $10 unit contribution margin allows $15 of variable cost per unit.

Units from contribution margin

Q = Total CM รท UCM

A total contribution margin of $12,000 at $10 per unit means 1,200 units were sold.

Limits of This Estimate

  • Expected profit is a long-run average over many repeats. A single result can differ from it, and the expected value may not even be one of the possible outcomes [1].
  • The answer is only as good as the probabilities and amounts entered. The calculator checks that probabilities total 100% and has no way to check that they are realistic.
  • Break-even and contribution margin results hold price, variable cost per unit and fixed costs constant. Fractional units are shown as calculated, so round up where only whole units can be sold.
  • ROI is not annualized. A 25% return over five years and over one month show the same figure.

Sources