ExcelFlux

LOG function

the logarithm of a number to a specified base.

Math and trigonometry

Where can you use it?

Reporting, manufacturing and engineering teams. When a total, rounding step or numerical transformation is needed, use the example to see which operation fits your inputs.

Scenario in the workbook

Find the exponent needed to reach a value in the selected base.

A worked example from the workbook

RowAB
6First valueSecond value
7813
82562
9100010
Record 1
=LOG(A7,B7)

Expected result4

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=LOG(81,3)
Turkish Excel · tr-TR
=LOG(81;3)

Expected result

4

Worked examples

Find the exponent needed to reach a value in the selected base.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A B
6 First value Second value
7 81 3
8 256 2
9 1000 10
Case Formula Expected result
Record 1 =LOG(A7,B7) 4
Record 2 =LOG(A8,B8) 8
Record 3 =LOG(A9,B9) 3
Microsoft Excel reference