The two definitions
Margin = profit ÷ price. Markup = profit ÷ cost.
- If you sell something for 125 that cost 100, profit is 25.
- Markup is 25 ÷ 100 = 25%.
- Margin is 25 ÷ 125 = 20%.
Why this matters for quotes
Suppose your cost is 100 and you want a 25% result. With a 25% markup the price is 125. With a 25% margin the price is 100 ÷ 0.75 = 133.33. The margin version earns more. Mixing them up can quietly cost you money or make you look expensive.
Which should you use?
Margin is easier to compare with business results, because it shows how much of every sale you keep. Markup is quick to calculate from cost. Either is fine — what matters is choosing one and using it consistently.
Converting between them
Margin = markup ÷ (1 + markup). Markup = margin ÷ (1 − margin). A 25% markup equals a 20% margin; a 25% margin equals a 33.3% markup.
Try the tools
Put this guide into practice with your own numbers. Everything runs in your browser.
Profit Margin Calculator
See profit, margin, markup and cost ratio from revenue and total cost.
FinanceOpen tool
Freelance Project Pricing Calculator
Turn hours, costs and a target margin or markup into a clear quote price.
PricingOpen tool
Project Profit Calculator
Find the real profit on a project after labour, tools and outsourcing.
FinanceOpen tool
Questions
Last updated 2026-11-15. This guide is general information, not tax, legal or accounting advice. Numbers are illustrative.
Keep reading
Pricing2 min readBeginner
How to set your freelance hourly rate
Turn an income goal, business costs and realistic billable hours into a rate you can defend.
Read the guide →Pricing2 min readBeginner
How to price a freelance project
Break a project into tasks, add the hidden work, and arrive at a quote that protects your profit.
Read the guide →