Margin and markup
Compare margin and markup or solve a selling price from either target percentage.
Your inputs
The editable example is illustrative. Enter your own dimensions, operating data, prices, and fees. Results update as you edit.
Calculations run in your browser. Inputs are not saved or sent to analytics.
Your result
Complete the inputs to see your result.
How it works
- Profit = Price−Cost; Margin (profit/revenue) = Profit/Selling price; Markup (profit/cost) = Profit/Unit cost; Target amount-Margin (profit/revenue) Price = Unit cost/(1−Margin (profit/revenue)/100)
- Worked example: 80 Cost, 100 Price ⇒ 20 Profit, 20% Margin (profit/revenue), 25% Markup (profit/cost); 80/0.75 ≈ 106.6666667
- Supported input limits: Unit cost: 0 ≤ x ≤ 1000000000000; Selling price: 0 ≤ x ≤ 1000000000000; Margin (profit/revenue): 0 ≤ x ≤ 99.999999; Markup (profit/cost): 0 ≤ x ≤ 10000
Assumptions and limitations
Prices, power, utilization and fees are your assumptions. These estimates do not imply market, tax, wiring or safety recommendations.
Sources
- OpenStax — percent definitions Sources reviewed: 2026-10-06



