Hyperconnect Interview Question

What is the time complexity of binary search algorithm and how to calculate it?