Retirement tax questions

My husband said we paid $19K 15 years ago. So if we sell it for $40K now we will end up paying....what approximately? I just want to be sure to plan ahead.