Project Budget Margin Calculator
Before you accept a project, you need to know whether the price actually covers the cost to deliver it with enough left over to fund your overhead and profit. This calculator answers that quickly. Enter the price the client will pay and the total cost to deliver the work, including labor at its loaded rate, subcontractors, materials, software, travel and any pass-through expenses, and it returns the gross profit in dollars and the gross margin as a percentage of the price. Margin is always measured against the price, so a 25,000 dollar project that costs 18,000 to deliver returns a 7,000 profit and a 28 percent margin. The most common mistake is leaving a cost out of the estimate, which inflates the apparent margin and can turn a winning bid into a loss once the real invoices land. Use the tool to compare quotes, test how a discount erodes margin, or set a floor below which a job is not worth taking. Every figure is computed deterministically from the formula shown below, with a worked example that reconciles exactly to the calculator defaults so you can confirm both the dollar profit and the percentage before you sign the contract.
Project margin is profit as a share of the price: margin = (price - cost) / price. A project priced at $25,000.00 that costs $18,000.00 to deliver earns a $7,000.00 gross profit and a 28.00% margin.
Project margin formula
Gross profit = Price - Cost
Gross margin = Gross profit / Price x 100
Price = what the client pays
Cost = all costs to deliver the work
Subtract delivery cost from price to get profit, then divide by price for the margin. Leaving out a cost inflates the margin, so include labor, subcontractors, materials and expenses in full.
Worked example
An agency quotes a project at 25,000 dollars and estimates 18,000 in delivery cost.
- Gross profit = 25,000 - 18,000 = 7,000.00
- Gross margin = 7,000 / 25,000 = 0.28
- 0.28 x 100 = 28.00%
The project earns 7,000.00 dollars at a 28.00% margin. These are the calculator's default inputs, so the result above matches the widget exactly.
Margin on a 25,000 dollar project
As delivery cost rises, both the profit and the margin fall.
| Cost | Gross profit | Gross margin |
|---|---|---|
| $15,000 | $10,000 | 40.00% |
| $18,000 | $7,000 | 28.00% |
| $20,000 | $5,000 | 20.00% |
| $22,500 | $2,500 | 10.00% |
Margin and profit basics: US Securities and Exchange Commission, Investor.gov.
Project budget margin calculator: frequently asked questions
How do I calculate margin on a project?
Subtract the project's total cost from the price the client pays, then divide that profit by the price. If a project is priced at 25,000 dollars and costs 18,000 to deliver, the gross profit is 7,000 and the margin is 7,000 divided by 25,000, which is 28 percent. Margin is always measured against the price, not the cost.
What costs should I include?
Include every cost directly attributable to delivering the project: labor hours at their loaded rate, subcontractors, materials, software, travel and any pass-through expenses. Leaving out a cost inflates the margin and can turn an apparently profitable job into a loss once the real bills arrive.
Is gross margin the same as profit?
Gross margin is the profit on this project before company overhead such as rent, admin salaries and marketing. It tells you whether the job itself contributes, but the business still needs that contribution to cover overhead before any of it becomes net profit. A healthy gross margin on each project is what funds the overhead and the bottom line.
What margin should I aim for?
It depends on the industry and how much overhead the margin must cover. Service firms often target gross margins well above 30 percent so the contribution covers overhead and leaves net profit. Set your own target based on your cost structure, then use this tool to check each quote against it before you commit.
What is the project margin formula?
Gross profit equals price minus cost. Gross margin equals gross profit divided by price, expressed as a percentage. The same profit is a higher number when expressed as a markup on cost.
Official sources
- Margin, cost and profit basics: US Securities and Exchange Commission, Investor.gov. As at 25 June 2026.
Reviewed by the CalculatorHub team, edited by James Graham, 25 June 2026. See our methodology. This is general information, not financial, tax, legal or investment advice.