FreeInvoiceMaker

Guides · 2026-10-27

Margin vs Markup for Freelancers: How to Price Jobs Without Under-Charging

Margin and markup both describe the same profit, but they divide it by different numbers. Mix them up and you can quietly under-price every job. This guide explains the difference in plain terms, shows how to price a service from a target margin, and covers what to include in your cost. To test your own numbers, use our profit margin vs markup calculator, then bill the result with the free invoice generator.

The two definitions

Because the price is always bigger than the cost, the margin percentage is always smaller than the markup percentage for the same job.

A worked example

Say a job costs you $60 to deliver and you charge $100. Your profit is $40.

Same job, same profit, two different percentages. Neither is wrong, but you must know which one you are talking about when you set a target.

The common mistake

Suppose you want a 30% margin and you add 30% to your cost. On a $1,800 cost that gives a price of $2,340. Your profit is $540, which is only 23.1% of the price. To really earn a 30% margin you would need to charge $1,800 ÷ (1 − 0.30) = $2,571.43.

On a single job the gap is a few hundred dollars. Repeated across a year of projects, it adds up.

How to price from a target margin

  1. Add up your cost for the job (see below).
  2. Pick a target margin as a percentage of the price.
  3. Divide: price = cost ÷ (1 − margin).

Example: cost $1,800, target margin 40%. Price = 1,800 ÷ 0.60 = $3,000. Profit is $1,200, which is 40% of $3,000 and 66.7% of the $1,800 cost.

Quick conversions

Target marginEquivalent markup
20%25%
25%33.3%
33.3%50%
50%100%

The formula is markup = margin ÷ (1 − margin). A 50% markup is therefore a 33.3% margin, not 50%.

What counts as cost for a service business

Freelancers often count only materials or subcontractors and forget their own time. Pricing sources for small businesses commonly stress including:

There is no universal target margin for freelancers. Published benchmarks vary between sources, so set yours against your own overhead, taxes and income goals rather than copying a number.

Margin, taxes and cash flow

Margin is not take-home pay. Taxes come out of your profit, and the right amount depends on where you live, so check local rules. The tax set-aside calculator gives a rough planning figure, and our guide on how much to save from each invoice explains the idea. If your margin looks fine but cash is tight, the issue may be timing; see payment terms and deposit invoices.

Using margin when you quote a project

For fixed-price work, estimate your hours and costs, apply the margin formula, then compare the result to what the client expects to pay. The project price calculator helps with the hours side. If the margin-based price is higher than the market will bear, you have three honest options: cut scope, reduce cost, or accept a lower margin knowingly. What you should avoid is discovering the lower margin after the work is done.

Showing it on the invoice

You do not need to show clients your cost or margin. Show clear line items and totals. For templates that already separate labor from expenses, see the web developer and graphic designer invoice templates. Reimbursable expenses are usually listed separately so they are not mistaken for profit.

Common questions

Can margin ever be 100%?

Only if your cost is zero. As the margin approaches 100%, the price formula (cost ÷ (1 − margin)) grows very large, which is a sign that a very high margin target is unrealistic for most service work.

Which should I quote to clients?

Neither. Clients see the price. Margin and markup are internal tools for deciding what price to set.

Should I use hourly or project pricing?

Either works with the same maths. For hourly work, your rate is the price per hour and your cost per hour includes overhead; for project work, apply the formula to the total estimated cost. Compare both ways on a few past jobs to see which one reflects what you really earned.

What if my costs change mid-project?

Fixed prices absorb that change, so build a small buffer into the cost estimate and put scope-change terms in your agreement. Extra work can then be billed as a separate line item.

Worked example with expenses

A designer estimates 20 hours valued at $50 an hour ($1,000) plus $200 of stock assets and software. Cost is $1,200. For a 35% margin, price = 1,200 ÷ 0.65 = $1,846.15. Profit is $646.15, which is 35% of the price and about 53.8% of the cost. Rounded to a clean figure such as $1,850 the margin is slightly higher, so round up rather than down when you are unsure.

Checklist

This guide is general information, not financial or tax advice.

Create a free invoice now →