Margin & Markup Calculator
Free online margin and markup calculator. Enter cost and price to get profit, profit margin %, and markup % — or set a target margin to find the price.
About the Margin & Markup Calculator
Our free online margin and markup calculator helps you price products and understand profit. Enter your cost and selling price to instantly see the profit, the profit margin percentage, and the markup percentage. Or switch modes and enter your cost and a target margin to find the selling price you should charge. Margin and markup are often confused — margin is profit as a percentage of the selling price, while markup is profit as a percentage of cost — and this tool shows both clearly. It runs entirely in your browser with no signup, perfect for retail, e-commerce, and freelancing.
Features
- Profit, margin %, and markup % from cost and price
- Reverse mode: set a target margin to find the price
- Clearly separates margin from markup
- Great for retail, e-commerce, and freelancing
- Instant results as you type
- 100% free, no signup — runs in your browser
How to use this tool
The Margin & Markup Calculator works right in your browser — no signup, no installation. Follow these steps:
- Choose whether you have the price, or want to set a target margin.
- Enter your cost and the price or target margin.
- Read the profit, margin %, and markup %.
- Copy or download your pricing breakdown.
Frequently asked questions
What is the difference between margin and markup?
Markup is profit as a percentage of cost, while margin is profit as a percentage of the selling price. A 50% markup on a $10 cost gives a $15 price, which is a 33.3% margin. This tool shows both so you do not mix them up.
How do I calculate profit margin?
Profit margin = (price − cost) ÷ price × 100. For example, a $15 item that costs $10 has a $5 profit and a 33.3% margin. Enter cost and price and the calculator does it for you.
How do I price for a target margin?
Price = cost ÷ (1 − margin%). For a 40% margin on a $12 cost, price = 12 ÷ 0.60 = $20. Use the target-margin mode to get the price automatically.
Using the results
Use the Margin & Markup Calculator to calculate from the values you enter. Check the displayed units, rounding and supported inputs when interpreting the result.