Profit Margin Calculator
Calculate profit margin, markup, and reverse-engineer costs.
About the Profit Margin Calculator
The Profit Margin Calculator works in two directions, which is what makes it more than a glorified division. In Forward mode you enter revenue and cost, and it returns profit, margin percentage, and markup percentage — the two percentages people constantly confuse. Margin measures profit against revenue, while markup measures the same profit against cost, so $300 of profit on a $1,000 sale is a 30% margin but a 42.9% markup, and mixing them up in pricing discussions causes real pricing errors. In Reverse mode the calculator flips the question: give it the revenue and a desired margin, and it tells you the maximum cost you can afford, plus the implied profit and markup. That is the mode for buyers, manufacturers, and anyone who must back a pricing decision out of a target. Both modes update live, show the formulas with your own numbers substituted, and include a reset button that restores the defaults — small conveniences that keep a quick pricing conversation from becoming a spreadsheet session.
Examples
Forward mode: revenue $1,000, cost $700
Profit $300.00, margin 30.00%, markup 42.86%
Forward mode: revenue $250, cost $200
Profit $50.00, margin 20.00%, markup 25.00%
Reverse mode: revenue $5,000, desired margin 25%
Required cost $3,750.00, implied profit $1,250.00, implied markup 33.33%
How to use
- 1
Choose a mode with the Forward / Reverse tabs at the top of the tool.
- 2
In Forward mode, enter Revenue and Cost, then read Profit, Margin, and Markup.
- 3
In Reverse mode, enter Revenue and the Desired margin percentage, then read Required cost, Implied profit, and Implied markup.
- 4
Check the Formulas card below the stats to see each equation resolved with your numbers.
- 5
Click Reset to defaults to restore the worked example values at any time.
Common use cases
- Pricing a wholesale order so the retail markup on your goods lands at the margin you promised investors.
- Working backwards from a client's $5,000 budget to the maximum production cost at 25% margin.
- Settling a margin-versus-markup argument between a sales team and an accountant.
- Checking whether a 50% discount promotion still clears your minimum margin.
- Setting a floor price for freelance work based on the margin you need after costs.
- Comparing the true profitability of two products with different costs but the same selling price.
Best practices
- Never state a percentage without saying whether it is margin or markup — the tool gives you both so you can quote the right one.
- Use Reverse mode when a target margin is fixed; guessing costs and iterating in Forward mode wastes time.
- Remember margin is capped at 100% while markup is unbounded, which is why the two numbers drift apart as profitability rises.
- Keep revenue above zero — the calculator requires a positive revenue to compute percentages, and dividing by zero is meaningless.
- Double-check that cost includes everything: materials, labour, fees, and delivery, or your margin will be flattering but wrong.
- When costs change, re-run both directions to see whether the margin target is still achievable at the same price.
Tips
- Flip between Forward and Reverse without retyping — the tabs keep both sets of inputs in memory.
- Memorize one anchor pair: 20% margin equals 25% markup, a fast way to catch pricing mistakes in meetings.
- Test a sale price 10% lower in Forward mode to see how badly it bruises the margin.
- Use the reset button before a new session so stale numbers never sneak into a decision.
Frequently asked questions
Explore more finance tools
Browse the full collection of finance tools on the hub, or jump back to all categories.