Cost-plus pricing: the formula, a calculator, and prices tied to cost

Cost-plus pricing sets a selling price by adding a markup to what one unit costs you.

Sheets of raw material on pallet racks and a forklift in a bright, orderly stockroom

The cost-plus pricing formula

Cost-plus pricing needs two inputs, the unit cost and a markup percentage, and produces a selling price. The unit cost covers the materials, the labour, and a share of overhead for one unit. The method has two weak points: a unit cost that has gone out of date, and a markup that ignores what buyers would pay.

The formulas

Selling price = unit cost × (1 + markup)

Profit per unit = selling price − unit cost

Margin = profit per unit ÷ selling price

BDC, the Business Development Bank of Canada, defines the two percentages in a guide to setting prices. The guide says that “The markup is expressed as a percentage of cost of goods sold or cost of sales”. Margin gets a separate definition: “Gross margin is a related term and is gross profit as a percentage of revenues”. Markup is measured on cost and margin on price. The same dollar of profit is therefore a larger percentage as a markup than as a margin.

Take a part that costs $42.00 to make. A 30% markup adds $12.60, for a selling price of $54.60. That $12.60 is 23.1% of the price, so a 30% markup gives a 23.1% margin. BDC’s own example shows how far apart the two numbers can be. An item that costs $3.50 and sells for $10.00 carries a markup of 186%, which works out to a gross margin of 65%.

Cost-plus pricing calculator

Enter your unit cost, either as separate parts or as one total, and a markup. The calculator shows the selling price, the profit on each unit, and the margin that the markup gives. The last section of the calculator works backwards, from the margin you want to the markup you need. The calculator opens with the example used on this page.

Cost-plus pricing calculator
Unit cost
Markup
Unit cost
$42.00
Selling price
$54.60
Profit per unit
$12.60
Margin on price
23.1%
A 30% markup on cost gives a 23.1% margin on the selling price.
From a target margin
Markup you need
42.9%
Selling price
$60.00
Profit per unit
$18.00
A 30% margin on price needs a 42.9% markup on cost.
The calculator runs in your browser. The numbers you type are not sent to ThriveAI and are kept out of the site’s analytics.

Markup versus margin

Markup is profit as a share of cost. Margin is profit as a share of the selling price. Whenever there is a profit, the margin is the smaller of the two percentages. Two formulas convert one into the other: margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin).

Markup on costMargin on pricePrice for a $100.00 unit cost
10%9.1%$110.00
20%16.7%$120.00
25%20.0%$125.00
30%23.1%$130.00
33.3%25.0%$133.33
42.9%30.0%$142.86
50%33.3%$150.00
66.7%40.0%$166.67
100%50.0%$200.00

A costly mistake is to treat a target margin as a markup. On goods that cost $700,000, a 30% markup brings in $910,000 of sales and $210,000 of gross profit. That is a margin of 23.1%. Pricing the same goods for a 30% margin brings in $1,000,000 of sales and $300,000 of gross profit. If your budget assumes a margin and your price list applies a markup, check which one each number means.

Building the unit cost

A unit cost has to include everything that one unit consumes. BDC’s guide starts with direct costs, which “include the cost of raw materials, including duty, freight or shipping charges”. Direct costs also cover “direct labour costs that are incurred to produce a product or provide a service”. Overhead, the cost of running the plant or the warehouse, is then spread across the units made or sold.

Bundles of round steel bars with chamfered ends stacked in rows, with people talking in the blurred background
Materials enter the unit cost at the price paid, with duty and freight included.

Here is the cost build-up for the $42.00 part used on this page. The numbers are made up to show the method.

Cost elementHow the cost is worked outPer unit
Materials2.5 kg of steel at $3.20 per kg, plus 5% for scrap$8.40
Direct labour0.25 hours at a loaded rate of $40.00 per hour$10.00
Overhead0.25 machine hours at $90.00 per machine hour$22.50
Packaging and freightCarton, a share of the pallet, and outbound freight$1.10
Unit costSum of the lines above$42.00

