You need to know your input, transistor parameters, and output in order to calculate anything. I would look into "Transistor Biasing" to start out with. I know that MIT has some good video lectures on the subject, except with MOSFETs. Ideally, you should be able to learn about MOSFETs and apply the fundamental concepts to BJTs.