401 Withdrawal

How do I know how much tax to have applied for an early withdrawal from a 401k?  In my 30's lost my job.  I am currently in the 24% tax bracket.