The overhead rate is where judgment comes in. OpenStax’s managerial accounting text explains how the rate is set. “A predetermined overhead rate is calculated at the start of the accounting period by dividing the estimated manufacturing overhead by the estimated activity base”. The activity base is a measure such as labour hours or machine hours. In the example, $1.8 million of budgeted overhead spread over 20,000 machine hours gives $90.00 an hour.

The same text notes that this traditional method “works most effectively when direct labor is a dominant component in production”. According to OpenStax, many organizations have moved to activity-based costing, which assigns overhead by the activities that each product uses, such as machine setups.

A distributor’s unit cost is a landed cost: the supplier’s price plus inbound freight, duty, brokerage, and handling, spread over the units received. A food producer’s cost starts from the recipe and allows for yield. Trimming and cooking losses mean that more raw material goes in than comes out as product. In every case, use the price paid on the latest receipts. A standard cost set at the start of the year can be months behind.

When cost-plus pricing works

BDC’s overview of common pricing strategies notes how widely the method is used. “Retailers, manufacturers, restaurants, distributors and other intermediaries often think of cost-plus pricing as a fast and straightforward way of setting prices”. The overview adds that “Many entrepreneurs and customers think cost-plus pricing is the only way to set prices”. The method fits some situations well:

When cost-plus pricing leaves money on the table

BDC names the main drawback plainly: cost-plus pricing “doesn’t consider the customer. If you use this pricing strategy, you may lose potential profit”. In the same hardware store, customers “will see value in some items”, such as electric tools, which can be priced on value instead. The same thing happens at a manufacturer when a part is urgent, hard to source elsewhere, or engineered for one customer.

Cost-plus pricing can also price you out. In BDC’s guide to setting prices, a BDC business consultant warns that you cannot choose a markup on math alone. “If your competitors all have lower profit margins and you offer a higher price that would give you a higher margin, you could lose sales”.

When the cost underneath is stale

Costs also move between price reviews. Statistics Canada reported that in August 2026, the Industrial Product Price Index was 13.5% higher than a year earlier. That was the 23rd consecutive month of year-over-year increases. The Raw Materials Price Index was up 22.8%. Over the same year, unwrought copper rose 49.3% and unwrought aluminum 27.6%, and plastic resins rose 10.7% in August alone. A price list set once a year trails costs like those for most of the year.

A stockist’s rack of metal tubes, bars, and angles, with handwritten size labels on the ends
Raw material pricesCopper rose 49.3% and aluminum 27.6% in the year to August 2026. Rebuild unit costs from the latest receipts before each price review.

When volume falls

Overhead per unit depends on volume. Suppose the plant in the example runs 15,000 machine hours instead of 20,000. The same $1.8 million of overhead becomes $120.00 an hour, and the unit cost rises from $42.00 to $49.50. A 30% markup then asks $64.35 for the same part. Raising prices because volume fell can push more volume away. Price on the overhead rate at normal volume, and review the idle hours separately.

Cost plus in contracts

In a contract, a fee that grows with cost gives the supplier no reason to cut cost. The Government of Canada’s buyer’s guide discusses a basis of payment that pays “actual costs incurred plus a fixed percentage fee”. The guide advises against that basis “because it provides little or no costs control and actually encourages contractors to raise costs to increase profit”.

US federal rules, the Federal Acquisition Regulation (FAR), go further. FAR 16.102 says: “The cost-plus-a-percentage-of-cost system of contracting shall not be used”. The cost-plus-fixed-fee contract described in FAR 16.306 pays a fee fixed at the start. That fee still provides the contractor “only a minimum incentive to control costs”. If you sell under an open-book or government contract, read the contract’s definition of cost before you set a price.

How AI keeps cost-based prices tied to live costs

Most of the effort in cost-plus pricing goes into keeping unit costs current across hundreds or thousands of items. AI changes that work in five places:

For example, a food producer’s packaging film goes up 8%. The software lists which of the producer’s 300 products now earn less than the 25% minimum markup, and by how much. The software also shows the price that each product needs to get back to the minimum.

