Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed:
Heads up: Excel and Google Sheets do this differently.
=((B2-A2)/A2)*100=ARRAYFORMULA(((B2:B3-A2:A3)/A2:A3)*100)Computed by a real spreadsheet engine on the sample data below.
| Cost Price | Selling Price | Profit Margin % |
| 100 | 150 | |
| 200 | 250 |
=((B2-A2)/A2)*100→50
Edit the grid or formula, then run it through a real spreadsheet engine — no signup.
Sample data — click any cell to edit
Need the Google Sheets version instead? Open Sheets variant in workspace →
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.
The formula will return a negative value, indicating a loss.
Yes, select the cell with the formula and change the number format to Percentage.
Yes, but ensure all values are in the same currency before calculation.
Work out what percentage one number is of another with a simple division, then format the result as a percent. Same in Excel and Google Sheets.
Error fixFix wrong percentage results in Excel and Google Sheets — caused by conflating the percentage symbol with the decimal value or double-applying the % format.
How-toFind the percentage increase or decrease between two numbers with (new − old) / old, then format as a percent. Works in Excel and Sheets.
How-toIncrease a number by a percentage with number × (1 + rate) — handy for tax, markup, or raises. Same in both apps.
How-toUse a running SUM divided by the total SUM to build a cumulative percentage column in Excel or Google Sheets.
How-toDivide attended sessions by total sessions and multiply by 100 to get attendance percentage in Excel or Google Sheets.
Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.
Last reviewed: