# IMLOG2

Formulas / IMLOG2
Calculate the base-2 logarithm of a complex number.
`IMLOG2(number)`
• number - required, complex number

## Examples

• `=IMLOG2("5+2i")`

The IMLOG2 function can be used to calculate the base 2 logarithm of any complex number, and will return the base 2 logarithm of 5+2i.

• `=IMLOG2(6)`

The IMLOG2 function can also be used to calculate the base 2 logarithm of a real number, and will return the base 2 logarithm of 6.

• `=IMLOG2("3i")`

The IMLOG2 function can also be used to calculate the base 2 logarithm of imaginary numbers, and will return the base 2 logarithm of 3i.

• `=IMLOG2("4+i")`

The IMLOG2 function can also be used to calculate the base 2 logarithm of complex numbers with both real and imaginary components, and will return the base 2 logarithm of 4+i.

## Summary

The IMLOG2 function calculates the base-2 logarithm of a complex number, which must be formatted as x + yi or x + yj.

• The IMLOG2 function calculates the base-2 logarithm of a number and requires a complex number as an argument.