# Margin Calculator

Use this gross margin calculator to easily calculate your profit margin (operating margin), your gross profit or the revenue required to achieve a given margin. Enter the cost and either the total revenue, the gross profit or the gross margin percentage to calculate the remaining two.

\$
\$
\$
%
Share calculator:

Embed this tool!
get code

## How to use the Margin Calculator?

• profit, gross profit margin and markup given cost and gross revenue.
• revenue, gross profit margin and markup given cost and gross profit.
• revenue, profit and markup given the cost and the profit margin.

Simply enter the cost and the other business metric depending on the desired output and press "Calculate". You can copy/paste the results easily using the clipboard icon next to each value.

## What is gross profit margin?

The gross profit margin (a.k.a. operating margin, operating profit margin, operating income margin, EBIT margin) is a key business performance metric indicating the profitability of a company, product or investment project. It is great for internal comparisons of one period versus another, identifying trends in profitability, as well as comparisons to businesses of similar industries, niches, sizes and age.

The profit margin is so key as it communicates the percentage of total revenue converted to operating profits (before tax profits). It is often used by investors as an efficiency ratio or percentage metric as it is a proxy for potential dividend payouts, reinvestment potential and overall solvency. The result is a measurement of what proportion of a company's revenue is left over, before taxes and other indirect costs (such as bonuses, interest rate payments), after paying for variable production costs such as wages, source materials, contractors, etc. A higher operating margin means that the company has less financial risk as it is able to face fixed cost expenses with greater ease.

## Gross Margin Formula

The formula for gross margin is:

Margin = Operating income / Revenue

Operating income is also called "operating profit" whereas revenue is total value of sales. In many cases the total costs and revenue are known and what is sought is the operating income and margin. In such circumstances the following formula is more suitable, which is why it is used in our gross margin calculator:

Margin = (Revenue - Cost) / Revenue

Both input values are in the relevant currency while the resulting profit margin is a percentage arrived at after multiplying the result by 100. Note that our profit margin calculator does not do any currency conversions, so make sure you input the values in the same currency.