Margin Calculator – Gross Margin, Profit Margin & Markup

Instantly measure profitability by comparing selling price vs costs. Model returns/discounts and fees/taxes, then visualize revenue, costs, and profit in one chart.

Validated Inputs
Instant Updates
Profit Breakdown
Estimated Net Profit
$0

Revenue vs Cost vs Profit

The bars show your effective revenue, total costs, and resulting net profit per unit.

Calculate Margin & Markup

Enter selling price and cost. Optionally include returns/discounts and platform/payment fees or taxes to estimate net profit.

$120
Use the actual selling price customers pay before returns/discount effects. If you price in bundles, use per-unit values for clarity.
$70
Include product cost + inbound shipping + packaging that scales per unit. Exclude fixed overheads unless you allocate them.
5.00%
This reduces effective revenue. Use a blended % for coupons, refunds, return rates, and credit notes.
3.00%
Typical examples: marketplace commission, payment gateway fee, or sales tax/VAT you absorb. Applied to effective revenue.
$8
Per-unit shipping subsidy, pick/pack, ad spend per order, or warranty reserve. This is added to costs directly.
Gross Margin %
0.00%
Net Margin %
0.00%
Net Profit (per unit)
$0
Effective Revenue $0
Gross Profit $0
Gross Margin 0.00%
Markup (on COGS) 0.00%
Net Profit Margin 0.00%
Break-even Selling Price $0

Smart Tips

Margin vs markup: markup is profit ÷ cost; margin is profit ÷ revenue. They are not interchangeable.
Model reality: include discounts/returns and platform fees to avoid overestimating profit.
Watch price sensitivity: small price cuts can shrink margin faster than expected.
Use break-even price: treat it as your minimum sustainable price when costs and fee rates are stable.
Compare scenarios: test alternate fee rates (marketplaces/payment rails) before switching channels.

Revenue vs Cost vs Profit

Same chart optimized for mobile viewing.

How to Use Margin Calculator

1

Select Currency

Choose INR, USD, or GBP from the top header menu. Amount formatting updates instantly (no FX conversion).

2

Enter Price & Cost

Set selling price and COGS per unit. These drive gross profit, gross margin, and markup.

3

Include Real-World Adjustments

Add discount/returns impact, revenue-based fees/taxes, and per-unit variable costs for a net margin estimate.

4

Review Results & Chart

See effective revenue, total costs, gross/net margins, markup, and the break-even selling price.

Understanding Margin Calculation

What is a Margin Calculator?

A margin calculator estimates how much profit you keep after accounting for costs. It helps businesses and sellers evaluate pricing, compare channels (direct vs marketplace), and quantify how discounts, returns, and fees change profitability.

How is Margin Calculated?

This tool computes both gross margin (profit after COGS) and net profit margin (profit after COGS + variable fees/taxes + extra per‑unit variable cost). It also computes markup, which measures profit relative to cost.

Core Formulas Used

Effective Revenue = Selling Price × (1 − Discount/Returns %)

Gross Profit = Effective Revenue − COGS

Gross Margin % = (Gross Profit ÷ Effective Revenue) × 100

Revenue Fees/Taxes = Effective Revenue × (Fee/Tax %)

Net Profit = Effective Revenue − COGS − Revenue Fees/Taxes − Extra Variable Cost

Net Profit Margin % = (Net Profit ÷ Effective Revenue) × 100

Markup % = (Gross Profit ÷ COGS) × 100

Break-even Selling Price = (COGS + Extra Variable Cost) ÷ ((1 − Discount/Returns %) × (1 − Fee/Tax %))

Factors Affecting Your Margins

Uses & Benefits

Pricing decisions

Find a profitable price and understand the minimum price needed to break even.

Channel comparison

Compare net margins across marketplaces and payment providers by adjusting fee rates.

Promotion planning

Test how discounts and expected returns impact profitability before running campaigns.

Risk control

Spot products with thin margins that are vulnerable to cost increases or fee changes.

Frequently Asked Questions

What is the difference between gross margin and net profit margin
Gross margin uses only revenue and COGS. Net profit margin further subtracts revenue-based fees/taxes and extra per-unit variable costs to estimate what you actually keep.
Why does markup differ from margin even when profit is the same
They use different denominators. Markup is profit ÷ cost, while margin is profit ÷ revenue. The same profit can produce very different percentages.
What should I put in discount/returns impact
Use a blended percentage reflecting average coupons and the revenue you lose from returns/refunds. If returns are 8% and average discounts are 5%, you might start with ~13% and refine from actual data.
Does currency selection convert values using FX rates
No. It only changes formatting and symbols (₹, $, £). Enter amounts in the currency you actually price and account in.
Is the break-even selling price always accurate
It's accurate for the model inputs: COGS, per‑unit variable cost, discount/returns rate, and revenue-based fee rate. If your fees are tiered, capped, or include fixed monthly charges, treat it as an estimate.

Trust & Notes

Disclaimer: This margin calculator provides an estimate based on your inputs and common accounting conventions (per-unit revenue and variable costs). It does not account for fixed overhead, inventory write-downs, tiered/capped fees, time-based promotions, chargebacks, or income taxes. Use it for planning and scenario testing; consult an accountant for official reporting.