Bird and bat box sizes

Hi, I would like to build bird boxes myself. Would appreciate information on where to find sizes needed. We have tits, goldfinches, wrens and there are screech owls and kestrels about. Also two types of bat one about twice as big as the other. Thank you.