How to use the IMLOG2 Function in Excel

In this article, we will learn about how to use the IMLOG2 function in Excel.


i = √-1

Square root of negative number is not possible, so for calculation purpose, √-1 is named as imaginary and call it iota (i or j). For calculation of some term like shown below.
= 2 +√-25

= 2 +√-1*25

= 2 +√-1*25

= 2 +√-1* 5

= 2 + 5i





Logarithm at base 2 of a complex number (X + iY) is given by:

log2 ( X +iY) = log2(e) loge ( X +iY) = log2(e) [ loge√X2 +Y2 + i tan-1(Y/X) ]




  1. log at the base 2 is called the logarithmic of a number at base - 2.
  2. log at the base e is called the natural logarithm ( ln ) of a number where e = 2.7182…(approx).
  3. Coefficient of iota is inverse tan function of ( Y / X )tan-1(Y/X)which returns the angle in radians.

log2( X +iY) =log2(e) [ ln √X2 +Y2 + i tan-1(Y/X)]


The IMLOG2 function returns the logarithmic value of the complex number (inumber) at base - 2.


=IMLOG2 (inumber)

inumber : complex number for which you want the complex logarithmic at base 2.

Let’s understand this function using it in an example.
Here we have values where we need to get the logarithmic value of the input complex number (inumber) at base 2.

Use the formula:

=IMLOG2 (A2)

A2 : complex number (inumber) provided as cell reference.
As you can see the complex number having real_num = 4 & imaginary part = 3. The formula returns the logarithmic value of the input complex number(4 + 3i) at base - 2.

At base - 2 logarithmic value of a complex number (4 + 3i) =

log2 (4 + 3i) = log2(e)[ ln (4 +3i)] = log2(e)[ ln √42 +32 + i tan-1( 3 / 4 )]

As you can see the IMLOG2 function formula giving results just fine.

The table here explains more about the input real & imaginary part.

inumber Real part (X) Imaginary part (Y)
i = 0 + 1i 0 1
1 = 1 + 0i 1 0


Hope you understood how to use IMLOG2 function and referring cell in Excel. Explore more articles on Excel mathematical functions here. Please feel free to state your query or feedback for the above article.
Related Articles

Excel LN function

How to use the IMEXP Function in Excel

How to use the IMCONJUGATE Function in Excel

How to use the IMARGUMENT Function in Excel

Popular Articles

Edit a dropdown list

If with conditional formatting

If with wildcards

Vlookup by date

Leave a Reply


Terms and Conditions of use
