Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=B2/(1-C2)Computed by a real spreadsheet engine on the sample data below.
| Product | Cost | Target Margin | Selling Price |
| Item A | 60 | 0.4 | |
| Item B | 120 | 0.35 | |
| Item C | 80 | 0.5 | |
| Item D | 200 | 0.3 |
=B2/(1-C2)→100
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need it for your exact data?
Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.
Margin is profit divided by selling price; markup is profit divided by cost. For a 40% margin use =Cost/(1-0.4); for 40% markup use =Cost*1.4.
Use =(D2-B2)/D2 to confirm the gross margin percentage matches your target.
Apply different commission rates by sales tier using IFS. Works in Excel 2019/365 and Google Sheets.
How-toCompute gross margin percentage as (price − cost) / price. Identical in Excel and Google Sheets.
How-toCompute a compounded future value with principal × (1 + rate)^years using POWER. Identical in Excel and Google Sheets.
How-toDivide total cost by total units to find cost per unit using a simple formula in Excel or Google Sheets.
How-toMultiply principal, rate, and time to compute simple interest using a straightforward formula in Excel or Sheets.
How-toUse the PMT function to calculate periodic loan payments given a principal, interest rate, and number of periods.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: