How do i calculate profit margin in excel

Excel allows a user to calculate profit margin percentage from a sale price and cost, using the simple formula. The profit margin is calculated as a rate between price and cost difference and price. This step by step tutorial will assist all levels of Excel users in getting a profit margin percentage.

How do i calculate profit margin in excel
Figure 1. The result of the formula

Syntax of the Formula

The generic formula is:

=(price - cost)/price

The parameters of the formula are:

  • price – a sale price.
  • cost – the cost of the product.

Setting up Our Data for the Example

Let’s look at the structure of the data we will use. In column B, we have the price and in column C, we have the cost. In column D, we want to calculate a profit margin percentage.

How do i calculate profit margin in excel
Figure 2. Data that we will use in the example

Calculating the Profit Margin Percentage

In our example, the sale price is $25 (B3) and the cost is $22 (C3) Based on these two values, we want to calculate the profit margin percentage in the cell D3.

The formula looks like:

=(B3 - C3)/B3

The parameter price is the cell B3, while the cost is in C3.

To apply the formula, we need to follow these steps:

  • Select cell D3 and click on it
  • Insert the formula: =(B3 - C3)/B3
  • Press enter
  • Drag the formula down to the other cells in the column by clicking and dragging the little “+” icon at the bottom-right of the cell.

How do i calculate profit margin in excel
Figure 3. Calculating the profit margin percentage

The result in the cell D3 is 12%, which is the profit margin for the price of $25 and the cost $22.

Most of the time, the problem you will need to solve will be more complex than a simple application of a formula or function. If you want to save hours of research and frustration, try our live Excelchat service! Our Excel Experts are available 24/7 to answer any Excel question you may have. We guarantee a connection within 30 seconds and a customized solution within 20 minutes.

How do you find the profit margin in Excel?

To put this into an Excel spreadsheet, insert the starting values into the spreadsheet. For example, put the net sales amount into cell A1 and the cost of goods sold into cell B1. Then, using cell C1, you can calculate the gross profit margin by typing the following into the cell: =(A1-B1)/A1.

How do I calculate a profit margin?

How to Calculate a Profit Margin Ratio.
(Total Revenue - Total Expenses) / Total Revenue..
Net sales = revenue - returns, refunds and discounts..
Net income = revenue - total expenses..
Profit margin = (net income / net sales) x 100..
Gross profit = revenue - (direct materials + direct labor + factory overhead).

How do I calculate a 20% profit margin?

How do you calculate a 20% profit margin?.
Use 20% in its decimal form, which is 0.2..
Subtract 0.2 from 1 to get 0.8..
Divide the original price of your good by 0.8..
The resulting number is how much you should charge for a 20% profit margin..