DHB Apps
Advice7 min read

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

DHB Apps Team

Cover image for How to Calculate Profit and Loss on Your Gold: Cost Basis, Lots and Average Cost

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:

Example Krugerrand purchase lots with cost, value and profit
LotDateQuantityPrice per coinCostValue today*P&L
#1March 12, 20245$2,190$10,950$18,248+$7,298 (+66.6%)
#2June 10, 20252$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:

  1. Cost basis: $10,950 + $6,650 = $17,600.
  2. Average cost: $17,600 ÷ 7 coins = $2,514.29 per coin.
  3. Market value: 7 × 31.10 g × $117.35 per gram = $25,547.
  4. 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.

— DHB Apps TeamGold Price Live

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.

Krugerrand holding split into two purchase lots with their gains in Gold Price Live
Gain per lot
Profit and loss card with cost basis, market value and unrealized P&L in Gold Price Live
Cost basis and P&L
The worked example above, in Gold Price Live (example data).

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.

  1. Open Portfolio

    In Gold Price Live, tap the Portfolio tab and go to Coins or Bars.

  2. Pick the piece

    Search for the coin or choose the bar size, then tap +.

  3. Enter the purchase

    Type the quantity, the price you paid — per unit or in total — and the purchase date.

  4. Repeat for each purchase

    Bought the same coin again later? Tap Add a lot under it. Each purchase keeps its own price and date.

  5. 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.

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.

Share this article:
DHB Apps Team

Written by DHB Apps Team

We build efficient mobile and web software for everyday life. Our team specialises in measurement tools, utilities, and productivity apps for iOS, Android, and the browser.

Read Next

Gold Coins vs Gold Bars: Which Should You Buy?
Advice
7 min read

Gold Coins vs Gold Bars: Which Should You Buy?

Same gold, different trade-offs. We compare gold coins and gold bars on premium, liquidity, recognition and storage — from 0.5 g bars to 1 kg — so you can decide what fits your stack.

DHB Apps Team

DHB Apps Team

Contributor