A benchmark is what you compare your results against: the return you'd have got with no effort, from a cheap fund you could have bought instead. Four rules keep the score honest.
1. Choose the benchmark in advance. Pick it before the year starts; don't change it. Match it to what you own: the S&P 500 (through a fund such as SPY) for US large-company stocks, a global index fund if your core is global, bitcoin for a crypto bucket. For a mixed portfolio, use a blended benchmark with the same weights as your policy:
Blended return = weight A × benchmark A return + weight B × benchmark B return
e.g. 0.90 × stock index return + 0.10 × bitcoin return
2. Count everything. Every position, including those sold at a loss and the crypto you'd rather not mention. Subtract fees. Taxes reduce returns too; check your local rules.
3. Include dividends on both sides. A total return includes dividends; a price-only return doesn't. Your portfolio got its dividends, so use the benchmark's total return. Yahoo's Adj Close column includes dividends; Close doesn't.
4. Take deposits out. If you add money during the year, the account grows but that isn't a gain. The fix is the time-weighted return: measure the return in each stretch between deposits, then chain them.
Time-weighted return = (1 + r1) × (1 + r2) × … − 1
where each r = value at end of stretch ÷ value at start of stretch − 1
(value at start already includes the new deposit)