How to Enter and Use Logarithms on a Calculator

Logarithms show up in science classes, finance formulas, engineering problems, and data analysis — but they trip people up the moment they sit down at a calculator. The button isn't always obvious, the notation varies by calculator type, and there's a meaningful difference between the two main log functions that affects every result you get.

Here's how it actually works, across the most common calculators and platforms.

What a Logarithm Is (The Short Version)

A logarithm answers the question: "What power do I raise a base number to in order to get this result?"

So log₁₀(1000) = 3, because 10³ = 1000.

There are two logarithms you'll encounter almost everywhere:

  • log — shorthand for log base 10 (common logarithm)
  • ln — shorthand for natural logarithm, which uses base e (approximately 2.718)

Knowing which one your problem requires before you touch the calculator saves a lot of recalculation.

Finding the Log Button on a Physical Scientific Calculator 🔢

On a scientific calculator — whether a Casio, Sharp, or Texas Instruments model — look for two dedicated keys:

  • log — calculates log base 10
  • ln — calculates the natural log

Basic input order (most scientific calculators):

  1. Press log or ln
  2. Type your number
  3. Press =

Example: To find log(500), press log, then 500, then =. The result is approximately 2.699.

Some older calculator models use a post-entry input style — you type the number first, then press log. If pressing the key before the number gives you an error, try reversing that order.

Log on Graphing Calculators (TI-84 and Similar)

TI-84 and similar graphing calculators follow the press-key-then-number convention:

  • Press LOG for base-10 log
  • Press LN for natural log
  • Type your number, close the parenthesis ), press ENTER

For logarithms with a different base (say, log base 2 or log base 5), graphing calculators don't always have a dedicated key. Use the change of base formula:

log_b(x) = log(x) ÷ log(b)

So log base 2 of 32 = log(32) ÷ log(2) = 5.

On a TI-84, some newer OS versions include a logBASE function under the MATH menu (option A in MATH → MATH). This lets you enter the base directly without manual conversion.

Using Log on a Smartphone Calculator App 📱

The standard iPhone and Android calculator apps show basic functions by default.

iPhone Calculator:

  • Rotate your phone to landscape orientation to reveal the scientific layout
  • log (base 10) and ln (natural log) appear in the expanded button panel
  • Tap log or ln, then enter your number, then tap =

Android Calculator (Google):

  • Tap the expanded view or rotate to landscape depending on device
  • Look for ln and log in the scientific panel

Third-party calculator apps — like Desmos, CalcBot, or WolframAlpha — often provide more flexible log input, including direct base specification in the format log_2(32) or typed as log(32,2) depending on the app's syntax.

Entering Log in Spreadsheet Software

In Microsoft Excel and Google Sheets, logarithm functions are entered as formulas:

FunctionFormula SyntaxWhat It Calculates
Log base 10=LOG10(number)Common logarithm
Natural log=LN(number)Log base e
Log any base=LOG(number, base)Custom base logarithm

Example: =LOG(1024, 2) returns 10, because 2¹⁰ = 1024.

The =LOG() function in both Excel and Sheets defaults to base 10 if you omit the second argument.

Common Mistakes When Entering Logarithms

Confusing log and ln is the most frequent error. They're not interchangeable — ln(100) ≈ 4.605, while log(100) = 2. If your answer looks off by a significant factor, check which function you used.

Forgetting negative inputs don't work. Logarithms are undefined for zero or negative numbers in the real number system. Entering log(-5) will return an error on any standard calculator.

Missing parentheses on graphing calculators. If you press LOG and type 50+20, some calculators interpret that as log(50) + 20, not log(70). Close your parentheses deliberately.

Assuming all calculators use the same input order. Entry style varies between models and even between operating system versions of the same app.

When You Need a Non-Standard Base 🧮

The change of base formula works universally:

log_b(x) = log(x) ÷ log(b)

Or equivalently: ln(x) ÷ ln(b)

This is useful in computer science (log base 2 is common), music theory, information theory, and certain statistical models where base 10 or base e isn't the natural fit.

Whether to use the change of base method manually, rely on a dedicated function in your app, or use a spreadsheet formula depends entirely on what tool you're working in and how often you need to make these calculations.

What Shapes Your Experience With Log on Calculators

Several factors determine how straightforward — or frustrating — this process is:

  • Calculator model and OS version — newer firmware on graphing calculators adds features like logBASE that didn't exist before
  • Which base your problem requires — base 10 and e are always directly supported; anything else requires a workaround on most hardware calculators
  • Input mode of your device — some calculators are expression-based (show the full equation before evaluating), others evaluate step by step
  • Platform — phone apps, spreadsheets, dedicated calculators, and online tools each have different syntax and capabilities

How smoothly log calculations go on your specific device comes down to the exact combination of tool, version, and what your problem actually demands from it.