When buying a share there are two costs to be aware of.
Firstly there’s the share price (the cost of one share). Then there’s the transaction cost (how much the platform or broker) charges you to buy a share. Remember, this could include commission and FX fees, but it doesn’t always.