All articles
FUNDAMENTALSOctober 5, 2026·4 min read

How to Calculate Your Average Cost Per Gram

Several purchases at different prices make your real cost hard to see. Here is the right way to combine them, with a worked example and the mistake to avoid.

average cost per grambullion cost basis calculationweighted average gold costhow to track bullion purchases

Short answer: add up everything you paid and divide by the total grams you own. Do not average the per-gram prices, because that treats a small purchase and a large one as equal. For three purchases totalling 91.1 g for 5,890, the average cost is about 64.65 per gram.

The formula

Average cost per gram equals total cost divided by total grams. Total cost should include the premium, shipping and fees, so it reflects what the metal really cost you. This is your cost basis spread across your weight.

A worked example

  • Purchase one: 31.1 g for 1,950
  • Purchase two: 10 g for 640
  • Purchase three: 50 g for 3,300

Total weight is 91.1 g and total cost is 5,890, so the average is 5,890 ÷ 91.1, about 64.65 per gram. The per-gram prices were 62.7, 64.0 and 66.0, and their simple average, 64.2, understates the true figure because the dearest purchase was the largest.

Compare it with the spot price

Divide the spot price per troy ounce by 31.1035 to get spot per gram, using the price per gram calculator. If spot per gram is above your average, your holding shows a gain, before any selling costs.

Keep one average per metal

Gold, silver and platinum each need their own average. Mixing them gives a number that means nothing.

Let a tool do it

The average cost calculator combines up to ten purchases and shows your gain or loss. BullionKeeper does the same automatically for every holding as you record it, so the average stays current without any spreadsheet work.

⬡

Track your average cost per gram portfolio — free

Cost basis, live spot prices and photo documentation. Free for up to 20 holdings.

Open your vault — free

More from the Vault Blog