Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
=B2/C2Computed by a real spreadsheet engine on the sample data below.
| Product | Total Cost | Units | Cost Per Unit |
| Widget A | 500 | 100 | |
| Widget B | 750 | 150 | |
| Widget C | 300 | 60 | |
| Widget D | 900 | 180 |
=B2/C2→5
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.
Use =IFERROR(B2/C2,0) to return 0 instead of a #DIV/0! error when the units cell is empty or zero.
Use =SUM(B2:B6)/SUM(C2:C6) to get a blended cost per unit across all rows.
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-toUse cost and target gross margin percentage to back-calculate the required selling price 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: