Omni Calculator logo
Last updated:

Margin Calculator

New

Table of contents

How to calculate profit marginGross margin formulaA note on terminologyMargin vs. markupFAQs

This margin calculator will be your best friend if you want to find out an item's revenue, assuming you know its cost and your desired profit margin percentage. That's not all, though; you can calculate any of the main variables in the sales process — cost of goods sold (how much you paid for the stuff that you sell), profit margin, revenue (how much you sell it for) and profit — from any two of the other values. In general, your profit margin determines how healthy your company is — with low margins, you're dancing on thin ice, and any change for the worse may result in big trouble. High profit margins mean there's a lot of room for errors and bad luck. Keep reading to find out how to find your profit margin and what is the gross margin formula.

We have a few calculators that are similar in nature — you can check out our margin and VAT calculator (or margin and sales tax) or margin with a discount calculator.

How to calculate profit margin

  1. Find out your COGS (cost of goods sold). For example $30\$30.
  2. Find out your revenue (how much you sell these goods for, for example, $50\$50).
  3. Calculate the gross profit by subtracting the cost from the revenue. $50$30=$20\$50 - \$30 = \$20
  4. Divide gross profit by revenue: $20/$50=0.4\$20 / \$50 = 0.4.
  5. Express it as percentages: 0.4100=40%0.4 \cdot 100 = 40\%.
  6. This is how you calculate profit margin... or simply use our gross margin calculator!

As you can see, the margin is a simple percentage calculation, but, as opposed to markup, it's based on revenue, not on cost of goods sold (COGS).

Check our markup calculator to learn the differences between margin and markup!

Gross margin formula

The formula for gross margin percentage is as follows:

gross margin = 100 × profit / revenue

(when expressed as a percentage). The profit equation is:

profit = revenue - costs

so an alternative margin formula is:

margin = 100 × (revenue - costs) / revenue

Now that you know how to calculate profit margin, here's the formula for revenue:

revenue = 100 × profit / margin

And finally, to calculate how much you can pay for an item, given your margin and revenue (or profit), do the following:

costs = revenue - margin × revenue / 100

A note on terminology

All the terms (margin, profit margin, gross margin, gross profit margin) are a bit blurry, and everyone uses them in slightly different contexts. For example, costs may or may not include expenses other than COGS — usually, they don't. In this calculator, we are using these terms interchangeably, and forgive us if they're not in line with some definitions. To us, what's more important is what these terms mean to most people, and for this simple calculation the differences don't really matter. Luckily, it's likely that you already know what you need and how to treat this data. This tool will work as gross margin calculator or a profit margin calculator.

So the difference is completely irrelevant for the purpose of our calculations — it doesn't matter in this case if costs include marketing or transport. Most of the time people come here from Google after having searched for different keywords. In addition to those mentioned before, they searched for profit calculator, profit margin formula, how to calculate profit, gross profit calculator (or just gp calculator), and even sales margin formula.

Margin vs. markup

The difference between gross margin and markup is small but important. The former is the ratio of profit to the sale price, and the latter is the ratio of profit to the purchase price (cost of goods sold). In layman's terms, profit is also known as either markup or margin when we're dealing with raw numbers, not percentages. It's interesting how some people prefer to calculate the markup while others think in terms of gross margin. It seems to us that markup is more intuitive, but judging by the number of people who search for markup calculator and margin calculator, the latter is a few times more popular.

FAQs

What's the difference between gross and net profit margin?

Gross profit margin is your profit divided by revenue (the raw amount of money made). Net profit margin is profit minus the price of all other expenses (rent, wages, taxes, etc.) divided by revenue. Think of it as the money that ends up in your pocket. While gross profit margin is a useful measure, investors are more likely to look at your net profit margin, as it shows whether operating costs are being covered.

Can profit margin be too high?

While a common sense approach to economics would be to maximize revenue, it should not be spent idly — reinvest most of this money to promote growth. Pocket as little as possible, or your business will suffer in the long term! There are also certain practices that, despite short-term profit, will cost you more money in the long run, e.g., importing resources from a country likely to be subject to economic sanctions in the future or buying a property that will be underwater in 5 years.

What is margin in sales?

Your sales margin is the product of the selling price of an item or service, minus the expenses it took to get the product to be sold, expressed as a percentage. These expenses include: discounts, material and manufacturing costs, employee salaries, rent, etc.

How do I calculate a 20% profit margin?

To calculate a 20% profit margin:

  1. Express 20% in its decimal form, 0.2.
  2. Subtract 0.2 from 1 to get 0.8.
  3. Divide the original price of your good by 0.8.
  4. There you go. This new number is how much you should charge for a 20% profit margin.

What is a good margin?

There is no definite answer to "what is a good margin" — the answer you will get will vary depending on whom you ask, and your type of business. Firstly, you should never have a negative gross or net profit margin; otherwise, you are losing money.

Generally, a 5% net margin is poor, 10% is okay, while 20% is considered a good margin. There is no set good margin for a new business, so check your respective industry for an idea of representative margins, but be prepared for your margin to be lower. For small businesses, employees are often your main expense.

How do I calculate margin in Excel?

While it's easier to use the Omni Margin Calculator, it is useful to know how to calculate margin in Excel:

  1. Input the cost of goods sold (for example, into cell A1).

  2. Input your revenue on the product (for example, into cell B1).

  3. Calculate profit by subtracting cost from revenue (In C1, input =B1-A1) and label it “profit”.

  4. Divide profit by revenue and multiply it by 100 (In D1, input =(C1/B1)) and label it “margin”.

  5. Right-click on the final cell and select Format Cells.

  6. In the Format Cells box, under Number, select Percentage and specify your desired number of decimal places.

How do I calculate a 10% margin?

To calculate a 10% profit margin:

  1. Make 10% a decimal by dividing 10 by 100 to get 0.1.
  2. Take 0.1 away from 1, equalling 0.9.
  3. Divide how much your item cost by 0.9.
  4. Use this new number as your sale price if you want a 10% profit margin.

Are margin and profit the same?

Although both measure the performance of a business, margin and profit are not the same. All margin metrics are given in percent values and therefore deal with relative change, which is good for comparing things that are operating on a completely different scale. Profit is explicitly in currency terms, and so provides a more absolute context — good for comparing day-to-day operations.

How do I calculate a 30% margin?

To calculate a 30% profit margin:

  1. Turn 30% into a decimal by dividing 30 by 100, which is 0.3.
  2. Minus 0.3 from 1 to get 0.7.
  3. Divide the price the good cost you by 0.7.
  4. The number that you receive is how much you need to sell the item for to get a 30% profit margin.

How do I calculate markup from margin?

To calculate the markup from the margin:

  1. Turn your margin into a decimal by dividing the percentage by 100.
  2. Subtract this decimal from 1.
  3. Divide 1 by the result of the subtraction.
  4. Subtract 1 from the result of the previous step.
  5. You now have markup expressed in decimal form!
  6. If you want to have the markup in percentage form, multiply the decimal by 100.

Welcome to a fresh experience! Prefer the old? Switch back here 🇺🇸.

Check out 15 similar collection of sales calculators
DiscountMargin and VATMargin and sales tax...12 more