What Is Margin?
Profit margin shows what percentage of selling revenue remains after the costs included in the calculation are deducted. It turns the difference between price and cost into a comparable percentage, making products, services, customers, and sales channels easier to evaluate.
This calculator can solve from cost and selling price or help test a target margin. Use values from the same unit and period, and decide whether you are measuring contribution margin, gross margin, or a broader net margin before interpreting the percentage.
Margin Formula and Calculation Method
Profit equals selling price minus cost. Margin percentage equals profit divided by selling price, multiplied by 100. Because selling price is the denominator, margin is not the same as markup, which divides profit by cost.
To calculate a selling price from a target margin, divide cost by one minus the target margin expressed as a decimal. A target margin must stay below 100%, and the cost input should include every expense the intended margin is expected to cover.
How to Use the Margin Calculator
Enter the cost and selling price for one unit, one project, or one consistent reporting period. Include variable costs such as materials, subcontractors, marketplace commission, fulfillment, and payment fees when they are part of the profitability question.
For target pricing, start with the complete relevant cost and enter the margin required by the business. Review the calculated selling price against customer value, competitor positioning, tax treatment, and any discounts likely to be offered.
Example Calculation
A product sold for $125 with an $80 cost creates $45 profit. Dividing $45 by the $125 selling price produces a 36% margin, while dividing the same profit by $80 produces a 56.25% markup.
If the $80 product needs a target margin of 40%, the required selling price is $80 divided by 0.60, or $133.33 before tax. Selling it for $128 after a promotion would reduce the achieved margin to 37.5%.
Understanding Your Results
Read profit amount and margin percentage together. Profit shows currency contribution per unit or period, while margin shows how efficiently revenue converts into profit; a high percentage on very low sales may still produce insufficient total profit.
If the result looks unexpectedly strong, check whether costs, returns, discounts, transaction fees, shipping, and allocated overhead were omitted. If it looks weak, compare price and cost assumptions separately before deciding that a product or customer is unprofitable.
How Margin Inputs Work Together
The inputs should describe one consistent scenario. A monthly amount, annual rate, quoted fee, and time period all need to be talking about the same case.
If the result feels surprising, change one assumption at a time and watch which number moves the answer the most.
Why This Calculator Matters
Consistent margin measurement supports pricing, purchasing, sales commissions, promotion design, budgeting, and product-mix decisions. It also helps explain why revenue growth does not always produce the same rate of profit growth.
Track margin over time using a consistent cost definition. Compare actual achieved margin with quoted or target margin after discounts and costs are finalized, then investigate meaningful variance rather than relying only on list-price calculations.
Common Mistakes When Using the Margin Calculator
- Confusing margin with markup or applying one percentage as though it were the other.
- Leaving out variable costs, payment fees, commissions, fulfillment, returns, or discounts.
- Mixing unit cost with total revenue or comparing values from different reporting periods.
- Treating gross margin as net margin without including operating expenses and tax.
- Rounding the target selling price too early or forgetting that tax may sit outside revenue.
- Using a historical cost that no longer represents current supplier or labor pricing.
Important Limitations
This is a planning estimate, not a contract, approval, tax filing, investment recommendation, or professional advice.
Before making a major money decision, compare the estimate with official documents, current rules, and the terms from the lender, employer, tax authority, school, or financial provider involved.