← All guides

Accounting / 7 min read

Margin versus markup for service estimates

Use worked examples to distinguish margin from markup, label your cost basis, and avoid treating a planning subtotal as guaranteed profit.

Two stacks of cost blocks beside a ruler and calculator.

Markup divides the difference between selling price and included cost by cost. Margin divides that difference by selling price. With USD 800 included cost and USD 1,000 selling price, the difference is USD 200: markup is 25%, while margin is 20%.

Get the worksheet ↓
On this page
  1. Start with the same difference and two different denominators
  2. One price, two percentages
  3. Define the included cost before doing the arithmetic
  4. Calculate markup and margin from a quoted price
  5. Work backward from a target percentage
  6. Recalculate after discounts and cost changes
  7. Handle zero, missing and negative values explicitly
  8. Keep the calculation attached to its decision
  9. Check the denominator
  10. Worksheet

Start with the same difference and two different denominators

Margin and markup express the difference between selling price and cost using different bases. Markup divides that difference by included cost. Margin divides it by selling price. The dollar difference can be identical while the percentages differ.

For a fictional service with USD 800 included cost and a USD 1,000 selling price, the difference is USD 200. Markup is 200 divided by 800, or 25%. Margin is 200 divided by 1,000, or 20%. Label the cost basis before calling either result a profit measure.

Xero’s margin-versus-markup explanation uses the same distinction between cost and selling-price bases. The examples here apply the arithmetic to a stated service-estimate subtotal. They do not establish which costs your accounting reports should include or which price your business should charge.

Write the formula beside a percentage when people may interpret it differently. A field labeled simply “20%” can cause an estimator to add 20% to cost while an owner expects 20% of the selling price to remain.

One price, two percentages

Fictional USD example before tax, using the stated included cost. The difference does not establish net business profit.

Included cost
USD 800The stated cost basis.
Selling price
USD 1,000The amount on the same tax basis.
Difference
USD 2001,000 − 800.
Markup
25%200 ÷ 800 × 100. The denominator is included cost.
Margin
20%200 ÷ 1,000 × 100. The denominator is selling price.

Define the included cost before doing the arithmetic

A formula cannot repair an incomplete cost basis. Identify whether the subtotal includes reviewed labor cost, materials used, equipment allocation, subcontracted work and other assigned costs. List known exclusions, such as overhead, fees or taxes, according to the accounting owner’s definitions.

Keep unit cost distinct from unit selling price. A material cost of USD 10 per piece and a customer charge of USD 15 per piece are different inputs. A labor billing rate is not automatically the employee’s wage or the business’s fully defined labor costing rate.

Use the same currency and tax basis for the compared amounts. An outstanding invoice balance is not the selling price: it can change after a payment without changing the agreed scope value. Collected cash also does not automatically describe the revenue basis of a job-cost calculation.

Retain the inputs and their review status. If material usage remains unknown, mark that gap rather than entering zero to produce a complete-looking percentage. A partial cost subtotal can still support a provisional comparison when its limits are clear; it cannot establish net business profit.

Calculate markup and margin from a quoted price

Using the fictional USD 800 cost and USD 1,000 price:

  1. Difference equals price minus included cost: 1,000 minus 800 equals USD 200.
  2. Markup percentage equals difference divided by cost, multiplied by 100: 200 divided by 800 equals 25%.
  3. Margin percentage equals difference divided by price, multiplied by 100: 200 divided by 1,000 equals 20%.

Keep the USD 200 difference and the cost basis visible with both percentages. This lets another reviewer reproduce the calculation and identify whether an input changed. The comparison below shows the same amounts with each denominator labeled.

Do not add margin and markup percentages together. They are two expressions of the same relationship, not separate charges. Likewise, a 25% markup on cost does not mean that 25% of the selling price remains after the included cost.

For ordinary positive cost and a selling price above cost, markup will be greater than margin. That relationship can serve as a quick reasonableness check, but the recorded formulas and inputs remain the evidence.

Work backward from a target percentage

To calculate a price from a target markup fraction, multiply cost by one plus that fraction. With USD 800 cost and a 20% markup, 800 multiplied by 1.20 gives a USD 960 price. The difference is USD 160.

