How to use this margin calculator
Enter the requested values above and select Calculate. The result updates immediately on the page, so you can change one value and compare different scenarios without leaving the calculator.
Formula and method
Example
If an item costs $50 and sells for $80, gross profit is $30 and margin is 37.5%.
What this calculator is useful for
Calculate gross margin percentage and profit dollars from cost and selling price. It is designed for quick estimates and everyday problem solving. When a calculation affects a contract, tax filing, medical decision or other high-stakes situation, verify the result with the appropriate professional or authoritative source.
Frequently asked questions
What does the Margin Calculator calculate?
Calculate gross margin percentage and profit dollars from cost and selling price.
How does the calculation work?
Margin = (selling price − cost) ÷ selling price × 100.
Is this calculator free?
Yes. ERICH Calculators is free to use and no account is required.