How to Put a Log Into a Calculator
Use this premium calculator to evaluate common logarithms, natural logarithms, or logs with a custom base. Enter your number, choose the log type, and the tool will show the exact setup, result, and a chart of the logarithmic curve.
This is the value inside the log, such as 100 in log(100).
Choose the button or mode that matches your calculator.
Used only when “Custom base” is selected. Base must be positive and not equal to 1.
Controls how your result is formatted.
Result
- Expression entered: log10(100)
- Meaning: “To what power must 10 be raised to get 100?”
- Answer: 2, because 10² = 100
Expert Guide: How to Put a Log Into a Calculator
If you have ever seen a problem like log(100), ln(7), or log2(8), you are working with logarithms. Many students understand exponent rules before they feel confident with logs, but the good news is that a logarithm is just another way of asking an exponent question. When you put a log into a calculator, you are asking the device to determine the power that produces a specific number. This page walks you through the process in a practical way, shows you exactly which calculator key to use, and explains why the answer works.
At the most basic level, a logarithm asks: what exponent gives this result? For example, log10(100) asks, “To what power must 10 be raised to get 100?” Since 102 = 100, the answer is 2. Similarly, ln(e3) = 3 because the natural log uses the base e, where e is approximately 2.71828. Once you think of logarithms as exponent questions, entering them into a calculator becomes far more intuitive.
What the buttons on a calculator mean
Most scientific calculators have at least two logarithm buttons:
- log means the common logarithm, usually base 10.
- ln means the natural logarithm, base e.
Some advanced graphing calculators, apps, and online tools also let you enter a custom base directly. If your calculator does not have a dedicated log-base button, you can still compute any logarithm using the change-of-base formula:
logb(x) = ln(x) / ln(b) or logb(x) = log(x) / log(b)
That means if you want log2(8), you can type ln(8) ÷ ln(2), or log(8) ÷ log(2), and you will get 3.
Step-by-step: how to enter common log
- Find the number inside the logarithm. In log(1000), the number is 1000.
- Press the log key on your calculator.
- Type the number, or on some calculators type the number first and then press log.
- Close the parenthesis if your calculator uses parentheses.
- Press equals.
For example, log(1000) = 3 because 103 = 1000. If your calculator displays a decimal like 2.9999999 or 3.0000001, that is usually due to floating-point rounding, not a mathematical error.
Step-by-step: how to enter natural log
- Find the number inside the natural log expression. In ln(20), the number is 20.
- Press the ln key.
- Type the number and close the parenthesis if necessary.
- Press equals.
The natural log appears constantly in algebra, calculus, finance, population models, radioactive decay, and continuous growth. For example, if a formula uses ex, its inverse operation usually involves ln.
How to enter a log with a custom base
Many learners get stuck on logs like log3(81) or log2(64) because their calculator only has log and ln. This is where change of base matters. Suppose you want log3(81):
- Type ln(81).
- Divide by ln(3).
- Press equals.
The result is 4, because 34 = 81. This method works for any valid base.
How to know whether your answer makes sense
One of the best habits in math is estimating before trusting the calculator. Here are some quick checks:
- If log10(100) is 2, then log10(1000) should be 3.
- If the number inside a common log is between 1 and 10, the answer should be between 0 and 1.
- If the number inside a common log is less than 1, the answer should be negative.
- If log2(8) = 3, then log2(16) should be 4.
These estimates help you catch button errors, especially when you accidentally press ln instead of log or reverse the numerator and denominator in a change-of-base calculation.
Where logarithms appear in real life
Logs are not just classroom tools. They are used in scientific scales where very large or very small quantities need to be compressed into manageable numbers. Chemistry, seismology, acoustics, engineering, and information theory all rely on logarithmic thinking.
Comparison Table 1: Common logarithms and powers of ten
| Value x | Common log log10(x) | Interpretation |
|---|---|---|
| 0.01 | -2 | 10-2 = 0.01 |
| 0.1 | -1 | 10-1 = 0.1 |
| 1 | 0 | 100 = 1 |
| 10 | 1 | 101 = 10 |
| 100 | 2 | 102 = 100 |
| 1,000 | 3 | 103 = 1,000 |
| 1,000,000 | 6 | 106 = 1,000,000 |
These values are exact and show why powers of ten are the fastest way to build intuition for common logarithms.
Comparison Table 2: Real-world logarithmic scales
| Application | Representative Values | Why logs are used | Authority reference |
|---|---|---|---|
| pH scale | Pure water at 25°C has pH 7; battery acid may be near pH 1; bleach may be around pH 12 to 13 | pH is based on the negative logarithm of hydrogen ion activity, making huge concentration differences easier to compare | U.S. Geological Survey and U.S. EPA educational materials |
| Earthquake magnitude | USGS explains that each whole-number step in magnitude corresponds to about 10 times the wave amplitude and about 31.6 times more energy release | A logarithmic scale compresses a very wide range of earthquake sizes into readable values | U.S. Geological Survey |
| Sound level | NIOSH notes 85 dBA as a recommended exposure limit for an 8-hour workday, with a 3 dB exchange rate | Decibels use a logarithmic relationship because human perception and sound intensity span huge ranges | Centers for Disease Control and Prevention, NIOSH |
These examples show why learning how to put a log into a calculator matters. In chemistry, pH values differ by powers of ten. In earthquake science, a small change in magnitude can reflect a massive increase in released energy. In acoustics and workplace safety, a few decibels can mean a significant difference in intensity. If you can evaluate a logarithm correctly, you can understand these scales more confidently.
Common mistakes and how to avoid them
1. Entering zero or a negative number
The logarithm of zero is undefined, and the logarithm of a negative number is not a real number in basic algebra courses. If your calculator gives an error message, this is often the reason. Always check that the number inside the log is positive.
2. Confusing log and ln
Students often type ln when the problem says log, or the reverse. Unless your course or textbook says otherwise, log usually means base 10 and ln means base e. If your answer looks strange, make sure you selected the correct button.
3. Misusing the custom base
When the base is not 10 or e, do not guess. Use the change-of-base formula carefully. For log5(125), type ln(125) ÷ ln(5). If you accidentally reverse the order and type ln(5) ÷ ln(125), you will get the wrong answer.
4. Forgetting what the answer represents
A log answer is an exponent. If your calculator says log2(8) = 3, that means 23 = 8. Always translate the answer back into exponential form to confirm it.
Practical examples you can try
- log(100) = 2 because 102 = 100
- log(0.01) = -2 because 10-2 = 0.01
- ln(e) = 1 because e1 = e
- ln(1) = 0 because e0 = 1
- log2(32) = 5 because 25 = 32
- log3(1/9) = -2 because 3-2 = 1/9
Calculator workflow for students, teachers, and professionals
Whether you are using a handheld scientific calculator, a graphing calculator, or an online app, the workflow is basically the same. First identify the argument, which is the number inside the logarithm. Second identify the base. Third choose the correct calculator command. Fourth interpret the result as an exponent. This sequence works in algebra, chemistry, geology, finance, engineering, and data science.
For teachers, one effective strategy is to ask students to rewrite every logarithm in exponential form before touching the calculator. For test takers, the best strategy is to estimate first. For professionals, the key is consistency: if a formula was derived with natural logs, keep using natural logs unless you intentionally convert forms.
Authoritative references for deeper study
- U.S. Geological Survey: pH and Water
- U.S. Geological Survey: Earthquake Magnitude and Energy Release
- CDC NIOSH: Noise and Occupational Hearing Loss
- MathWorld: Change of Base Formula
Final takeaway
If you remember only one rule, remember this: a logarithm asks for the exponent. Once that idea clicks, the calculator steps become simple. Use log for base 10, use ln for base e, and use change of base for everything else. Check that the input is positive, estimate the result before pressing equals, and convert your answer back to exponential form to verify it. With those habits, putting a log into a calculator becomes a reliable skill rather than a confusing button-pushing exercise.