Skip to content
Outilix: all your free online tools, one click away, with Kroma the chameleon

Margin and markup calculator

Kroma

Gross margin is profit divided by the selling price. Markup is profit divided by cost. If an item costs $60 and sells for $100, profit is $40, gross margin is 40% and markup is 66.67%. Enter any two values below to find the third, or the selling price needed for a target margin.

  • ✅ Free
  • 🔒 No sign-up
  • 📱 Works on mobile
  • ⚡ Instant results
Loading the tool…

Estimate only. Gross margin ignores overhead such as rent, payroll, shipping and marketing, so it is not the same as net profit.

🔒 Everything runs in your browser. Your data and files never leave your device.

Gross margin vs. markup

Both measure the same profit against a different base.

\[ \text{gross profit} = \text{selling price} - \text{cost} \]

\[ \text{gross margin}\% = \dfrac{\text{profit}}{\text{selling price}} \times 100 \]

\[ \text{markup}\% = \dfrac{\text{profit}}{\text{cost}} \times 100 \]

Markup can exceed 100%; gross margin never can. Mixing the two up is the most common pricing mistake: a 50% markup is only a 33.3% margin.

Converting markup to margin

\[ \text{margin}\% = \dfrac{\text{markup}}{100 + \text{markup}} \times 100 \]

MarkupGross marginMultiplier
25%20%1.25
50%33.33%1.50
100%50%2.00
150%60%2.50

To price from a target: selling price = cost × (1 + markup), or cost ÷ (1 − gross margin).

3 real-life examples

1

Cost $60, price $100

Gross profit = 100 − 60 = $40. Markup = 40 ÷ 60 = 66.67%. Gross margin = 40 ÷ 100 = 40%.

2

Pricing a $50 product for a 40% margin

Selling price = 50 ÷ (1 − 0.40) = $83.33. Profit is $33.33, which is a 66.67% markup.

3

How much can you pay for a $200 item?

You want a 35% gross margin on a $200 selling price. Maximum cost = 200 × (1 − 0.35) = $130.

Frequently asked questions

What is the difference between margin and markup?
Margin is profit as a percentage of the selling price. Markup is profit as a percentage of cost. For the same sale, markup is always the larger number.
How do I calculate selling price from a markup?
Multiply cost by 1 plus the markup. A $80 cost with a 25% markup sells for 80 × 1.25 = $100.
How do I calculate gross margin percentage?
Subtract cost from the selling price, divide by the selling price, and multiply by 100. A $40 profit on a $100 sale is a 40% gross margin.
What is a good profit margin?
It depends on the industry. Retail and grocery often run on thin margins while software and luxury goods run on much higher ones. Compare against businesses like yours.
Is gross margin the same as net profit?
No. Gross margin only subtracts the direct cost of the item. Net profit also subtracts overhead such as rent, salaries, shipping, fees and taxes.

How we calculate

Share this page