Finance
Profit Margin Calculator
Compare a product's cost with its selling price to see gross profit, profit margin, and markup percentage.
Trust note
Calculations happen instantly in your browser. No account, API, or data submission is required.
Finance calculator
Enter your numbers
Results update as you type. Amounts are shown in USD for convenience; use the same currency for all inputs.
Result
Enter the requested values to see your estimate.
Related guides
Formulas
- Gross profit = selling price - cost
- Profit margin = (gross profit / selling price) × 100
- Markup = (gross profit / cost) × 100
Worked examples
$60 cost, $100 selling price
Gross profit is $40, margin is 40%, and markup is 66.67%.
$80 cost, $100 selling price
Profit is $20, margin is 20%, and markup is 25%.
$100 cost, $90 selling price
The result is a $10 loss, a −11.11% margin, and −10% markup.
Related tools
Discount Calculator
Find how much you save on a price reduction and what you will pay after the discount.
Open toolLoan Payment Calculator
Estimate a fixed-rate loan's monthly payment and total interest using the principal, annual interest rate, and repayment term.
Open toolCompound Interest Calculator
Project how a starting balance may grow when interest is earned on both the original amount and accumulated interest.
Open toolFAQ
What is the difference between margin and markup?
Margin compares profit with the selling price. Markup compares profit with the cost.
Can profit margin be negative?
Yes. If the selling price is below cost, the calculator shows a loss and a negative margin.
What formula does the profit margin calculator use?
Gross profit = selling price - cost
Can I use decimal values in the profit margin calculator?
Yes. Enter decimal values where the formula allows them. The calculator validates the inputs before displaying a result.
