This is, http://statpages.org/, provides many tool for sample size! Note that at the middle of the page is a tool for logistic regression!
In many cases, information from previous studies (or a pilot study) are very important to determine sample size.
In many cases, information from previous studies (or a pilot study) are very important to determine sample size.