Skip to main content

Profit margin calculator

Enter what you charge and what the job costs, split into direct costs and overheads. You get gross and net profit, both margins, and the price that would hit your target.

Runs in your browser. Nothing you type is sent or saved.

Costs

Direct costs belong to this job (materials, subcontractors, labour). Overheads keep the business running (software, insurance, a share of rent). Up to 8 costs.

Shows the price needed to hit it with these costs.

Net margin 46.00%Revenue $5,000.00Direct costs $2,000.00Overheads $700.00Gross profit $3,000.00 (gross margin 60.00%)Net profit $2,300.00 (net margin 46.00%)Costs as a share of revenue 54.00%To make a 50% net margin on $2,700.00 of costs, charge $5,400.00.

General information only: this tool does arithmetic on the numbers you enter and is not tax, accounting or legal advice. Rates and rules differ by place and situation, so check what applies to you or ask a qualified professional.

How it works

Gross profit: revenue minus direct costs

Direct costs are the ones the job causes: materials, subcontractors, labour. Revenue minus direct costs is the gross profit, and gross profit ÷ revenue is the gross margin. On a $5,000.00 job with $2,000.00 of direct costs, gross profit is $3,000.00, a 60.00% gross margin.

Net profit: after overheads too

Overheads keep the business running whatever the job: software, insurance, a share of rent or the van. Take them off as well and you have the net profit. With $700.00 of overheads the job above makes $2,300.00, a 46.00% net margin.

Price for a target margin

To reach a target net margin on known costs, divide the costs by one minus the target: costs × 100 ÷ (100 − target). For a 50% margin on $2,700.00 of costs, charge $5,400.00. Amounts are rounded once to the cent and percentages to 2 decimals.

Profit and margin terms

The figures the calculator shows and how each one is worked out, with the default job as the example.

Profit margin definitions with a worked example
TermHow it is worked outExample
Gross profitRevenue − direct costs$5,000.00 − $2,000.00 = $3,000.00
Gross marginGross profit ÷ revenue60.00%
Net profitRevenue − all costs$5,000.00 − $2,700.00 = $2,300.00
Net marginNet profit ÷ revenue46.00%
Costs shareAll costs ÷ revenue54.00%
Price for a targetCosts × 100 ÷ (100 − target %)50% target: $5,400.00

Examples

A $5,000.00 job

Materials $1,200.00 and a subcontractor $800.00 (direct), plus $700.00 of overheads. Gross profit $3,000.00 (60.00%), net profit $2,300.00 (46.00%).

A job that overran

Charged $2,400.00; direct costs came to $2,100.00 and overheads $550.00. Net result −$250.00, a net margin of −10.42%: a loss. Breaking even needed $2,650.00; a 20% margin needed $3,312.50.

Rules and good practice

Count your own time as a cost

If you do the work yourself, a job can show a healthy margin and still pay you badly. Put your own hours in as a direct labour cost at the rate you want to earn; whatever is left is the business's profit on top.

Margin vs markup when pricing

A target margin is not the same as adding that percentage to cost. To price a single item from its cost, use the markup calculator, which shows markup and margin side by side.

General information, not tax or legal advice. Rules vary by place and change; check the current official guidance.

From margin to invoice in Charming

Once the price is right, Charming Invoices puts it on a clean invoice: add your line items, and the subtotal, discount, tax and total calculate as you type. Issue it, download the PDF and send it however you like. The invoice templates show what the finished invoice can look like.

The catch: Charming is an invoice maker, not accounting software. It does not record your costs, track expenses or report profit; this calculator is the place for that sum.

Questions

How do I calculate profit margin?
Take the costs away from the revenue to get the profit, then divide the profit by the revenue and multiply by 100. A $5,000.00 job with $2,700.00 of costs makes $2,300.00, and $2,300.00 ÷ $5,000.00 is a 46.00% net margin.
What is the difference between gross and net margin?
Gross margin only takes off the direct costs of the job, such as materials and subcontractors, so it shows how well the job itself is priced. Net margin also takes off overheads, the running costs of the business, so it shows what is really left. Net margin is always the lower of the two.
What price do I need to charge for a target margin?
Divide your total costs by one minus the target margin. With $2,700.00 of costs and a 50% target, $2,700.00 ÷ 0.5 = $5,400.00. Enter a target margin in the calculator and it does this with your own costs, rounded once to the cent.
What does a negative margin mean?
The job cost more than you charged, so it lost money. The calculator shows the loss as a negative amount and percentage, labels it as a loss in words; enter 0 as the target margin to see the price that would have broken even. Look at which costs overran before quoting a similar job again.

Invoice the price that works

Add your business and your client, enter the job, and download a clean PDF invoice, on the free plan.