A profit margin calculator takes two numbers you already know — what something costs you and what it sells for — and turns them into the percentage of every sale you actually keep as profit. That single number is one of the clearest signals of business health: thin margins leave no room for a slow month, while healthy margins fund growth, hiring, and the occasional mistake. This guide walks through the exact formulas behind the calculator, what a good margin looks like by industry, and how to use the result to price smarter.
How to Calculate Profit Margin With a Profit Margin Calculator
Whether you're pricing a single product or reviewing your whole business, the process is the same three-step calculation any margin calculator relies on.
Step 1: Find Your Cost of Goods Sold (COGS)
Add up every direct cost that goes into producing or delivering what you sell — materials, manufacturing costs, and the wages of anyone who touches the product before it ships. This total is your cost of goods sold, usually shortened to COGS. Leave out rent, marketing, and other overhead; those get factored in later when you calculate a net margin instead of a gross one.
Step 2: Calculate Your Net Profit Margin
Once you know your revenue — the total amount customers paid you — subtract COGS to get gross profit, then subtract everything else under operating costs (salaries, taxes, interest, amortization, and rent) to land on net profit. Divide net profit by revenue and multiply by 100 to get your net profit margin as a percentage.
- Add up your cost of goods sold and any other direct costs.
- Record your total revenue from the sale.
- Subtract cost from revenue to find profit, then divide profit by revenue and multiply by 100.