How much to withold in Massachusetts on a 1099 . . .

HI, I will have earned $50,000 on a 1099 in the last 4 months.  About how much should I send to the gov't for an estimated tax payment and how much to Massachusetts?