Crypto portfolio log: average cost
Model credit: InvestAnswers (IA). Our own build of the arithmetic; nothing copied from his sheets.
Free, no sign-up, no catch. No email, no account, no cookies.
Hypothetical worksheet, not advice and not tax advice. Nothing you type leaves this page.
1. Events
Type each buy, sell, airdrop, staking reward and lost coin. Events are applied oldest first; events on the same date keep the order shown. Price is per unit in US dollars. Fee is a percent of the trade.
| Date | Coin | Type | Units | Price (USD) | Fee % | Remove |
|---|
2. Mark prices
One mark price per coin. This is your own value per unit, not a live feed. A held coin needs a mark price before the holdings table appears.
3. Holdings
Average cost is the cost left divided by the units left. It shows an em dash when a coin has no units left.
| Coin | Units | Avg cost | Cost left | Value | Unrealized | Realized | Income | Allocation |
|---|
4. Totals
- Market value
- Cost left
- Unrealized
- Realized
- Income
- Cash in
- Cash out
- Total P&L
Total P&L = value + cash out - cash in = realized + unrealized
5. Allocation
Your allocation appears here.
6. CSV import and download
Download saves the table as a CSV file. Paste a CSV with the header date,coin,type,units,price,fee_pct and press Import. Import replaces the table only when every row is valid; otherwise it names the first bad row and keeps the current table.
7. How it works and limits
- Average-cost method only. There is no FIFO, LIFO or tax-lot output here.
- Buy adds units and adds cost, including the fee. Sell removes units and removes their average cost; realized is proceeds minus that cost.
- Airdrop and staking units are counted at zero cost. The receipt price only sets the income-at-receipt figure.
- Lost coins are realized at their average cost, with zero proceeds.
- Limits: up to 500 events and 25 coins. Units above 0 and at most 1,000,000,000,000; prices from 0 to 1,000,000,000; fees from 0% to 10%; dates from 2009-01-03 to today.
- Nothing is stored. Reload clears the page. There is no network request, no cookie and no state in the URL. The only ways out are the CSV download you click and a CSV paste-in.
No buy or sell recommendations, no price forecasts and no coin rankings.
Educational worksheet. Not advice and not tax advice.
Nothing is fetched and nothing is stored. Reload clears the page; the only ways out are the CSV download you click and a CSV paste-in.
Inspired by the free community DAPT sheet that InvestAnswers credits.