MarkupYard Editorial Team · Published · 11 min read
Why the price on the invoice is not your cost
Average cost is the total cost of the parts you hold, divided by the number of parts you hold. A shop that buys the same part several times a year pays a different price almost every time. The brake pad you bought in the spring may cost less than the identical pad you bought in the fall. When a technician pulls a pad from the shelf for a customer's car, which cost belongs on the repair order? The answer decides whether your parts markup earns what you think it earns.
Many shops set parts pricing from the most recent supplier invoice. That is quick, but it has two weak spots. One invoice may reflect a one-time special or a rush shipment. And the parts on your shelf were often bought at several prices. The last invoice describes only the newest batch, not what the whole stock really cost you.
Average cost gives you one number that reflects everything you hold. This post walks through four example entries for a single stocked part: a delivery, a second delivery at a different price, a withdrawal for a repair order, and a later delivery and withdrawal. Work through them and you will see how the average moves, and why that matters when you set your markup.
Nothing here replaces advice from your accountant. Treat this as a guide to the logic, so you can check the numbers your shop system gives you.
The idea behind average cost
When you buy more at a new price, you add the new cost to the total, add the new count to the count, and divide again. When you take parts out to use on a job, you take them out at the current average, not at whatever price was printed on the box you happened to grab.
Two consequences follow. First, a batch bought at a higher price pulls the average up, but only by as much as its share of the total. Second, using parts at the average does not, by itself, change the average. The count drops, the total drops by the same average amount for each unit, and the average stays where it was. The average moves when you receive stock at a different price, and it can also move when credits, returns, or count adjustments change the recorded cost or quantity.
The bookkeeping is where shops get tripped up. Returns, transfers, count adjustments, and supplier credits all touch the numbers, and a mistake in one entry carries forward into every later average.
Microsoft's Business Central documentation shows how one accounting system handles this. In its example, the average cost of entry number 3 is calculated in the average cost period for January , and the average cost is assigned to the inventory decreases in the period (entries 4 and 6) . The lesson is that stock going out takes its cost from the average, and that average belongs to a period.
The four stock entries
Picture one stocked part, an oil filter, kept in a single bin. We will not use real prices. We will call the cost of the first batch the first price and the cost of the second batch the second price, so you can plug in your own figures.
Entry 1: the first delivery
You receive a batch of filters at the first price. The stock record shows the quantity and the total cost coming in. Because this is the only stock on hand, the average equals the first price.
This is the entry most shops already handle well. If the delivery does not match the supplier invoice, or the quantity does not match the shelf, fix it now, because every later average builds on it.
Entry 2: the second delivery at a higher price
A second batch arrives at a higher unit price. The stock record adds its quantity and cost to what you already hold. The new average now sits between the two prices. A large second batch pulls the average close to the higher price. A small one barely moves it.
This is the first entry where the average matches no single invoice. That is not an error. It is the honest cost of the filters you hold, blended across both batches. A markup built on the second invoice alone would overcharge for filters from the first batch, and a markup built on the first invoice alone would undercharge for the newer ones.
Entry 3: a withdrawal for a repair order
A technician uses one filter on a job. The stock record takes one unit out of stock and assigns the cost at the current average, not at either batch price. The quantity on hand drops by one. The average does not change, because you removed a unit at the average. The repair order now carries the cost you actually tied up in that filter, and that is the cost your markup should sit on.
Entry 4: a later delivery at a lower price, then a withdrawal
A third batch arrives at a unit price lower than the current average. The average drops, but not all the way to the new price, because the earlier stock is still in the total. Then another filter goes out on a repair order. It leaves at the new, lower average, not at the price on the latest invoice.
Entry 4 shows the principle that matters most for markup. In a system that updates the average with each transaction, a sale's cost depends on the average at the moment of the sale, not on the price of the batch the part came from. A shop that prices from its newest invoice can overprice when prices rise and underprice when they fall, because that invoice sits at one edge of the range.
Here is the whole sequence in one place:
| Entry | What happens | Quantity on hand | Average cost |
|---|---|---|---|
| 1 | First delivery | Goes up | Equals the first price |
| 2 | Second delivery at a higher price | Goes up | Moves up, between the two prices |
| 3 | Withdrawal for a repair order | Goes down by one | Unchanged |
| 4 | Delivery at a lower price, then a withdrawal | Goes up, then down by one | Moves down on the delivery, unchanged by the withdrawal |
In Microsoft's example, entries 4 and 6 are the inventory decreases, and they take the average calculated for the period, not the average at the moment they leave. Other systems may recalculate after each transaction instead.
Why the period matters more than the single day
Under period averaging, the system calculates the average for a period and applies it to what goes out during that period. Microsoft's documentation uses months, such as January and February, to show this.
The same documentation includes a useful warning. It notes that if the corresponding value in the Cost Amount (Actual) field for this date (02-01-20) were used for this entry, then it would be 14.00 . In other words, a cost tied to one specific date can give a different answer from the period average. A shop that looks only at the cost on the day of a sale may get a number that does not match the figure its system uses for the books.
Find out which method your software uses. Some update the average as each delivery posts. Others compute it at the end of a period. If you set markups mid-month from a figure your system will not recalculate until month-end, you may be pricing from a number that changes later. Decide which number you will price from, and stick to it.
Average cost by location and by variant
Average cost is not always one number for each part. The same documentation explains that with this option, the average cost is calculated for each item, for each location, and for each variant of the item . It also says that the average cost of this item depends on where you store it and the variant you select, such as color .
For a repair or service shop, this matters in two common cases. The first is a shop with more than one bay, storeroom, or branch. The same brake pad kept at two locations can carry different averages if each place received stock at different times and prices. A markup set from one location's average may be wrong for parts sold from the other.
The second case is variants. The same part family often comes in different sizes, finishes, or grades, and each version may have its own average in your system. If you set one markup for the whole family, you may be blending costs that should stay separate.
Before you build a markup table, ask your system which level it averages at: part number, location, variant, or some combination.
Setting markup from the average
Once you know the average, the pricing step is simpler. Start with the average as the cost of the part, then decide how your shop expresses its markup. Mixing up the two common methods is one of the most frequent mistakes in parts pricing. For more on costing methods, see parts costing methods .
Markup on cost means you add a percentage to the cost to reach the selling price. Margin on price means the profit portion is a percentage of the selling price. The same percentage gives different selling prices under the two methods, and the gap grows as the percentage grows. Choose one method, make sure your software is set to it, and make sure your counter staff know which one is in use.
Also decide what goes into cost. The average reflects the cost of the part as it was bought. It may not include freight, handling, or other charges tied to the job. Whether to include those is a question for your accountant. Once it is settled, apply it the same way to every part so your markups are comparable.
One more check helps. Compare the average to the most recent invoice for your top-selling parts once a month. If the two numbers are far apart, find out why. A recent price change may still be working through the average, or a delivery may have been keyed wrong.
Settings to check in your software
Average cost only works when the software is set up to calculate it. Microsoft's documentation notes that two fields on the Inventory Setup page must be filled to enable average cost calculation . You may not use that product, but the principle carries over. Find the costing settings in your own system and confirm which method is active before you rely on any number it shows.
Confirm these things in writing, and review them after any software update:
- The costing method used for each part group.
- Whether averages are kept by part, by location, by variant, or some combination.
- Whether the average updates when stock is received or at the end of a period.
- How returns, credits, and count adjustments are posted, and whether they change the average.
Records and tax
Your average is only as good as the records behind it. Keep the supplier invoices, receiving records, stock counts, and adjustment notes, and store them so you can find them later. If a question comes up about a part you sold last spring, you should be able to trace its cost back to the entries that created it. For how those inputs feed a part's cost, see Parts inventory valuation: 5 inputs for each part's cost .
Records also matter for taxes. Tax rules for parts you pull from stock differ from place to place, and this post does not try to state them. Ask your accountant how parts taken from inventory for customer jobs should be handled, and what purchase records you need to support that treatment. Get the answer in writing, so the people who set markups and the people who file returns work from the same rules.
Common mistakes that distort average cost
- Pricing from the last invoice. The newest invoice is one batch. It may sit far above or below what the rest of your stock cost you.
- Forgetting credits and returns. A supplier credit changes the cost of what you hold. If it is not posted, the average stays wrong until someone notices.
- Ignoring physical counts. The system count and the shelf count drift apart over time. Count high-value parts regularly.
- Mixing locations or variants. One markup for a part with separate averages in different places or variants will be wrong somewhere.
- Mixing up the two markup methods. Markup on cost and margin on price produce different selling prices, and mixing them up is a common source of underpricing.
A simple monthly routine
You do not need a complicated process. A short routine once a month is enough for most shops.
- Pull the average cost for your top-selling parts and for any part with a large recent delivery.
- Compare each average to the most recent invoice, and note the large gaps.
- For those parts, check the receiving records and any returns or credits posted during the month.
- Recount a sample of high-value parts and compare the count to the system.
Putting it together
The four entries in this post explain most of what you will see in a parts record. A first delivery sets the average. A second delivery at a higher price moves it between the two prices. A withdrawal for a repair order takes the current average out and leaves the average where it was. A later delivery at a lower price moves the average down, and the next withdrawal leaves at the new average.
Once you understand that, you can answer the questions that matter for markup. What did this part really cost us? Which average is the system using? Is it a period figure or a figure for one day? Does it apply to this location and this variant? Answer those before you set a price.
Start with one fast-moving part this month. Trace its entries from the first delivery to the most recent withdrawal, and compare the average to the price you are charging. If the two tell different stories, you have found a useful place to start.
Related guides: Parts sale entries: 4 price and cost checks · Calculate unit job cost: 4 steps to check a price .