To calculate staking rewards for taxes, the best way is to use crypto accounting software like CoinLedger.