Markup and Margin Calculator

Find the selling price needed to hit a target margin.

Start from the percentage you want to keep rather than a price you guessed at. Give it your cost and a target margin and it returns the selling price that hits it, the profit that leaves per unit, and the markup that same price represents.

How to use Margin Calculator

  1. 1

    Enter cost price.

  2. 2

    Enter your target margin percentage.

  3. 3

    Get the required selling price.

Markup vs margin

Markup measures profit against what you paid: (price − cost) ÷ cost. Margin measures the same profit against what you charged: (price − cost) ÷ price. They are never equal, and mistaking one for the other is the classic pricing error.

A ₹800 item sold at ₹1,231 carries a 54% markup but a 35% margin. Both figures are shown here so you can quote whichever one your supplier or accountant is using.

Pricing to a target margin

The selling price for a target margin is cost ÷ (1 − margin ÷ 100). At a 35% target on an ₹800 cost that is ₹1,230.77 before tax.

Set the price before you add GST, not after — tax is collected on behalf of the government and was never part of your margin.

What to do next

About this tool

Margin Calculator is part of the MyShopBuy business tools collection — a free suite built for people who need a reliable result in seconds, not another signup form. Find the selling price needed to hit a target margin. Processing happens entirely inside your browser using modern web APIs, so nothing is uploaded, queued or stored. That makes it fast enough for daily use and safe enough for sensitive documents.

There are no watermarks, no file-count limits and no paywalls. If you use it often, create a free account to keep favourites and history in sync across your devices.

Frequently asked questions

Related tools

All Business Tools

Profit Calculator

Work out profit, markup and margin from cost and selling price.

Discount Calculator

Calculate sale price, savings and effective discount instantly.

GST Calculator

Add or remove GST at any rate with a CGST/SGST split.