What does this calculator do?
This calculator takes what you sold for and what it cost, and returns the three numbers every pricing conversation needs: the absolute profit, the margin (profit as % of revenue) and the markup (profit as % of cost).
Formula
One subtraction and two percentages:
profit = revenue − cost margin = profit ÷ revenue markup = profit ÷ cost
How to use it
Enter the revenue (selling price) and the cost, per unit or per order — just be consistent. A loss shows as a negative profit.
Worked example
Sold at 80 with a cost of 60: profit 20, margin 20 ÷ 80 = 25%, markup 20 ÷ 60 ≈ 33.33%.
Frequently asked questions
Why are margin and markup different numbers for the same sale?
They use different bases: margin divides the profit by the revenue, markup divides it by the cost. Markup is always the larger of the two for a profitable sale.
What does a negative result mean?
A loss — the cost exceeded the revenue. Margin and markup turn negative with it.
Does this include taxes and fees?
Only what you put in the cost. For a realistic view, use the full cost including fees, shipping and payment charges.
Sources
- Standard percentage and division arithmetic. The exact formulas used are shown on this page; no external pricing data is involved.
- Khan Academy — Percents (review of the underlying math)
- Reviewed: 2026-07-29
Related calculators
Last updated: 2026-07-29 · v1.0.0 · Report an error