Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

This article describes the formula syntax and usage of the IMLOG2 function in Microsoft Excel.


Returns the base-2 logarithm of a complex number in x + yi or x + yj text format.



The IMLOG2 function syntax has the following arguments:

  • Inumber    Required. A complex number for which you want the base-2 logarithm.


  • Use LOG to return the logarithm of a number using any base.

  • Use COMPLEX to convert real and imaginary coefficients into a complex number.

  • The base-2 logarithm of a complex number can be calculated from the natural logarithm as follows:



Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.





Base-2 logarithm of 3+4i


Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?

Thank you for your feedback!