Free tool

Free Markup & Margin Calculator

Find your selling price, margin, markup, and profit per unit — whichever numbers you already know. No signup, no cost, nothing sent to a server.

100% client-side — nothing is sent to a server

How to use it

  1. 1
    Pick what you already know

    Choose cost + margin, cost + selling price, or selling price + margin — the tool adapts to whatever data you have.

  2. 2
    Enter your numbers

    Type in your cost, price, and/or target margin.

  3. 3
    Read the full breakdown

    See cost price, selling price, margin %, markup %, and profit per unit together — no matter which mode you started in.

  4. 4
    Adjust and compare

    Results update live as you type, so you can test different price points instantly.

Margin vs markup: what's the difference?

These two numbers get mixed up constantly, and the mix-up can quietly wreck your pricing. Margin is your profit as a percentage of the selling price. Markup is your profit as a percentage of the cost price. Same dollars of profit, different denominator — so the percentages are never equal (except at 0%).

Price using markup when you meant margin, and you'll systematically underprice every product you sell — a 50% markup only produces a 33.3% margin, not 50%.

CostSelling priceMarginMarkup
$40$6033.3%50%
$40$8050%100%
$40$10060%150%

Common questions

Margin is profit as a percentage of the selling price: (Selling Price − Cost) / Selling Price. Markup is profit as a percentage of the cost price: (Selling Price − Cost) / Cost. Same dollar profit, different percentage — because they're measured against different bases.

Built by the Stocky team

Setting prices product-by-product in a spreadsheet?

Stocky lets you set pricing rules, track margins, and manage your whole catalog in one place — install it for your own store, or launch it as your own SaaS platform.