How to Track Your Real Cost Basis Across Multiple Gold Purchases
You bought gold at USD 1,800, then at USD 2,100, then at USD 2,400. What did your gold actually cost you? Here's how to calculate it — and why getting it wrong costs you money at tax time.
What Cost Basis Is and Why It Matters
Cost basis is the total price you paid to acquire an asset, including premiums, shipping, and sales tax. When you sell gold, your taxable gain is the difference between the sale price and your cost basis. Get the basis wrong and you either overpay the IRS or trigger an audit.
For a single purchase this is simple. You bought 1 oz of gold for USD 2,100, you sell it for USD 2,600, your gain is USD 500. But most stackers don't buy once. They buy monthly, quarterly, or whenever the price dips. Each purchase has a different cost basis, and when you sell, you need to know exactly which lot you're selling and what you paid for it.
The Multi-Purchase Problem
Say you made five gold purchases over two years:
Purchase 1 — Jan 2024
1 oz American Gold Eagle at USD 2,080 (spot USD 1,980 + USD 100 premium)
Purchase 2 — May 2024
1 oz Gold Buffalo at USD 2,220 (spot USD 2,150 + USD 70 premium)
Purchase 3 — Sep 2024
2 oz (2x 1 oz bars) at USD 2,350 each (spot USD 2,300 + USD 50 premium)
Purchase 4 — Feb 2025
1 oz Canadian Gold Maple at USD 2,520 (spot USD 2,460 + USD 60 premium)
Purchase 5 — Aug 2025
1 oz Gold Britannia at USD 2,680 (spot USD 2,610 + USD 70 premium)
Total: 6 oz of gold. Total cost: USD 2,080 + USD 2,220 + USD 4,700 + USD 2,520 + USD 2,680 = USD 14,200. Average cost basis per ounce: USD 2,366.67.
Now spot gold is at USD 2,700 and you want to sell 2 oz. Your taxable gain depends entirely on which method you use to identify the lots you're selling.
FIFO vs LIFO vs Specific Identification
The IRS allows three methods for identifying which shares (or in this case, which ounces) you're selling. Each produces a different tax outcome.
FIFO — First In, First Out
You sell your oldest purchases first. Selling 2 oz means you sell Purchase 1 (USD 2,080 basis) and Purchase 2 (USD 2,220 basis). Total basis: USD 4,300. Sale at USD 2,700/oz = USD 5,400. Taxable gain: USD 1,100.FIFO is the IRS default if you don't specify a method.
LIFO — Last In, First Out
You sell your newest purchases first. Selling 2 oz means you sell Purchase 5 (USD 2,680 basis) and Purchase 4 (USD 2,520 basis). Total basis: USD 5,200. Sale at USD 2,700/oz = USD 5,400. Taxable gain: USD 200. Much lower gain because your recent purchases were closer to the current price.
Specific Identification
You choose exactly which lots to sell. You could sell Purchase 4 (USD 2,520) and Purchase 5 (USD 2,680) for a USD 200 gain — or sell Purchase 1 (USD 2,080) and Purchase 4 (USD 2,520) for a USD 800 gain. Maximum flexibility, but requires you to prove which specific coins or bars you sold.
In this example, the difference between FIFO and LIFO is USD 900 in taxable gains. At the 28% collectibles rate, that's USD 252 in extra tax just from choosing the wrong method. Over a lifetime of stacking and selling, this adds up to thousands.
How to Calculate Average Cost Basis
While FIFO and specific identification are the IRS-approved methods for precious metals, knowing your average cost basis is still useful for understanding your overall position. Here's the formula:
Average Cost Basis Formula
Average Cost per Oz = Total Amount Paid / Total Ounces
Using our example: USD 14,200 / 6 oz = USD 2,366.67 per oz
With spot at USD 2,700, your average unrealized gain is USD 333.33 per ounce, or USD 2,000 across your full 6 oz position. This tells you your portfolio is up about 14.1% overall. But remember: for tax purposes, you still need to use FIFO or specific identification when you actually sell.
Why Premiums Belong in Cost Basis but NOT in Current Value
This is one of the most misunderstood concepts in metals tracking. When you buy a 1 oz American Gold Eagle for USD 2,080 (spot USD 1,980 + USD 100 premium), your cost basis is USD 2,080. The premium is part of what you paid.
But when you value your holdings today, you should use the current spot price (or dealer buy-back price), not spot plus the premium you originally paid. Why? Because premiums fluctuate independently of spot. The USD 100 premium you paid might be USD 60 today or USD 140 today. Spot price gives you a consistent, conservative baseline.
This means your “true return” on physical gold is almost always lower than the movement in spot price. If you bought at a 5% premium and spot rose 10%, your actual gain is closer to 5% — because you paid above spot and you'll likely sell at or slightly below spot.
Capital Gains Tax on Precious Metals
The IRS classifies physical gold, silver, platinum, and palladium as collectibles. This puts them in a worse tax bracket than stocks:
- •Long-term gains (held > 1 year) — Taxed at a maximum federal rate of 28%, versus 15-20% for stocks
- •Short-term gains (held < 1 year) — Taxed as ordinary income, up to 37%
- •State taxes — Many states add their own capital gains tax on top. Some states exempt precious metals entirely
- •Net investment income tax — An additional 3.8% may apply if your modified AGI exceeds USD 200,000 (single) or USD 250,000 (married filing jointly)
Back to our example: selling 2 oz via FIFO at a USD 1,100 gain, the federal tax at 28% is USD 308. Via LIFO at a USD 200 gain, the federal tax is just USD 56. Same gold, same sale price, USD 252 difference — all because of which lots you identified.
Free Tool
Gold Tax Calculator
Enter your purchase price, sale price, and holding period to estimate your federal and state capital gains tax on gold and silver — including the 28% collectibles rate.
Open CalculatorCommon Cost Basis Mistakes
These errors are expensive and surprisingly common among stackers:
- •Not recording purchase dates — Without dates, you can't prove long-term holding status. The difference between 11 months and 13 months of holding could mean paying 37% instead of 28%. Keep the receipt or screenshot the order confirmation.
- •Mixing metals in one line item — If you track “10 oz gold” as a single entry, you lose the ability to use specific identification. Each purchase should be a separate record with its own date and price.
- •Losing receipts — If you can't prove your cost basis, the IRS can assign a basis of USD 0. That means your entire sale proceeds are taxable. For a 1 oz gold sale at USD 2,700, that's USD 756 in federal tax versus USD 56 if you can prove your USD 2,500 basis.
- •Excluding premiums from basis — Using only the spot price as your cost basis means you're overstating your gain by the full premium amount. On a USD 100 premium, that's USD 28 in unnecessary tax per ounce.
- •Forgetting shipping and sales tax — These are part of your acquisition cost. If you paid USD 15 shipping and USD 40 sales tax on a purchase, add USD 55 to your cost basis for that lot.
- •Defaulting to FIFO without thinking — FIFO sells your cheapest lots first, maximizing your taxable gain when prices are rising. In a bull market, LIFO or specific identification almost always produces a lower tax bill.
Track Every Purchase in One Place
The key to accurate cost basis is recording every purchase at the time you make it — not scrambling for receipts three years later when you sell. You need the date, weight, price paid (including premium), and ideally the specific coin or bar identifier.
StackWorthis built for exactly this. Add each purchase with its date, weight, and total price paid. Your cost basis is calculated automatically. Your current value updates daily at live spot prices. When it's time to sell, you have a complete record of every lot — no digging through emails, no guessing which coins you bought when, no accidentally paying hundreds more in taxes than you owe. Free for up to 2 assets.
Frequently Asked Questions
Cost basis is the total amount you paid to acquire your gold, including the spot price at the time of purchase plus any dealer premiums, shipping, and sales tax. It's the number the IRS uses to determine your capital gain or loss when you sell.
Yes. The IRS considers your full acquisition cost as your basis. If you paid USD 2,050 for a 1 oz American Gold Eagle when spot was USD 1,950, your cost basis is USD 2,050 — not USD 1,950. Including premiums reduces your taxable gain when you sell.
The IRS classifies physical gold and silver as collectibles. Long-term capital gains on collectibles are taxed at a maximum federal rate of 28%, compared to 15-20% for stocks and ETFs. Short-term gains (held less than one year) are taxed as ordinary income.
FIFO (First In, First Out) assumes you sell your oldest purchases first. Specific identification lets you choose exactly which coins or bars you're selling. Specific identification gives you more control over your tax bill — you can pick higher-cost lots to minimize gains — but requires detailed records of each purchase.
Yes. Even if you plan to hold forever, circumstances change. Inheritance, emergency liquidation, or partial sales can all happen. If you don't have records, the IRS may assign a cost basis of zero — meaning your entire sale price becomes taxable gain. Track it now while you still have receipts.
StackWorth records each purchase individually with date, weight, price paid, and premium. Your cost basis is always available at a glance. When it's time to calculate gains, you have a complete audit trail without digging through old emails and receipts.