Log Base 2 Calculator

This simple tool computes the value of Log2(x) for any value of x

Formula

Log2​(x) = y

Background

What is Log Base 2?

The logarithm with base 2 is the inverse operation of raising 2 to a power. In mathematical terms:

Log⁡2(x) = y  ⟹  2y = x

This means that log base 2 of a number x gives the power to which 2 must be raised to get x.

For example: Log⁡2(8) = 3 since 23=8

Log base 2 is often called the binary logarithm, and it has significant importance in computer science, especially in measuring the time complexity of algorithms and working with binary systems.

Log Base 2 Table of Values

xLog2(x)
10
21
31.58
42
52.32
62.58
72.81
83
93.17
103.32