Map the spreadsheet you price from

Send us the spreadsheet that your team prices from. We send back a free map of the spreadsheet’s rules and gaps, such as costs typed by hand with no source.

Derik Lawlis, founder
Start a conversation

What data the AI needs

These records live in the ERP and the accounting system, plus spreadsheets for whatever the ERP does not hold. For the ways to read those records, see AI for ERP.

Fresh pasta falls from the die of an extruder into a white perforated tray in a production kitchen
One ingredient price rise changes the unit cost of every recipe with that ingredient.

How to start

  1. Pick the items that matter. Start with the 50 to 100 items that bring in most of your revenue. Add any item whose main input moved more than 10% in the past year.
  2. Rebuild those costs from receipts. Compare the cost behind each current price with a cost built from the latest purchase prices, and list the gaps.
  3. Write the markup rules down. Minimum markup by category or customer group, rounding rules, and who approves exceptions.
  4. Let the software draft, and approve each change.
  5. Repeat every month. Once the cost roll-up reads the ERP directly, the same check can run monthly instead of once a year.

Risks and limits

How ThriveAI helps

ThriveAI is an AI engineering company in Ottawa that builds private AI systems on a company’s own data. The company works for businesses that make, move, or sell physical goods. For pricing, ThriveAI’s system reads the costs in your ERP, purchase receipts, and supplier documents. The system rolls those costs up through your bills of materials or recipes and drafts price changes for a named person to approve. The cost trail sits behind every line, and every answer shows the source. When your team prices from a spreadsheet, the first step is a free map of that workbook. The map shows the workbook’s rules and gaps.

ThriveAI’s systems read the ERP version that you run, including older versions installed on your own server. Every connection is read-only. Your company has a copy of the data reserved for your team. ThriveAI hosts that copy, or you host the copy on your own servers. You choose a model where the copy is hosted or a hosted model under a written zero data retention agreement. A hosted model may process requests in another country. Derik Lawlis, the founder, leads every project and stays close to the build. For more on the company, see About ThriveAI.

Questions people ask

What is cost-plus pricing?
Cost-plus pricing sets a selling price by adding a markup to the cost of one unit. The unit cost includes materials, labour, and a share of overhead. The formula is price = unit cost × (1 + markup). A part that costs $42.00 sells for $54.60 with a 30% markup.
What is a cost-plus pricing example?
A part uses $8.40 of materials, $10.00 of labour, $22.50 of overhead, and $1.10 of packaging and freight, for a unit cost of $42.00. With a 30% markup, the price is $54.60, the profit is $12.60 a unit, and the margin is 23.1% of the price.
What is the difference between markup and margin?
Markup is profit as a percentage of cost. Margin is profit as a percentage of the selling price. A 30% markup gives a 23.1% margin, and a 30% margin needs a markup of about 42.9%. To convert, margin = markup ÷ (1 + markup), and markup = margin ÷ (1 − margin).
When should you use cost-plus pricing?
Cost-plus pricing suits made-to-order work with no market price to compare, and long lists of low-value items marked up by category. The method also fits open-book contracts that pay cost plus an agreed fee. Check the result against what competitors charge and what customers value before you rely on the price.
What is a disadvantage of cost-plus pricing?
Cost-plus pricing ignores what customers would pay. The method can leave profit on items that customers value highly, and lose sales where competitors charge less. The price also depends on a current unit cost. When input prices rise or volume falls, a price set from last year's cost no longer covers this year's.
How does AI help with cost-plus pricing?
AI keeps the unit costs current. The software reads purchase receipts, supplier price letters, and freight bills, and rolls cost changes through bills of materials or recipes. The software then lists the items whose price no longer covers cost plus your minimum markup. A person approves each new price that the software drafts.

Contact

See where the costs behind your prices come from

Tell Derik which spreadsheet your team prices from and how often the costs in that spreadsheet change. He will reply with how to send the spreadsheet for a free map of the rules and gaps.

Prefer to talk? Book a meeting.

Your message goes to Derik Lawlis, the founder.