ToolXkit Icon

Margin Calculator

Work out margin, markup or the price, with tax if you need it.

  • Free
  • No signup
  • Nothing uploaded
  • No watermark
40%
Gross margin
profit as a share of the price
66.67%
Markup
profit as a share of the cost
Profit per unit
40.00
Cost as a share of price
60%
Why they differ
66.67% markup and 40% margin are the same sale. For example, a 50% markup is a 33.3% margin.

Margin is profit divided by the selling price. Markup is the same profit divided by the cost. Markup is always the bigger number: a 50% markup is a 33.3% margin, and a 100% markup is a 50% margin. The tax setting only applies to the selling price. The cost is taken without tax, as a registered business claims back the tax on what it buys.

How to Calculate Profit Margin and Markup

Margin Calculator: before and after DATA A YOUR INPUT MARGINCALCULATOR DONE A RESULT

Shopkeepers, resellers and freelancers mix up margin and markup all the time, and it costs money. Buy at 60, sell at 100, and your profit is 40: that is a 40 percent margin but a 66.7 percent markup. Quoting one as the other quietly underprices everything.

This calculator works in three directions. Find the margin from cost and price, find the price you need for a target margin, or find the most you can pay for stock and still hit your margin. It also handles GST or VAT and a quantity, and the results update as you type.

No software to install Free Works on any device

Steps to Work Out Your Margin

  1. 1. Choose what to work out

    Pick Margin from cost and price, Price from cost and target margin, or Cost from price and margin.

    MarginPriceCost

  2. 2. Enter the numbers

    Fill in the cost, selling price and target margin as the mode needs. The hint under each box says when it is not used.

  3. 3. Add tax if it applies

    Type your GST or VAT rate and say whether the selling price includes or excludes it. Leave it at 0 if tax does not apply.

  4. 4. Read margin, markup and profit

    Gross margin, markup and profit per unit appear first. Add a quantity to see total profit and total revenue too.

Try it now

What Is a Margin Calculator?

It works out gross margin, which is profit divided by the selling price, alongside markup, which is profit divided by the cost. When tax is included, the calculator first takes the tax out of the price, because GST or VAT is collected for the government and is not your income. The cost is treated as your net cost, since a registered business reclaims the tax it pays on purchases.

See an Example

Input

Cost 60, selling price 100

Result

Gross margin 40%
Markup 66.67%

Both are shown because they are different numbers for the same sale, and quoting one as the other is a costly mistake.

Why Use Free Online Calculators?

Loan instalments, tax, marks, calories and paint for a room all involve formulas most people do not remember. A calculator built for each question asks for the right numbers and shows the answer as you type.

“The right formula turns a worry into a number.”
  • Answers update as you type
  • EMI and interest worked out
  • Marks and CGPA converted
  • Home project materials estimated
  • No formulas to memorise
  • Tax regimes compared side by side
  • Health numbers explained plainly
  • Your figures stay private

Popular Uses for Everyday Calculators

People use these for money, study, health and home jobs.

  • Home and car loans Work out the monthly EMI and total interest before signing a loan offer.
  • SIP planning See how a monthly SIP could grow over ten or twenty years at an assumed return.
  • Income tax choice Compare the old and new tax regimes to see which leaves more in hand.
  • CGPA to percentage Convert a CGPA to a percentage for a job form or admission application.
  • Health checks Find your BMI, daily calories or heart rate zones from a few simple numbers.
  • Home improvements Estimate paint, tiles, bricks or concrete before buying, so less is wasted.
  • Shopping discounts Check what a sale price really comes to after the discount and GST.
  • Due dates Estimate a pregnancy due date or ovulation window from the date of the last period.

What the Margin and Markup Tool Gives You

Three ways round

Solve for margin, selling price or maximum cost, whichever question you are actually facing.

GST and VAT aware

Tax-inclusive prices are split into the price before tax and the tax collected, and the margin is worked on the net figure.

Totals for a batch

Enter a quantity to see the profit and revenue on a whole order or a month's sales.

Margin versus markup explained

A result line shows both numbers for your own sale, so you can see how far apart they are.

Why Use ToolXkit for Margin Calculator?

Your files stay with you

Everything runs inside your browser. Nothing you open or type is uploaded to a server.

Calculators for Different Users

Students

Convert CGPA, check required attendance and work out marks needed in the next exam.

Salaried employees

Check take-home pay, HRA exemption, gratuity and which tax regime suits you.

Investors

Compare SIP, PPF and compound interest returns before choosing where to put savings.

Home owners and builders

Estimate materials for painting, tiling, flooring and concrete work before visiting the shop.

Health and fitness

Track BMI, calories and heart rate zones, and time workouts with interval timers.

Small businesses

Work out margins, break-even points and marketplace fees before setting a price.

Best Times to Run the Numbers

A quick calculation helps when you are:

  • Comparing two loan offers
  • Filing your income tax return
  • Converting CGPA for a form
  • Planning a monthly investment
  • Buying paint or tiles
  • Starting a fitness plan
  • Pricing a product to sell
  • Scaling a recipe for guests

Tips for Pricing With Margins

  1. Include every cost in the cost figure: purchase price, shipping, packaging and platform fees. Leaving one out inflates the margin.

  2. On Amazon or Flipkart, subtract marketplace commission from your price before calculating, or add it to the cost.

  3. In India, set GST to your product's slab, such as 5, 12 or 18 percent, and choose 'Includes tax' if your MRP is tax-inclusive.

  4. Use the Price mode before a sale. It tells you the lowest price that still keeps your target margin.

  5. Results carry no currency symbol, so the calculator works the same for rupees, pounds, dollars or euros.

Frequently Asked Questions

Answers to common questions about this tool.

What is the difference between margin and markup?

Both use the same profit. Margin divides it by the selling price; markup divides it by the cost. Buying at 60 and selling at 100 is a 40 percent margin and a 66.7 percent markup. Markup is always the bigger number.

How do I calculate the selling price from a margin?

Divide the cost by one minus the margin. For a 40 percent margin on a cost of 60, that is 60 divided by 0.6, which gives 100. Choose the Price mode and the calculator does this, adding tax if you enter a rate.

What is a good profit margin for a small business?

It depends heavily on the trade. Grocery and electronics retail often runs on thin margins, while handmade goods, services and software can be much higher. Compare with others in your own trade rather than a general rule.

Should GST be included when calculating margin?

No. GST is collected for the government, so the margin is worked on the price before tax. If your selling price includes GST, choose 'Includes tax' and the calculator removes it first.

Can I get a 100 percent margin?

Only if the goods cost nothing. A 100 percent margin would mean every rupee of the price is profit, so the calculator refuses targets of 100 percent or more and explains why.

How accurate is Margin Calculator?

It uses the standard formula for the calculation, so the maths is exact for the numbers you enter. For loans, tax and investments, treat the answer as a close estimate and confirm the final figure with your bank or adviser.

Does Margin Calculator save the numbers I enter?

No. Your figures are worked out in the browser and are not sent to any server or stored in an account. Salary, loan and health details stay on your device.

Are the income tax calculators up to date?

They are built on the slabs published by the Income Tax Department for the year shown on each page. Rules change with each Budget, so confirm the figures on the official portal before you file.

Can I rely on these calculators for health decisions?

They are good for a quick check, such as BMI or daily calories. They are not a medical diagnosis, so talk to a doctor before changing medicine, diet or treatment based on a result.

Do I need to install an app?

No. Every calculator runs in the browser on your phone or computer, with no download and no sign-up. Bookmark the page if you use it often.

Further reading

More Calculators

Other free tools for the same kind of job.

Browse all tools