If you buy a coin for $1 and sell it for $2, and you invest $100, you can calculate your profit like this: divide your investment ($100) by the initial price of the coin ($1), then multiply that by the selling price ($2). So, your profit is $100.

If you're looking at losses, you can use the same method.