---
title: "Profit margin from price and cost | PracticeExcel"
description: "Practice profit margin in a live spreadsheet: profit as a percentage of the price, with (B2-C2)/B2."
canonical_url: "https://practiceexcelonline.com/practice/percentages/profit-margin"
locale: en
meta:
  "og:description": "Practice profit margin in a live spreadsheet: profit as a percentage of the price, with (B2-C2)/B2."
  "og:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Profit%2Bmargin%2Bfrom%2Bprice%2Band%2Bcost%2Cdescription_~UHJhY3RpY2UgcHJvZml0IG1hcmdpbiBpbiBhIGxpdmUgc3ByZWFkc2hlZXQ6IHByb2ZpdCBhcyBhIHBlcmNlbnRhZ2Ugb2YgdGhlIHByaWNlLCB3aXRoIChCMi1DMikvQjIu%2Ceyebrow_Percentages%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRCJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJQcm9kdWN0IiwiUHJpY2UiLCJDb3N0IiwiTWFyZ2luIl19LHsibiI6MiwiY2VsbHMiOlsiTXVnIiwiNTAiLCIzMCIsIiJdfSx7Im4iOjMsImNlbGxzIjpbIlBsYXRlIiwiODAiLCI2MCIsIiJdfSx7Im4iOjQsImNlbGxzIjpbIkJvd2wiLCI0MCIsIjI2IiwiIl19LHsibiI6NSwiY2VsbHMiOlsiVmFzZSIsIjI1MCIsIjE1MCIsIiJdfV0sInRhcmdldCI6WzEsM119fQ%2Cp_Ii9wcmFjdGljZS9wZXJjZW50YWdlcy9wcm9maXQtbWFyZ2luIg%2Cs_wNa-WUofkZm0WNym.png"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Profit margin from price and cost | PracticeExcel"
  "twitter:image": "https://practiceexcelonline.com/_og/d/c_Page%2Ctitle_Profit%2Bmargin%2Bfrom%2Bprice%2Band%2Bcost%2Cdescription_~UHJhY3RpY2UgcHJvZml0IG1hcmdpbiBpbiBhIGxpdmUgc3ByZWFkc2hlZXQ6IHByb2ZpdCBhcyBhIHBlcmNlbnRhZ2Ugb2YgdGhlIHByaWNlLCB3aXRoIChCMi1DMikvQjIu%2Ceyebrow_Percentages%2Csite_practiceexcel%2Cprops_eyJncmlkIjp7ImNvbHMiOlsiQSIsIkIiLCJDIiwiRCJdLCJyb3dzIjpbeyJuIjoxLCJjZWxscyI6WyJQcm9kdWN0IiwiUHJpY2UiLCJDb3N0IiwiTWFyZ2luIl19LHsibiI6MiwiY2VsbHMiOlsiTXVnIiwiNTAiLCIzMCIsIiJdfSx7Im4iOjMsImNlbGxzIjpbIlBsYXRlIiwiODAiLCI2MCIsIiJdfSx7Im4iOjQsImNlbGxzIjpbIkJvd2wiLCI0MCIsIjI2IiwiIl19LHsibiI6NSwiY2VsbHMiOlsiVmFzZSIsIjI1MCIsIjE1MCIsIiJdfV0sInRhcmdldCI6WzEsM119fQ%2Cp_Ii9wcmFjdGljZS9wZXJjZW50YWdlcy9wcm9maXQtbWFyZ2luIg%2Cs_wNa-WUofkZm0WNym.png"
---

