Log is short for logarithm.
In mathematics, the logarithm is the inverse function to exponentiation.
Therefore, we can say the logarithm of a given number x is the exponent to which another fixed number, the base b, must be raised, to produce that number x.
Formula to calculate log.
Lets consider the following equation.
![How to Calculate Log.](https://www.learntocalculate.com/wp-content/uploads/2020/10/log.png)
This can also be written as;
![How to Calculate Log.](https://www.learntocalculate.com/wp-content/uploads/2020/10/log-2.png)
Example:
Consider 2³ = 8.
In log form this can be written as;
![How to Calculate Log.](https://www.learntocalculate.com/wp-content/uploads/2020/10/log-3-1.png)
Therefore, the log of 8 to base 2 is 3.