How to Calculate Profit and Loss on Your Gold: Cost Basis, Lots and Average Cost
Bought gold at different prices over the years? Here's how to work out your cost basis, average cost and unrealized gain — per purchase and for your whole stack — with a worked example.
DHB Apps Team

Most people don't buy gold once. They buy a few coins, then a bar a year later, then more coins when the price dips. Ask them whether they are up or down and the honest answer is often "probably up". Here is how to calculate profit and loss on your gold precisely — overall and purchase by purchase — and how to keep that number up to date without a spreadsheet.
Definition
Cost basis — The cost basis of your gold is the total amount you paid for it, including dealer premiums, shipping and any fees attached to the purchase. Comparing it with the current market value of the gold gives your unrealized profit or loss.
The four numbers that matter
- Cost basis: everything you paid, all purchases added together.
- Market value: fine gold you hold × today's spot price.
- Unrealized P&L: market value − cost basis. "Unrealized" because you haven't sold.
- Return in %: unrealized P&L ÷ cost basis × 100.
Use the fine gold weight, not the coin's weight: a one-ounce Krugerrand weighs 33.93 g but contains 31.10 g of gold. If you're not sure what your coins contain, see how much is my gold coin worth.
A worked example: two Krugerrand purchases
Say you bought Krugerrands twice:
| Lot | Date | Quantity | Price per coin | Cost | Value today* | P&L |
|---|---|---|---|---|---|---|
| #1 | March 12, 2024 | 5 | $2,190 | $10,950 | $18,248 | +$7,298 (+66.6%) |
| #2 | June 10, 2025 | 2 | $3,325 | $6,650 | $7,299 | +$649 (+9.8%) |
| Total | — | 7 | $2,514.29 avg. | $17,600 | $25,547 | +$7,947 (+45.2%) |
*At a spot price of $3,650 per troy ounce: one Krugerrand (31.10 g of gold) is worth $3,649.59.
The calculation, step by step:
- Cost basis: $10,950 + $6,650 = $17,600.
- Average cost: $17,600 ÷ 7 coins = $2,514.29 per coin.
- Market value: 7 × 31.10 g × $117.35 per gram = $25,547.
- Unrealized P&L: $25,547 − $17,600 = +$7,947, or +45.2%.
Why per-lot results matter
The total says +45%. But the 2024 lot is up 67% while the 2025 lot is up less than 10%. If the price fell back to $3,000 an ounce, the first lot would still be well in profit and the second would be at a loss. Seeing each lot tells you which purchases carried your return, how much margin of safety you have, and — when you sell — which coins you are actually selling.
“An average hides your best and worst purchases. Lots show them.
Common mistakes
- Forgetting premiums. If you paid $2,190 for a Krugerrand when gold was lower, that price already includes the dealer's premium. Use what you really paid.
- Using gross weight. Valuing a 22-karat coin at its full weight overstates it by about 9%.
- Mixing currencies. Compare cost and value in the same currency, the one you paid in.
- Comparing with a dealer's sell price. Your gold is worth what someone will pay for it. Spot is the neutral reference; a dealer's buy price will usually be a little below.
Taxes on gold gains depend on your country, the type of gold and how long you held it. Keep the dates and prices of every purchase — you may need them — and check your local rules.
Let the app do the math, live
Gold Price Live – Prix de l'Or does exactly this calculation, continuously. Each purchase you add becomes a lot with its quantity, price and date; the app shows the average cost per unit, the gain of every lot and a Profit & loss card with cost basis, market value and unrealized P&L for the whole portfolio — updated with the live spot price.


How to log your gold purchases in Gold Price Live
Record each gold purchase as a lot to see your cost basis and profit or loss.
Open Portfolio
In Gold Price Live, tap the Portfolio tab and go to Coins or Bars.
Pick the piece
Search for the coin or choose the bar size, then tap +.
Enter the purchase
Type the quantity, the price you paid — per unit or in total — and the purchase date.
Repeat for each purchase
Bought the same coin again later? Tap Add a lot under it. Each purchase keeps its own price and date.
Read your P&L
The Profit & loss card shows cost basis, market value and unrealized P&L; every lot shows its own gain.
Frequently Asked Questions
Add up everything you paid for your gold, premiums included: that is your cost basis. Multiply the fine gold you hold by today's spot price: that is the market value. Market value minus cost basis is your unrealized profit or loss; divide it by the cost basis to get the percentage.
A lot is one purchase: a quantity of the same coin or bar bought on the same day at the same price. Keeping lots separate shows which purchases are in profit and which are not, and gives you the dates and prices you may need when you sell.
Divide the total amount paid for all your lots of a coin by the number of coins. Example: 5 Krugerrands at $2,190 and 2 at $3,325 cost $17,600 in total, an average cost of $2,514.29 per coin.
Yes. In Gold Price Live – Prix de l'Or, enter the price and date of each purchase and the app computes your cost basis, average cost per unit and unrealized profit or loss — for every lot and for the whole portfolio — from the live spot price.
Conclusion
Profit on gold is simple math — market value minus cost basis — as long as you track it purchase by purchase and use fine gold, not gross weight. Do it once by hand to understand it, then let Gold Price Live keep it current. The app is free to download on Google Play; our portfolio guide shows how to get started.


