How to Find Percent of Profit: Margin & Markup
Subtract cost from revenue to find dollar profit, then divide by revenue for margin or divide by cost for markup. Multiply either decimal by 100 to get the percent. Enter your price and cost below to view profit, margin, and markup together.
Calculate Profit Percentage, Margin, and Markup
Enter sales revenue and total cost for one item or period. Results update live and show margin and markup side by side.
Profit Percent Means Margin or Markup
Profit equals sales minus cost. Profit margin divides profit by sales to show how much of each sales dollar you keep. Markup divides profit by cost to show how much you added above cost.
Buy a shirt for $100 and sell it for $150. Your profit is $50. Margin is 33.33% (50 / 150), while markup is 50% (50 / 100). This tool reports both numbers so you never mix them up.
Profit Percentage Calculator Formula
Use this short rule to check any answer by hand. Keep full digits during division, multiply by 100 at the end, and round only the last step.
Margin divides profit by sales; markup divides profit by cost
Match the dates
Pull sales and cost from the exact same product, order, or month.
Find dollar profit
Subtract total cost from total sales revenue.
Find profit margin
Divide profit by sales revenue and multiply by 100.
Find markup
Divide profit by total cost and multiply by 100.
Worked Examples
Check these short examples with real numbers. Each one walks through the math step by step so you can spot how inputs change the result.
$150 sale with $100 cost
Profit is $50. Margin is 50 / 150 = 33.33%. Markup is 50 / 100 = 50%.
$80 sale with $60 cost
Profit is $20. Margin is 25% and markup is 33.33%.
$90 sale with $100 cost
Profit is -$10. Margin is -11.11% and markup is -10%. Both show a loss.
Gross Profit, Net Profit, Margin, and Markup
Gross profit subtracts direct item cost from sales. Net profit subtracts all bills such as pay, rent, shipping, card fees, and tax. Pick the cost number that fits the profit level you want to check.
Stores often mark up wholesale prices by a set percent. Accountants and lenders look at profit margin as a share of sales. Know which base your report needs before you price items.
Excel and Google Sheets Formula
Copy this code into Excel or Google Sheets to run many rows at once. Format the result column as Percent so sheets show clean % signs.
Margin: =(A2-B2)/A2 Markup: =(A2-B2)/B2
Put sales in A2 and cost in B2. Format both result cells as Percent and guard against zero with IF.
Limits and Edge Cases
Check these boundary rules before you read zeros, minus numbers, or huge gaps. Clear rules keep your math safe from zero-division errors.
How to Pick the Right Cost and Sales Inputs
For one product, enter sale price and unit cost. For one month, enter net sales after refunds and all bills from that same month.
Label your sheet clearly as gross or net margin so partners know which costs are inside. Mixing gross cost in one row with full rent in another breaks your report.
Common mistakes to avoid
Related Percentage and CGPA Calculators
Open any other free tool below to find discounts, test grades, body fat percent, investment gains, or college CGPA conversions.
Frequently Asked Questions
Read short answers to common questions about the formula, edge cases, and spreadsheet setup for this tool.
What is the profit percentage formula?
Margin is (Sales - Cost) / Sales * 100. Markup is (Sales - Cost) / Cost * 100.
Is profit margin the same as markup?
No. Margin divides by sales price, while markup divides by cost. On a profitable item, markup is always higher than margin.
What is a 50% markup as a margin?
A 50% markup turns a $100 cost into a $150 price. The $50 profit over $150 sales equals a 33.33% margin.
Can profit percent be negative?
Yes. When costs beat sales, profit, margin, and markup all turn negative.
Should I enter unit cost or all bills?
Enter unit cost for gross margin, or enter all bills for net profit margin.
Why is markup undefined at zero cost?
Markup divides profit by cost. Dividing by zero has no valid answer.