FreelanceMath
Home / Profit Margin Calculator

Profit Margin Calculator

Enter the cost and the price. See profit, margin and markup. Or set a margin and get the price.

Margin vs markup

Margin = profit / price. Markup = profit / cost. A product that costs $40 and sells for $65 has a 38.5 percent margin and a 62.5 percent markup. Mixing them up causes underpricing.

Target margins

Digital products can have margins above 80 percent. Physical goods are often 30 to 60 percent. Services depend on how you value your time.

Frequently asked questions

How do I get 50 percent margin?

Set the price to twice the cost.

Is 100 percent margin possible?

Only if cost is zero.

Net vs gross margin?

Gross margin counts only direct costs. Net margin counts all expenses.

More free tools

Freelance Hourly Rate Calculator

Work out the hourly rate you need to hit your income goal.

Freelance Tax Set-Aside Calculator

How much of each invoice to save for taxes.

Project Price Calculator

Price a fixed-fee project from hours, costs and margin.

Late Invoice Fee Calculator

Calculate late fees and interest on unpaid invoices.

Last updated 2026-11-27. These tools give estimates and are not tax or legal advice. Ask a tax professional about your situation.