Profit Margin Calculator: Gross, Operating & Markup
Calculate gross profit, pre-tax operating margin, markup, break-even price, and target operating-margin selling price from costs and revenue.
Unit economics and period costs
Profitability summary
Discounts reduce revenue. Percentage fees apply to discounted sale price. Gross margin excludes selling costs; operating profit also subtracts fees, acquisition cost, variable costs, and period overhead. Operating profit is before tax, interest, depreciation, and non-operating items; it is not accounting net profit.
Gross margin = (discounted sale price − COGS) ÷ discounted sale price. Operating profit also subtracts variable costs, fees, acquisition cost, and period overhead. Target list price accounts for discounts and percentage fees.
Profit Margin Calculator features
Calculate gross profit, gross margin, contribution profit, pre-tax operating margin, markup, break-even price, and the selling price needed to reach a target operating margin.
- Separate gross profit from contribution and operating profit
- Calculate gross and pre-tax operating margin plus markup
- Include variable costs, percentage and fixed fees, ad cost, and period overhead
- Compare discounted revenue, break-even list price, and target-margin list price
- Analyze total revenue and profit across units sold
- Clearly distinguish margin on revenue from markup on cost
Profit Margin Calculator FAQ
How do you calculate profit margin?
Profit margin is profit divided by revenue, multiplied by 100. This calculator applies discounts to selling price, computes gross margin after COGS, and pre-tax operating margin after fees and other entered costs. It excludes tax, interest, depreciation, and non-operating items, so it is not accounting net profit.
What is the difference between margin and markup?
Margin divides profit by selling revenue. Markup divides profit by cost. Their percentages differ for the same sale.
How does overhead affect operating margin?
This calculator subtracts the period overhead from contribution profit after allocating it across the entered units sold. The result is before tax, interest, depreciation, and non-operating items.
How do I find a selling price for a target margin?
The target list price accounts for COGS, other per-unit costs, overhead allocated per unit, percentage and fixed fees, customer acquisition cost, and the planned discount.
How to calculate product profit margin
- Enter selling price, COGS, selling fees, discounts, and other variable costs per unit.
- Add units sold and the fixed overhead for the same period.
- Compare gross margin with operating margin and review break-even and target prices.
Related tools: Product pricing calculator and Business margin calculator.
Research sources: Shopify profit margin calculator and Investopedia net margin definition.