Profit Margin Calculator
Calculate gross profit, profit margin and markup from cost and selling price.
How to use the Profit Margin Calculator
- Enter or choose the cost.
- Enter or choose the selling price.
- Results update instantly as you type — press Calculate any time to refresh.
Formula
Margin = (price − cost) ÷ price; Markup = (price − cost) ÷ cost.
About this calculator
Profit margin and markup describe the same profit from different angles. Margin is profit as a share of the selling price; markup is profit as a share of cost. Retailers and e-commerce sellers use both when setting prices.
Frequently asked questions
Why is margin always lower than markup?
Margin divides profit by the larger selling price, while markup divides by the smaller cost.
What is a good profit margin?
It varies widely by industry — grocery margins can be a few percent, while digital products can exceed 80%.
Results are estimates for illustration only and are not financial, tax or legal advice. Actual figures from lenders, banks and tax authorities may differ.