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.

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.
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.
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 cost | Margin on price | Price 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.
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 element | How the cost is worked out | Per unit |
|---|---|---|
| Materials | 2.5 kg of steel at $3.20 per kg, plus 5% for scrap | $8.40 |
| Direct labour | 0.25 hours at a loaded rate of $40.00 per hour | $10.00 |
| Overhead | 0.25 machine hours at $90.00 per machine hour | $22.50 |
| Packaging and freight | Carton, a share of the pallet, and outbound freight | $1.10 |
| Unit cost | Sum 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:
- Made-to-order work. A custom part or a one-off job has no market price to compare with. The cost can be estimated from the drawing and the routing, the list of operations for the part.
- Long lists of low-value items. BDC’s example is a hardware store, where customers see most items, “such as nuts, bolts and washers”, as low value. A markup by category is simpler than pricing each item.
- Open-book agreements. Some customers pay cost plus an agreed fee and audit the costs, which makes the cost build-up the price.
- Volatile inputs. If a commodity such as steel, copper, or resin makes up most of the cost, a price tied to cost moves with that market.
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.
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:
- Reading cost changes as they arrive. Purchase receipts show the price you actually paid. Supplier price-increase letters, quotes, and freight bills arrive as PDFs and emails. Language models, a type of AI that reads and writes text, turn those documents into structured costs that a buyer confirms.
- Rolling costs up. A change in one raw material flows through every bill of materials (the list of inputs for each product) or recipe that uses the material. One resin increase then updates the cost of every product made from that resin.
- Checking every price against a floor. For each item and each customer-specific price, the software compares the current price with the unit cost plus your minimum markup. The software lists the prices below that floor, with the gap in dollars.
- Drafting the new prices. The software proposes a new price list or quote, with the cost trail behind each line, rounded to your price points. A person approves the draft before anything reaches a customer or changes in the ERP (enterprise resource planning) system.
- Checking the market before you send. A cost-based price can sit far from what competitors charge. Margin analysis covers what each product and customer earns.
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.
What data the AI needs
- Item master. Every item, with the unit of measure, the category, and the current price.
- Bills of materials or recipes. The quantity of each input per unit, with scrap or yield allowances.
- Routings and labour standards. Hours per operation and the machine or work centre used.
- Purchase receipts and supplier price lists. The price actually paid, with dates, and any increases already announced.
- Freight, duty, and brokerage. The inbound bills that belong in landed cost.
- Overhead budget and hours. The totals behind each overhead rate.
- Price lists and customer prices. List prices, customer-specific prices, contracts with fixed prices, and recent quotes.
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.
How to start
- 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.
- 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.
- Write the markup rules down. Minimum markup by category or customer group, rounding rules, and who approves exceptions.
- Let the software draft, and approve each change.
- 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
- Out-of-date inputs. If bills of materials or routings are out of date, every price built on those inputs is out of date too. Fix the inputs for the items you start with.
- Contract terms. Some customer agreements fix prices for a term or require notice before an increase. The software has to know which prices are fixed and which may change.
- Overhead method. How you spread overhead changes every unit cost, so agree on the method before you automate the calculation.
- Approval before publishing. Keep a named approver for every price change, and send nothing to a customer as a draft.
- Prices set independently. Set your markups yourself. Agreeing on prices with a competitor is an offence under section 45 of the Competition Act.
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.