Browse all calculators โ†’
Homeโ€บ Calculatorsโ€บ Business Toolsโ€บ Profit Margin Calculator

Profit Margin Calculator
with Margin, Markup, Target Price, Discount Impact and Batch Profit

Calculate gross margin, markup, required selling price, discount damage, net profit, net margin, and batch profitability. Includes multi-mode analysis, scenario tables, charting, and pricing interpretation.

Currency
๐Ÿ’ผ
Profit Margin Calculator
Mode A: Margin Calculator
$
Cost per unit before selling.
$
Actual unit selling price.
qty
Used to derive revenue and total profit.
$
Optional expense amount deducted after gross profit.
mode
Controls how operating expense is interpreted.
Mode B: Markup to Price
$
Base cost per unit.
%
Markup is measured against cost, not selling price.
Mode C: Target Margin Price
$
Cost per unit before pricing.
%
Margin is measured against selling price. Must be below 100%.
Mode D: Discount Impact
$
Price before discount is applied.
%
Discount must be between 0 and 100.
$
Cost per unit used to measure damage to profit.
Mode E: Business Batch View
qty
Total units sold in the batch.
$
Direct cost per unit.
$
Selling price for each unit sold.
$
Costs deducted after total gross profit.
view
Only changes text interpretation, not formula.
Method note
Margin and markup are not the same. Margin is profit as a percentage of selling price. Markup is profit as a percentage of cost. This calculator separates those two cleanly and also shows revenue, gross profit, net profit, target pricing, and discount damage.
Primary Result
โ€”
mode-specific commercial output
Gross Profit
โ€”
per unit or total depending on mode
Gross Margin
โ€”
profit as a percentage of selling price
Markup
โ€”
profit as a percentage of cost
Net Profit
โ€”
after expenses or fixed costs
Net Margin
โ€”
net profit as a share of revenue
Revenue
โ€”
top-line revenue from the modeled case
Profit Per Unit
โ€”
useful for pricing and unit economics
Revenue Side
Selling priceโ€”
Revenueโ€”
Gross profitโ€”
Profit per unitโ€”
Cost Side
Costโ€”
Operating / fixed costsโ€”
Total costโ€”
Profit after expensesโ€”
Commercial interpretation: Waiting for calculation.
Full Breakdown
Costโ€”
Priceโ€”
Unitsโ€”
Revenueโ€”
Gross profitโ€”
Markup %โ€”
Margin %โ€”
Expenses / fixed costsโ€”
Net profitโ€”
Net margin %โ€”
Scenario Analysis
Commercial Comparison Chart
Revenue / Price
Cost
Gross profit
Net profit
This calculator is a pricing and business analysis tool. It shows accounting-style margin and markup math, but it does not replace product strategy, taxes, VAT treatment, channel fees, shipping models, or local accounting advice.
โœฆ Cal, AI Explanation
Cal is reviewing your pricing and margin result...
๐Ÿ’ฌ Ask Cal about your pricing result
Cal
Your pricing result is ready. Ask me about margin vs markup, how much price needs to rise, or why discounting hurts profit faster than expected.

Difference between profit margin and markup

Margin and markup are often confused, but they measure profit from two different bases. Margin measures profit as a percentage of selling price. Markup measures profit as a percentage of cost. Those two percentages are not interchangeable, and treating them as if they were the same often leads to underpricing.

The core formulas

Gross Profit = Selling Price โˆ’ Cost
Gross Margin % = (Selling Price โˆ’ Cost) รท Selling Price ร— 100
Markup % = (Selling Price โˆ’ Cost) รท Cost ร— 100
Target Price from Margin = Cost รท (1 โˆ’ Target Margin)
Margin is based on price. Markup is based on cost. That is why a 50% markup does not equal a 50% margin.

How to choose a selling price

A profitable price has to do more than cover direct cost. It also needs to leave room for overhead, discounts, channel commissions, mistakes, returns, and growth. A price that looks profitable at the gross level can still underperform badly once operating expenses are included.

That is why this tool includes both per-unit and batch profitability views.

Metric Best For What It Answers
Gross marginPricing qualityHow much of the selling price remains after direct cost
MarkupCost-based pricingHow much profit is added above cost
Net profitBusiness realityWhat remains after expenses
Target pricePricing designWhat price is needed to hit a chosen margin

Why discounts can hurt profit faster than expected

A discount cuts price directly, but cost usually does not fall with it. That means even a modest discount can erase a large share of gross profit. The lower the original margin, the more dangerous discounting becomes.

This is why businesses often feel strong top-line sales during promotions while still seeing weak bottom-line results.

How batch sales and fixed costs affect real profit

Per-unit margin can look healthy, yet the business can still struggle because batch revenue is not high enough to absorb fixed costs. Batch mode shows the difference between unit economics and actual business profitability once fixed costs are deducted.

Frequently Asked Questions

What is a good profit margin?+
That depends on the industry, business model, return rates, and operating complexity. A good margin is one that leaves enough room for fixed costs, risk, growth, and pricing pressure while still producing attractive net profit.
What is the difference between margin and markup?+
Margin is profit divided by selling price. Markup is profit divided by cost. They describe the same profit from different starting points, so the percentages are different.
Can I have positive markup and low margin?+
Yes. That is common. A product can have a decent markup on cost and still produce a relatively low margin once measured against the selling price.
Why does discounting reduce profit so much?+
Because the discount cuts price immediately while cost often stays the same. Profit is the narrow gap between price and cost, so reducing price compresses that gap very quickly.
How do I calculate target price from desired margin?+
Divide cost by one minus the desired margin as a decimal. For example, a cost of 40 and a desired margin of 35% requires a price of 40 รท 0.65 = 61.54.