Profit Margin & Markup Calculator
Compare profit margin, markup, and gross profit from cost and selling price—or find the selling price needed for a desired margin.
Profit Margin
40.00%
- Selling price $100.00
- Gross profit $40.00
- Profit margin 40.00%
- Markup percentage 66.67%
Switch modes above to calculate from cost and price, or solve for price from a target margin.
Understanding Profit Margin vs. Markup
Confusing profit margin with markup is a costly pricing mistake for side-hustlers selling physical goods and freelancers reselling subcontractor work, printing, or software licenses. Although both numbers start with the same dollar amount of gross profit, they compare that profit against two different baselines.
Markup compares your profit to your cost, showing how much higher you priced an item above what you paid for it. Profit margin compares your profit to the final selling price, showing what percentage of every dollar collected remains after direct costs are paid. Because selling price is normally larger than cost, your profit margin percentage is always lower than your markup percentage on a profitable sale. For instance, marking up a $60 item by 50% yields a $90 selling price and $30 profit, which is only a 33.33% profit margin—not 50%. Use the Cost & Selling Price mode to audit an existing quote, or switch to Cost & Desired Margin when you know the margin percentage your business needs to keep after overhead.
Formula Used
Gross profit is calculated before overhead or income taxes:
Profit = Selling Price - Cost Profit Margin (%) = (Profit ÷ Selling Price) × 100 Markup (%) = (Profit ÷ Cost) × 100 Selling Price from Desired Margin = Cost ÷ (1 - Desired Margin % ÷ 100)
Worked Example
Suppose a side-hustler buys custom merchandise for $60.00 and sells it for $100.00 (or sets a 40% desired profit margin on a $60.00 cost):
- Gross profit: $100.00 − $60.00 = $40.00
- Profit margin: ($40.00 ÷ $100.00) × 100 = 40.00%
- Markup: ($40.00 ÷ $60.00) × 100 = 66.67%
- Reverse check from 40% margin: $60.00 ÷ (1 − 0.40) = $100.00 selling price
Frequently Asked Questions
What is the difference between profit margin and markup?
Profit margin divides gross profit by the final selling price, while markup divides gross profit by your cost. For the same sale, markup is always a higher percentage than profit margin.
Why can't profit margin reach 100% when cost is above zero?
Because margin is profit divided by selling price, a 100% margin would require zero cost. Whenever you have positive product or subcontractor costs, your maximum possible margin is below 100%.
How do freelancers and side-hustlers use margin vs. markup?
Use markup when adding a percentage on top of subcontractor or product costs, and use profit margin when checking what share of total client revenue you actually keep.
Related Calculators
Estimates only, not tax or financial advice.