To calculate a price from a target margin fraction, divide cost by one minus that fraction. With USD 800 cost and a 20% target margin, 800 divided by 0.80 gives a USD 1,000 price. The different formula produces a different price.

At USD 960, the USD 160 difference divided by selling price is about 16.67%, rounded. Adding 20% to cost therefore does not produce a 20% margin. This is the common estimating error the worksheet is designed to make visible.

These percentages are illustrative, not recommended targets. The commercial decision also depends on the actual work, cost completeness, customer terms and business requirements. A calculation can show the consequence of an assumption without establishing that the assumption is appropriate.

Recalculate after discounts and cost changes

A discount changes the selling-price input. If the fictional USD 1,000 price is reduced to USD 900 while included cost remains USD 800, the difference becomes USD 100. Margin is about 11.11%, and markup is 12.5%. A discount of 10% of the original price does not reduce the original margin by only 10% of its value.

A cost change affects the relationship too. If the price remains USD 1,000 and included cost increases to USD 850, the difference becomes USD 150 and margin becomes 15%. Keep the changed input and its evidence rather than only updating the final percentage.

For scope revisions, identify whether both cost and price changed. Compare the accepted estimate versions and approved additions separately. A revised price without a revised cost allowance can create a misleading apparent improvement.

Jobber’s job costing documentation describes its own inputs and reporting boundaries. When reviewing any software calculation, confirm the amount basis, period, discounts and included costs that product actually uses. Do not assume a familiar label guarantees the same formula and scope across reports.

Handle zero, missing and negative values explicitly

Markup is undefined when included cost is zero because its formula divides by cost. Margin is undefined when selling price is zero. Show those cases as undefined or requiring review rather than silently replacing them with 0%.

Missing values differ from known zeros. A free customer item can have a deliberate zero selling price; an absent price is unknown. A donated or already-owned item may still require an accounting decision about the cost basis. The worksheet should preserve the distinction instead of choosing an amount for convenience.

A price below included cost produces a negative difference. Keep it visible and explain the scope. Do not cap the percentage at zero to make the report look normal. Whether the situation reflects a concession, a data issue or an intentional decision requires review of the records.

Round displayed percentages consistently while retaining the underlying amounts. Several rounded line-level percentages should not be averaged as a substitute for calculating the combined relationship from total price and total included cost.

Keep the calculation attached to its decision

Save the estimate version, currency, tax basis, included costs, exclusions, formulas and review date. Use the job cost evidence log to trace uncertain inputs and the estimate scope guide to establish what the price covers.

Keep proposed estimating calculations separate from earned revenue and reviewed financial statements. The useful outcome is an understood relationship between stated inputs, followed by an informed pricing decision from the responsible owner. The worksheet offers worked values, not automatic formulas or a promised return.

Check the denominator

  • Use cost as the denominator when calculating markup.
  • Use selling price as the denominator when calculating gross margin.
  • State which costs are included and use the same currency throughout.

At USD 80 cost and USD 100 price, markup is 25% and gross margin is 20%. Neither figure is net profit after all business expenses.

Use the worksheet

All values are fictional USD before tax with only the stated included cost. Margin percent equals difference / price × 100; markup percent equals difference / cost × 100. CSV contains worked values, not automatic formulas.

The example below is fictional. Replace the CSV example rows before operational use. The CSV is a planning aid; confirm the required format before using it with another system.

Example 1
Example
A
Included cost USD
800
Price USD
1000
Difference USD
200
Markup percent
25
Margin percent
20
Limit
Overhead and taxes not assessed
Example 2
Example
B
Included cost USD
800
Price USD
960
Difference USD
160
Markup percent
20
Margin percent
16.67 rounded
Limit
Not a target recommendation
Download worksheet (CSV)

Further reading

Your next step

Talk through your workflow.

Bring an example from your workday. Confirm what June supports and what your team would need to set up.

Review estimate and cost context with June

Build a better day in the field.

Bring your properties, crews, schedule and hours into one place.
We’ll move your data for free.