Knowing the right amount to withhold

I would like to know how much I should withhold with my W4 so I'm not owing at the end of the year, but also don't need a huge refund.