Do i subtract coin purchase?

hey guys

i am about to do my tax, iv used koinly to calculate my capital gains. with the capital gain figer koinly has calculated do i need to subtract the cost price of the coin/s from that figer? or koinly does this automaticly? or i just pay tax on that capital gains figer koinly has calculated? im in australia and not sure what to do!

thanks in adv