Free tool
Profit Margin Calculator with Break-Even
Calculate gross and net profit margin, compare margin with markup, set a price for a target margin and find your break-even units, with the formulas shown.
- Gross profit margin
- –
- Gross profit
- –
- Markup on cost
- –
- Profit after other expenses
- –
- Net profit margin
- –
- Selling price
- –
- Profit per item
- –
- Markup that gives this margin
- –
- Units to sell (rounded up)
- –
- Revenue at that many units
- –
- Profit per unit before fixed costs
- –
- Share of each sale that covers fixed costs and profit
- –
- Exact figure before rounding up
- –
- Profit at that many units
- –
Assumptions
These are estimates from your own inputs, not a forecast or a promise of results. No vendor prices or industry averages are built in: every number comes from you.
- Gross profit = revenue − cost of goods sold. Profit margin = profit ÷ revenue × 100. Markup = profit ÷ cost × 100. Margin and markup use the same profit but divide by different numbers.
- Target price = cost ÷ (1 − margin ÷ 100). Markup that gives the same result = margin ÷ (100 − margin) × 100.
- Break-even units = (fixed costs + profit goal) ÷ (price per unit − variable cost per unit), rounded up to whole units.
- Break-even assumes the price and variable cost per unit stay constant, and that you sell every unit you count. Real costs often step up as volume grows.
- Method: these are definitions and algebra, not data. No industry margins, benchmarks or tax rules are built in.
Educational calculation only, not accounting or tax advice. Use your own records for real decisions.
Runs entirely in your browser. Nothing you type or upload is sent to our servers.
How the profit margin calculator works
Choose one of three modes. The first finds gross and net margin from revenue and costs, and shows the markup on the same sale. The second sets a selling price that gives a target margin. The third finds how many units cover your fixed costs and, if you wish, a profit goal. Money is computed in whole cents.
Worked example 1: margin and markup
Revenue $1,000.00, cost of goods $600.00, other expenses $150.00. Gross profit = 1,000 − 600 = $400.00, so the gross margin is 400 ÷ 1,000 = 40% and the markup on cost is 400 ÷ 600 = 66.67%. After other expenses, profit is 400 − 150 = $250.00, a net margin of 250 ÷ 1,000 = 25%.
Worked example 2: price for a target margin
An item costs $60.00 and you want a 40% margin. Price = 60 ÷ (1 − 0.40) = $100.00, profit is $40.00, and that equals a 66.67% markup on cost.
Worked example 3: break-even
Fixed costs are $5,000.00, you sell at $25.00 and each unit has $10.00 of variable cost. Each unit leaves 25 − 10 = $15.00, which is 60% of the price. Break-even = 5,000 ÷ 15 = 333.33, so 334 units. At 334 units revenue is $8,350.00 and profit is 334 × 15 − 5,000 = $10.00.
Margin or markup?
Quote margin when you talk about how much of each sale you keep, and markup when you build a price up from cost. Mixing them up is a common pricing error: a 50% markup is only a 33.33% margin. The Markup Calculator converts between the two and has a reference table.
Related tools
Measure what a customer is worth with the LTV Calculator, add tax with the Sales Tax Calculator, or see what a sale does to your price with the Discount Calculator.
Frequently asked questions
How do I calculate profit margin?
Subtract the cost from the revenue to get profit, divide by revenue, and multiply by 100. If you sold $1,000.00 of goods that cost $600.00 to buy, gross profit is $400.00 and the gross profit margin is 400 ÷ 1,000 = 40%. Subtract other expenses first if you want the net profit margin instead.
What is the difference between margin and markup?
Both use the same profit, but margin divides it by the selling price while markup divides it by the cost. A $60.00 item sold for $100.00 earns $40.00: a 40% margin but a 66.67% markup. Markup is always the larger number for any profitable sale. For conversions and a reference table, use the Markup Calculator.
How do I set a price to reach a target margin?
Divide your cost by (1 − the margin as a decimal). For a 40% margin on a $60.00 cost, the price is 60 ÷ 0.60 = $100.00. Adding 40% to the cost would give only $84.00, which is a 28.57% margin, so the two calculations are not interchangeable.
What is a break-even point?
It is the sales volume at which total revenue equals total costs, so profit is zero. Divide fixed costs by the profit each unit contributes after its variable cost. With $5,000 of fixed costs and $15.00 left per unit, you need 333.33 units, so 334 whole units. Add a profit goal to find the volume that earns it.
What is the difference between gross and net margin?
Gross margin counts only the direct cost of the goods you sold. Net margin also subtracts the other expenses you enter, such as rent, wages and marketing. A business can have a healthy gross margin and a thin net margin if its other expenses are large. Enter both figures to see each.
What is a good profit margin?
It varies by business and the cost of what you sell, and this calculator does not include industry benchmarks, so it cannot tell you what is good. Compare your result against your own earlier periods, your costs and your goals, or against figures from a trade source that you trust for your industry.
Is my data saved or sent anywhere?
No. The math runs in your browser, nothing is stored and nothing you enter is sent to our servers. Analytics record only that the tool was used, never the numbers you type, and you do not need an account.
Link to this tool
Found it useful? Copy a link for your page, newsletter or documentation.
Get new tools and guides by email
Optional. The tool above works without signing up.
More free tools
Browse all business & productivity or the full list of free tools.
- Placeholder Text GeneratorGenerate dummy placeholder text by paragraphs, sentences or words, starting with the classic Latin opening line, with optional HTML tags. Runs in your browser.
- Email Signature GeneratorBuild an HTML email signature with your name, contact details, links and optional image, then copy it as rich text or HTML. Nothing is uploaded or stored.
- Time Zone Converter for MeetingsConvert a date and time from one time zone to several others at once, with daylight saving time handled from your browser's time zone database.
- Word & Character CounterCount words, characters, sentences and paragraphs, and estimate reading and speaking time instantly.
- Budget Calculator with an Editable 50/30/20 SplitPlan a monthly budget from your income after taxes, compare needs, wants and savings with targets you can edit, and see how much income is still unassigned.
- Net Worth Calculator: Assets Minus LiabilitiesList what you own and what you owe to see your net worth, total assets, total debts and the largest items. Nothing is saved or sent anywhere.