if you buy a 20 dollar thing with a 25 dollar gift card, do you still have 5 dollars?

2 answers

Yes obviously.
You subtract 20 from 25.
If the gift card only allows one purchase, i.e., up to $25, you have nothing. Be sure to read the small print before using the card.