All you have to do is multiply the decimal form of 8% by the cost of the hat which is $25.
First, make the 8% into a decimal by dividing it over 100:
8/100 = 0.08%
Now that we know the decimal form of the percentage, we can multiply it by the cost of the hat.
0.08% × $25.00 = $2.00
-----
If the hat costs $25 and there is an 8% tax, you will have to pay $2.00 more.