# IMLOG2 function

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

## Description

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

## Syntax

IMLOG2(inumber)

The IMLOG2 function syntax has the following arguments:

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

## Remarks

• 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: ## Example

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.

Formula

Description

Result

=IMLOG2("3+4i")

Base-2 logarithm of 3+4i

2.32192809488736+1.33780421245098i

### Need more help? 