How to Use Log on a Calculator: A Complete Guide
Logarithms show up in everything from science homework to audio engineering — but the log button on a calculator trips up a surprising number of people. Whether you're using a physical scientific calculator, a smartphone app, or a browser-based tool, understanding what log actually does and how to input it correctly makes all the difference.
What Does the Log Button Actually Calculate?
When you press log on most calculators, you're calculating the common logarithm — that is, the logarithm base 10. So when you enter log(100), the calculator returns 2, because 10² = 100.
This is different from ln, which stands for the natural logarithm (base e, approximately 2.718). Both buttons appear on scientific calculators, and confusing them is one of the most common errors users make.
| Button | Base | Full Name | Example |
|---|---|---|---|
log | 10 | Common logarithm | log(1000) = 3 |
ln | e ≈ 2.718 | Natural logarithm | ln(1) = 0 |
log₂ | 2 | Binary logarithm | log₂(8) = 3 |
Some advanced calculators also let you calculate a log with a custom base using a dedicated logBASE function or a workaround formula (more on that below).
How to Enter Log on Different Calculator Types 🔢
Physical Scientific Calculators
On most scientific calculators (like those in the Casio fx or TI-30 series):
- Press the log key directly
- Enter your number
- Press =
Example: To find log(500), press log → 500 → =. The result is approximately 2.699.
Some older calculators require you to enter the number first, then press log. Check your model's manual if results seem off — input order varies by manufacturer and model generation.
Smartphone Calculator Apps
On iOS: Rotate your phone to landscape mode to reveal the scientific keyboard, then tap log.
On Android: Open the default calculator app, switch to Scientific mode (usually via a menu or by rotating the device), and tap log.
Third-party apps like Desmos, Wolfram Alpha, or GeoGebra display log functions clearly and often support custom bases out of the box.
Browser and Online Calculators
Tools like Google's built-in calculator (just type "calculator" into search) include a log button in Scientific mode. Desmos and Wolfram Alpha accept typed expressions like log(250) or log_3(81) for base-3 logarithms.
Calculating a Logarithm with a Custom Base
Not every calculator has a dedicated logBASE button, but you can always use the change of base formula:
log_b(x) = log(x) ÷ log(b)
For example, to find log₅(125):
- log(125) ÷ log(5)
- 2.097 ÷ 0.699
- ≈ 3 ✅
This works on any calculator that has a basic log function, including simple smartphone apps.
Common Mistakes When Using Log on a Calculator
Mixing up log and ln is the most frequent error, especially in calculus or natural growth/decay problems where e-based calculations are standard.
Forgetting parentheses can throw off results on calculators that use natural display. log 2 + 3 and log(2 + 3) are not the same calculation.
Negative numbers and zero have no real logarithm — inputting them will return an error or an undefined result. This is mathematically correct behavior, not a calculator malfunction.
Assuming log means ln in certain textbooks (especially older European math texts), "log" sometimes refers to the natural log. Context matters when translating textbook problems to calculator inputs.
How Log Is Used in Practice
Understanding the button is only part of it — knowing why you'd use it helps you apply it correctly:
- pH calculations in chemistry use log base 10
- Decibels (dB) in audio and acoustics are logarithmic
- Earthquake magnitude (Richter scale) uses log base 10
- Complexity analysis in computer science often uses log base 2
- Compound interest and exponential growth problems frequently use ln
Each field tends to default to a specific base, so knowing which one your problem requires before reaching for the calculator prevents a lot of rework.
What Affects How Log Works Across Calculators 🧮
The core math doesn't change — but the user experience varies significantly based on:
- Calculator model or app: Input order (number-then-log vs. log-then-number) differs
- Display type: Natural display calculators show expressions differently than linear display models
- Mode settings: Degree vs. radian mode doesn't affect log, but other mode settings can influence adjacent calculations in multi-step problems
- Custom base support: Some apps handle this natively; others require the change-of-base workaround
- Precision: Consumer calculators typically show 10 significant digits; apps like Wolfram Alpha can go much further
Whether you're a student working through a problem set, an engineer doing quick field calculations, or someone building a spreadsheet formula, the specific tool in your hand and the base your problem requires will shape exactly how you apply these steps.