Accounting · Free tool
Margin and Markup Calculator
Sales says the markup is 150%, finance says the margin is 60%, and both are right. This calculator takes the cost of one unit and its selling price and returns the profit, the margin percent, and the markup percent together, so pricing discussions use the right number. It serves accountants, pricing managers, and owners setting prices.
- OutputMargin % and markup %
- No sign-up
- Copy or print the result
- How it works ↓
Your entries stay in this browser. Use Fill example to see a finished page first.
What this accounting tool gives you
The result shows profit, margin, and markup as three figures, each with its formula underneath, plus a small table of the cost and price you entered. Put it in front of a sales team and the difference between the two percentages stops causing confusion.
What you enter
- Currency: USD by default, or EUR or GBP (only changes how amounts are formatted)
- Cost: what you pay to produce or buy one unit
- Price: what the customer pays for that unit
Worked example
In the tool's example a unit costs $40 and sells for $100. Profit is $60. Margin is $60 ÷ $100 = 60%, while markup is $60 ÷ $40 = 150%. The same $60 of profit gives two very different percentages because margin is measured against the price and markup against the cost.
How are margin and markup calculated?
Profit = price − cost. Margin % = profit ÷ price × 100, the share of the selling price you keep. Markup % = profit ÷ cost × 100, how far the price sits above the cost. Both percentages are rounded to two decimals and shown with one.
If the price is zero there is no margin percent, and if the cost is zero there is no markup percent; the tool shows a dash for that figure. When the price is below the cost, both percentages turn negative and a warning appears. Cost and price cannot be negative.
Tips before you use the result
- When someone quotes a target percent, ask whether it is margin or markup before you set a price.
- To hit a target margin, price = cost ÷ (1 − margin). For a 60% margin on a $40 cost, that is $100, which you can confirm here.
- Margin can never reach 100% while cost is above zero, but markup can go well past 100%.
- Use landed cost, including freight and duties, as the cost input so the margin reflects what you actually keep.
Frequently asked questions
What is the difference between margin and markup?
Both start from the same profit, price minus cost, but they divide by different numbers. Margin divides profit by the selling price, markup divides it by the cost. A $40 item sold for $100 has a 60% margin and a 150% markup. Margin tells you what share of revenue you keep; markup tells you how much you added to cost.
How do I convert markup to margin?
Margin = markup ÷ (1 + markup), with both as decimals. A 150% markup is 1.5 ÷ 2.5 = 0.60, or a 60% margin. Going the other way, markup = margin ÷ (1 − margin). The calculator shows both at once, so you can check any conversion by entering a cost and price.
Why does the calculator show a negative margin?
Because the price you entered is below the cost, so profit is negative and both percentages follow it below zero. The tool adds a warning in that case. It is a useful check when discounting: if a promotion pushes price under unit cost, every sale loses money.
Do I need to sign in to calculate margin and markup?
No sign-in is needed. The cost and price you enter are saved to your browser's local storage, so the last calculation is still there if you reload the page on the same device. Nothing is sent to a server, so you can test prices freely.
More Accounting tools
Accounting guides on Kurums
How to Read a Financial Report: Following Every Sale and Expense Into the Balance Sheet
A Kurums Book Taste review of How to Read a Financial Report for accounting leaders and managers who need to explain why profit, balance sheet and cash never move in lockstep.
Federal Reserve Sets 2027 Payment Services Pricing Effective January 1, 2027: Notes for Accounting
On November 12, 2026 the Federal Reserve announced 2027 pricing for payment services provided to banks and credit unions, effective January 1, 2027, with an estimated 1.4 percent average increase for mature services.
Time-Driven Activity-Based Costing: Product and Customer Profitability Without the Survey Burden
A Kurums Book Taste review of Time-Driven Activity-Based Costing for accounting and controlling leaders who need to know which products, orders and customers actually make money.
The Accounting Game: Double-Entry Basics Learned From a Lemonade Stand
A Kurums Book Taste review of The Accounting Game for accounting leaders who need managers and new hires to understand the statements before they argue with them.
The Balanced Scorecard: Turning Strategy Into Measures Finance Can Actually Run
A Kurums Book Taste review of The Balanced Scorecard for controllers, CFOs and accounting leaders who need reporting that explains where results will come from, not just where they went.
Q3 Form 941 Due November 2, 2026: Notes for Accounting
Employers must file Form 941 for the third quarter of 2026 by November 2, or by November 10 if all deposits were made on time and in full.
Results depend on the figures you enter; check them against your own records before you rely on them. Last updated: October 2026 · Kurums editorial team.