You know what you paid for a product and what you’re selling it for — but what’s your actual margin? If pricing decisions stall because “is 30% good? and 30% of what, exactly?”, the fix is a small set of formulas you can run in seconds.

This guide covers the three calculations every seller needs — profit, margin and markup — using one worked example throughout, explains the margin-vs-markup mix-up that trips up even experienced sellers, and shows how to solve a selling price backwards from a target margin.

What Margin Is — the Selling Price Is the Base

Margin is the share of the selling price that is profit:

margin = profit ÷ selling price × 100

Only two inputs are needed:

  • Cost: what it took to acquire the item (wholesale price, plus anything you spent to get it listed)
  • Selling price: what the customer pays

Profit is “selling price − cost”. For an item costing 700 yen and selling at 1,000 yen, the profit is 300 yen and the margin is 300 ÷ 1,000 × 100 = 30%.

In three steps: subtract (1,000 − 700 = 300), divide (300 ÷ 1,000 = 0.3), convert to a percentage (× 100 = 30%).

In retail, “gross margin” describes the same idea at company scale — gross profit divided by revenue. Per product it’s usually just called margin.

Margin vs. Markup — the Classic Mix-Up

Alongside margin sits markup, which uses the cost as its base:

markup = profit ÷ cost × 100

The same 300 yen of profit reads differently depending on the base:

Metric Formula Cost 700, price 1,000 Typical use
Margin profit ÷ price × 100 30.0% Assessing revenue profitability
Markup profit ÷ cost × 100 ≈42.9% Designing prices from cost

The classic mix-up: A 100% markup does not mean a 100% margin. On an item costing 500 and selling for 1,000, the markup is 100% but the margin is only 50%. The gap widens as the cost gets smaller relative to the price, so always confirm which metric a quote or negotiation is using.

Working Backwards from a Target Margin

Pricing often starts the other way around: you know the margin you need and want the price. Solve it with:

selling price = cost ÷ (1 − target margin)

For a 700 cost and a 30% target: 700 ÷ 0.7 = 1,000 yen. Targets at other levels:

Target margin Selling price (cost 700) Profit Markup
20% 875 175 25.0%
30% 1,000 300 42.9%
40% ≈1,167 ≈467 66.7%
50% 1,400 700 100.0%

Two practical notes. First, work from the effective cost: include shipping, packaging and marketplace fees in the cost. If sourcing is 700 plus 100 shipping plus 100 in fees, the effective cost is 900, and a 30% margin needs about 1,286 — pricing off the bare 700 makes the deal look better than it is.

Second, the calculated price still has to clear the market. Raising the target margin raises the required price quickly, so the realistic sequence is: check the market price band, work out what margin that implies, then revisit the cost side until the plan works.

Discounts compress margins faster than most people expect. The same item at a 30% margin discounted from 1,000 to 900 earns 200 — a third of the profit gone, and the margin down 7.8 points to 22.2%. Run the numbers before committing to a discount.

Negative margins are information too: When the price is below the cost, the margin goes negative and shows the size of the loss per sale. That's useful when setting discount floors or deciding whether a clearance item is worth listing at all.

Calculate Margin in Your Browser

Hand calculations invite slips. The Tools Hub margin calculator takes the cost and selling price and instantly shows the profit, margin and markup — and has a second mode that solves the selling price from a target margin. Everything runs in your browser; nothing you enter is transmitted.

How to use it (3 steps)

1

Enter cost and price

Open the margin calculator and fill in the cost and selling price. The profit appears large, with margin and markup beside it.

2

Check losses as-is

If the price is below the cost, the profit and margin show negative — handy for finding the discount floor.

3

Solve prices in reverse

Switch to the reverse tab, enter the cost and a target margin, and the required selling price appears instantly.

Tool mentioned in this article

Margin Calculator

Profit, margin and markup instantly — plus reverse pricing from a target margin. In your browser, free.

Try it now

For the rest of the pricing picture, the discount calculator shows post-discount prices and rates, and the tax calculator untangles tax-inclusive pricing.

Summary

  • margin = profit ÷ selling price × 100 — the base is the price
  • markup = profit ÷ cost × 100 — the same profit, a different number
  • Reverse pricing: selling price = cost ÷ (1 − target margin); cost 700 at 30% needs 1,000
  • Include shipping and fees in the cost to price on the effective margin
  • Discounts hit profit hard: a 10% price cut took 30% margin down to 22.2% in the example
  • Tools Hub’s margin calculator runs every case free, in the browser

Next time a price “feels right”, run the margin first — the numbers decide, not the feeling.

FAQ

Should I use margin or markup?

Margin is better for discussing profitability of revenue; markup is better for designing prices from cost. The numbers differ substantially, so in team or supplier conversations always confirm which one is meant.

Is gross margin the same as margin?

The idea matches. Gross margin is gross profit divided by revenue at the company level; per product, sellers usually just call it margin. Same formula, different scope.

What is a good target margin?

It varies widely by industry, product and channel — fees and ad costs differ so much that a universal number would mislead. The reliable approach is to enter your true effective costs and check whether the price your market accepts still produces a workable margin.

What should I do if my margin is negative?

The price is below the cost. To keep selling, revisit the cost, raise the price or stop listing the item. For deliberate clearance, run the numbers so you know exactly how much each sale loses.

References