Margin Calculator — Profit, Markup & Pricing | Kalkmi
Kalkmi Clear answers, useful calculators
en

Margin Calculator — Profit, Markup & Target Price

Analyze gross margin, markup, net profit, fees, discounts, tax, overhead, break-even quantity, target prices, and pricing scenarios.

Starting points:

Product and order

Discounts and transaction costs

Net order profit
$1,256.99
$12.57 per unit · 34.92% net margin
Customer pays / unit$38.97Includes $2.97 tax
Net sales$3,600.00After discount, before pass-through tax
Gross profit$1,600.00Net sales minus product cost
Gross margin44.44%Gross profit ÷ net sales
Gross markup80.00%Gross profit ÷ product cost
Processing fees$143.01Percentage plus fixed fees
Net margin34.92%After fees and order overhead
Break-even quantity14 unitsUnits needed to cover order overhead

Order profit waterfall

Calculation breakdown

Gross margin = ($3,600 − $2,000) ÷ $3,600 = 44.44%
Sale price after discount
$36.00
Product cost
$2,000.00
Tax collected
$297.00
Contribution / unit
$14.57

Target price planner

Find a required list price and the maximum unit cost at your current price.

Required list price$43.58
Customer pays$42.45
Maximum cost at current price$18.17
Projected order profit$1,568.74

Compare pricing scenarios

Discount, fees, tax handling, and overhead stay shared across all three cases.

Current pricing

Net profit
Net margin

Higher price

Net profit
Net margin

Lower cost

Net profit
Net margin

Profit margin calculator for real pricing costs

Analyze a product, service, marketplace listing, or wholesale order using unit cost, list price, discounts, quantity, payment fees, fixed transaction charges, order overhead, and tax handling. Gross metrics stay separate from all-in net profit so each number has a clear meaning.

Margin vs. markup

Margin divides gross profit by net sales; markup divides gross profit by product cost. A product that costs $20 and sells for $40 has a 50% gross margin but a 100% markup. The percentages are related, but they are not interchangeable.

Calculate a selling price from target margin

Choose gross margin for the standard cost-based formula, gross markup for cost-plus pricing, or net margin to account for processing fees, fixed fees, overhead, discount, quantity, and tax treatment. The planner also shows the maximum cost that still meets the target at your current price.

Discounts, payment fees, and tax

Discounts reduce the listed price before revenue is calculated. Percentage processing fees apply to the full customer payment, while a fixed fee applies once per item in this model. Added and included tax are separated from net sales because collected sales tax or VAT is treated as pass-through money.

Break-even quantity and contribution

Contribution per unit is net revenue minus unit cost and transaction fees. Break-even quantity divides order overhead by positive unit contribution and rounds up to a whole unit. If contribution is zero or negative, selling more units cannot cover the overhead.

Compare pricing scenarios

Use the scenario workspace to compare a price increase with a cost reduction while holding shared commercial assumptions constant. The result separates changes in net profit from changes in net margin, which helps expose high-revenue scenarios that still produce weak economics.

Margin and markup formulas

MetricFormulaBest used for
Gross profitNet sales − product costProduct economics before fees and overhead
Gross marginGross profit ÷ net sales × 100Share of sales retained before other costs
Gross markupGross profit ÷ product cost × 100Cost-plus pricing
Net marginNet profit ÷ net sales × 100All-in order profitability

Frequently asked questions

Is a 50% margin the same as a 50% markup?

No. At a 50% margin, profit is half of the selling price, so price is twice cost and markup is 100%. A 50% markup on cost produces a 33.33% margin.

Should sales tax be included in profit margin?

This calculator excludes collected sales tax or VAT from net sales and profit. Tax handling can differ by jurisdiction and accounting policy, so use the result for planning rather than tax filing.

Why can a profitable gross margin produce a loss?

Gross margin only subtracts product cost. Processing fees, marketplace charges, discounts, and order overhead can consume the remaining gross profit, which is why the calculator also reports net profit and net margin.

Method and sources

The standard gross-margin formula follows Shopify’s profit margin guidance. Cost-plus markup and pricing context follow Stripe’s product pricing guide. The percentage-plus-fixed fee model and fee treatment on the full transaction amount follow Stripe’s merchant discount rate overview. Actual accounting, tax, and payment-provider rules may differ.

Was this calculator helpful?

Help improve Kalkmi Report an issue or request a useful calculator.
Report a bug Suggest a calculator
Text copied
Removal error
Restore error
Calculator published
Calculator unpublished
Feedback sent
Done
Error
Author received:++
Calculator removed