Stamp duty is a UK tax paid on share (stamp duty reserve tax) and property (stamp duty land tax) transactions.

Stamp duty reserve tax is charged as 0.5% on purchases of shares in the secondary market (not on primary deals). It is no longer payable when dealing in shares traded on AIM.

https://www.tax.service.gov.uk/calculate-stamp-duty-land-tax/#/intro