SMALL CALCULATIONS. CLEAR ANSWERS.
Profit margin calculator
Calculate profit and profit margin from cost and selling price. Understand the difference between margin and markup.
Profit margin calculator
Live resultA LITTLE CONTEXT
How it works
Calculate gross profit on a sale and express it as a percentage of the selling price. Include the costs relevant to your calculation; this tool does not add tax or overhead.
Profit = selling price − cost; margin = profit ÷ selling price × 100For example Cost 80, selling price 100: profit 20, margin 20%.
Results display up to 12 significant digits. JavaScript floating-point arithmetic approximates some decimals and large integers. Round monetary results to your currency’s precision.
Good questions. Simple answers.
Can profit margin be negative?
Yes. If cost is 120 and selling price is 100, profit is −20 and margin is −20%.
Why is margin undefined at a selling price of zero?
Margin divides profit by selling price. Division by zero is undefined, even if the cost is also zero.
FIND THE RIGHT TOOL
A percentage for every situation.
From a quick discount to a bigger picture.
Percentage of
Percentage · Of number
What percent?
Part (X) · Whole (Y)
Percentage increase
Starting value · Ending value
Percentage decrease
Starting value · Ending value
Increase by percentage
Original value · Increase (%)
Decrease by percentage
Original value · Decrease (%)
Percentage difference
First value · Second value
Discount calculator
Original price · Discount (%)
Markup calculator
Cost · Markup (%)
Profit margin calculator
Cost · Selling price