What is LOG function in Excel?
The LOG function is one of the math functions of Excel.
It Returns the logarithm of a number to the base you specify.
We can find this function in Math & trig category of insert function Tab.
How to use LOG function in excel
- Click on an empty cell (like F5 )

2. Click on the fx icon (or press shift+F3)

3. In the insert function tab you will see all functions

4. Select math and trig category
5. Select LOG function
6. Then select ok

7. In the function arguments Tab you will see LOG function
8. Number is the positive real number for which you want the logarithm
9. Base is the base of the logarithm; 10 if omitted
10. You will see results in the formula result section

Examples of LOG function in excel
Example 1:
How to use LOG function in excel
You can see examples of LOG function below:

log(A2,B2) ----->>>>answer is 3
log(A3,B3) ----->>>>answer is 1
log(A4,B4) ----->>>>answer is 2
log(A5,B5) ----->>>>answer is 2
log(A6,B6) ----->>>>answer is 3
What is the purpose of LOG function?
It Returns the logarithm of a number to the base you specify.
What is the Return value of LOG function?
It returns a number.
How many arguments does LOG function have?
This function has just 2 Argument.
The argument of LOG function is number.
Number is the positive real number for which you want the logarithm.
Base is the base of the logarithm; 10 if omitted.
The argument of LOG function is required and not optional.
LOG(number) = number
Which version of excel supports LOG function?
This function is available for all excel versions (2003-2019)