Margin & Markup Calculator
Calculate gross and net margin, markup, profit, break-even, discounts, fees, taxes, and batch product economics locally.
Margin and markup calculator features
Solve pricing and profit from cost, revenue, discounts, taxes, fees, and target margins.
- Gross and net margin, markup, profit, discount, tax, and break-even solving
- Fill any known values and solve the missing price, cost, margin, or profit
- Industry presets for retail, keystone, restaurant, grocery, electronics, and SaaS
- Shipping, platform fees, other costs, units, and per-unit economics
- Batch product/service analysis with CSV import and export
- Currency selection, decimal precision, formula steps, and explanations
- Local calculation history with restore, delete, copy, print, and share
- Browser-only processing with no account or data upload
How to use this margin calculator
- Enter cost, revenue, margin, markup, or profit values.
- Add discounts, taxes, shipping, fees, and other costs for net economics.
- Choose a preset, currency, precision, and gross/net mode.
- Analyze batches, save history, and export or print the result.
Frequently asked questions
What is the difference between margin and markup?
Margin is profit as a percentage of selling revenue. Markup is profit as a percentage of cost, so the same price and cost produce different percentages.
Can this calculator solve for a selling price?
Yes. Enter cost and a target margin or markup, or fill any other compatible values, and the solver calculates the missing value.
What is net margin?
Net margin accounts for discounts, taxes, shipping, platform fees, and other costs in addition to direct cost, giving a fuller view of profit per sale.
Margin Calculator
Fill any known values and leave the rest blank to auto-solve. Batch mode, CSV import, history and industry presets included.
Inputs
Formulas
Margin = (Revenue − Cost) / Revenue × 100
Markup = (Revenue − Cost) / Cost × 100
Net revenue = Revenue × (1 − Discount / 100)
Net margin = (Net revenue − Cost) / Net revenue × 100
Gross Profit = Revenue − Cost
Operating Margin = Operating Profit / Net Revenue × 100
Break-even price = Total cost (zero profit)
Gross Margin
Solved from inputs
KPI Summary
History
No saved calculations yet — press "Save to history" after a calculation.
Batch / Multi-product
Compute margins for many products at once (0 competitors offer this).
No rows yet — add a row, load the sample, or import a CSV with name,cost,revenue,units columns.