Here's an example of how to calculate the cost basis of your cryptocurrency:
Take the initial investment amount (let's assume it is $1000).
Divide the initial investment amount with the amount of crypto purchased (let's assume 1000 coins).
The resulting number is your cost basis (10,000/ 1,000= $10)