Cellgrids Cellgrids
Home › Excel formulas › Math and Trig › LOG

LOG Function in Excel: Syntax, Examples and Free Practice

By Rinkesh Shah, founder of Cellgrids.

LOG is an Excel Math & Trig function. Returns the logarithm of a number to a base you specify.

LOG syntax

=LOG(number, [base])

Arguments

When to use LOG

LOG is used in financial models and engineering-style calculations where precise numeric work is needed.

Practice LOG online, free

Open the live Excel-style spreadsheet and try LOG yourself. No Excel install or sign-up needed to start.

Practice LOG now →

More Math & Trig functions

Frequently asked questions

What does the LOG function do in Excel?

Returns the logarithm of a number to a base you specify.

What is the syntax of LOG in Excel?

The syntax is =LOG(number, [base]). number: A number to use in the calculation; base: The number system to convert into or out of (optional).

Where can I practice LOG online for free?

Open the free live spreadsheet on Cellgrids and try LOG yourself. No Excel install is needed and you can start without signing up.

All Excel formulas · Cheat sheet · Excel exercises · Math and Trig functions · Excel case studies · Excel tutorials · Excel shortcuts