Short term capital Gain tax

 
 
 

Hi Experts,

 

If in a calendar year I buy $100K worth of stocks and sell it for $150K  in the same year and again buy $20K worth of stocks and keep it for the next year without selling it in that particular year, do I need pay short term gain for $50K or for $30K?


Please confirm

 

Thanks,