Skip to main content

Pricing & Profit

Profit Margin Calculator

Find your profit margin from cost and price — or the price you need to charge to hit a target margin.

lockRuns in your browser

Your numbers

boltQuick examples — click to test:
$

Product + shipping + fees per unit

$

Results

Profit margin

60%

$18.00 profit per unit

Selling price
$30.00
Cost
$12.00
Profit per unit
$18.00
Markup
150%

Continue with your numbers

Download your results

Branded KleverKlimb report with your inputs and results.

How it works

The formula

Exactly what this calculator does with your numbers — no hidden assumptions.

Profit margin
Margin = (price − cost) ÷ price × 100. It tells you what share of each sale you keep.
Price for a target margin
Price = cost ÷ (1 − target margin). A $12 cost at a 40% margin needs a $20 price.
Margin vs markup
Markup divides profit by cost; margin divides profit by price. A 50% markup is only a 33.3% margin.

Markup needed for common margins

The markup and price formula for each target margin.

Profit Margin vs Markup (2026): Formulas, Conversion Table & Real E-Commerce Math

7-minute guide · Margin vs markup explained with real e-commerce examples, a full conversion table, marketplace fee traps and the exact formula to hit your target margin.

FAQ

Questions, answered

What is a good profit margin for e-commerce?
It varies by category, but many online sellers aim for a 20–40% net margin after all costs. Low-price items usually need higher margins to cover fixed fees and shipping.
What should I include in cost?
Everything it takes to sell one unit: product cost, inbound shipping, packaging, marketplace and payment fees, outbound shipping you pay, and advertising per sale if you want a net margin.
Why is my margin lower than my markup?
Because margin is based on the selling price (a bigger number) and markup on the cost. The same profit is always a smaller percentage of price than of cost.

Keep going

Related tools & guides

The calculators and guides sellers use alongside this one.