The VAT in Spain is known as IVA (Impuesto sobre el Valor Añadido) and it is included in the price of most goods and services. The current standard rate is 21%, but there are also reduced rates of 10% and 4% for certain items such as food, books, and medicines.
To be eligible for a VAT refund, you must make a minimum purchase of 90.15 euros (including VAT) at a single store on the same day. You will need to ask the store for a tax-free form (cheque/ticket) and show your passport or ID to prove that you are a non-EU resident.