How to Figure out tax on stocks?

Is there an easy way to approximately figure out how much income tax will be taken out when I make gains from stocks?