Retirement tax questions

Is there a way to estimate the taxes I would have to pay given that I had to withdraw early from my 401K?