> Index of every page on this site: [llms.txt](https://practiceexcelonline.com/llms.txt)

# **Profit margin from price and cost**

**Premium**

In D2, work out the profit margin of the mug: the profit, B2-C2, as a share of the price in B2. Use (B2-C2)/B2.

D2fx

|  | A | B | C | D | E | F |
| --- | --- | --- | --- | --- | --- | --- |
| 1 | Product | Price | Cost | Margin |  | |
| 2 | Mug | 50 | 30 |  |  | |
| 3 | Plate | 80 | 60 |  |  | |
| 4 | Bowl | 40 | 26 |  |  | |
| 5 | Vase | 250 | 150 |  |  | |
| 6 |  |  |  |  |  | |
| 7 |  |  |  |  |  | |
| 8 |  |  |  |  |  | |

**Premium lesson**

## **Unlock Percentages and every other lesson**

This is a premium lesson. Premium lets you solve it and every other lesson, take the timed mock tests, and earn certificates you can share on LinkedIn.

Next with premium:**IF****AND and OR**

[**See plans, from $5/month**](https://practiceexcelonline.com/pricing) [**Already premium? Sign in**](https://practiceexcelonline.com/login?next=/practice/percentages/profit-margin)

Need help?

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://practiceexcelonline.com/#identity","@type":"Organization","name":"PracticeExcel","url":"https://practiceexcelonline.com/","logo":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/#website","@type":"WebSite","inLanguage":"en-US","name":"PracticeExcel","url":"https://practiceexcelonline.com/","alternateName":["Practice Excel Online","PracticeExcelOnline.com"],"publisher":{"@id":"https://practiceexcelonline.com/#identity"},"workTranslation":{"@id":"https://excelopgaver.dk/#website"}},{"@id":"https://practiceexcelonline.com/practice/percentages/profit-margin#webpage","description":"Practice profit margin in a live spreadsheet: profit as a percentage of the price, with (B2-C2)/B2.","name":"Profit margin from price and cost","url":"https://practiceexcelonline.com/practice/percentages/profit-margin","@type":["WebPage","FAQPage"],"breadcrumb":{"@id":"https://practiceexcelonline.com/practice/percentages/profit-margin#breadcrumb"},"isPartOf":{"@id":"https://practiceexcelonline.com/#website"},"mainEntity":[{"@id":"https://practiceexcelonline.com/practice/percentages/profit-margin#/schema/question/1"},{"@id":"https://practiceexcelonline.com/practice/percentages/profit-margin#/schema/question/2"}],"potentialAction":[{"@type":"ReadAction","target":["https://practiceexcelonline.com/practice/percentages/profit-margin"]}],"primaryImageOfPage":{"@id":"https://practiceexcelonline.com/#logo"}},{"@id":"https://practiceexcelonline.com/practice/percentages/profit-margin#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Home","item":"https://practiceexcelonline.com","position":1},{"@type":"ListItem","name":"Excel practice exercises","item":"https://practiceexcelonline.com/practice","position":2},{"@type":"ListItem","name":"Percentages","item":"https://practiceexcelonline.com/practice/percentages","position":3},{"@type":"ListItem","name":"Profit margin from price and cost","position":4}]},{"@id":"https://practiceexcelonline.com/practice/percentages/profit-margin#/schema/question/1","@type":"Question","inLanguage":"en-US","name":"How do I calculate profit margin in Excel?","acceptedAnswer":{"@type":"Answer","text":"Subtract the cost from the price and divide by the price, =(B2-C2)/B2, then format the cell as a percentage. A price of 50 and a cost of 30 give 40%."}},{"@id":"https://practiceexcelonline.com/practice/percentages/profit-margin#/schema/question/2","@type":"Question","inLanguage":"en-US","name":"What is the difference between margin and markup?","acceptedAnswer":{"@type":"Answer","text":"Both start from the same profit. Margin divides it by the price and markup divides it by the cost, so a 40% margin is a 67% markup."}},{"@id":"https://practiceexcelonline.com/practice/percentages/profit-margin#/schema/learning-resource/1","@type":"LearningResource","description":"Practice profit margin in a live spreadsheet: profit as a percentage of the price, with (B2-C2)/B2.","educationalLevel":"intermediate","isAccessibleForFree":false,"learningResourceType":"exercise","name":"Profit margin from price and cost","teaches":"Percentages"},{"@id":"https://practiceexcelonline.com/#logo","@type":"ImageObject","caption":"PracticeExcel","contentUrl":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png","inLanguage":"en-US","url":"https://practiceexcelonline.com/brand/practiceexcel/icon-512.png"}]}
```

## Sitemap

See the full [sitemap](https://practiceexcelonline.com/sitemap.md) for all pages.
