How do I determine hourly rate if moving from W2 to 1099 status

I need advice

I currently make $165000 as W2 employee in NJ.

At the end of the month I am being laid off and I am being offered 1099 positions.

However the rates are low like $80/hr

 

Does anyone have suggestions on the best way to determine the hourly rate I should be asking to ensure I my take home after setting aside taxes is close to my W2 pay?  I am not sure how to quickly determine that hourly rate. Suggestions??