How to do log base 2 on a TI-84
The LOG key on a TI-84 is base 10 and LN is base e. For base 2, or any other base, there are two ways. Both work on the calculator on this page.
Short answer: Press MATH, scroll to A:logBASE(, then type 8,2) and ENTER. On an older TI-84 type log(8)÷log(2) instead. Both give 3.
Method 1: logBASE(
TI-84 Plus models with OS 2.55MP or newer, and every TI-84 Plus CE, have a logBASE( command.
- Press MATH. You are on the MATH tab.
- Press ▲ once to jump to the bottom of the list, then ▼ until A:logBASE( is highlighted, and press ENTER.
- Type the number, a comma, then the base, and close the bracket: 8 , 2 ).
- Press ENTER. The answer is 3, because 2³ = 8.
On this calculator the line reads logBASE(8,2), the classic one-line way. A TI-84 in MathPrint mode shows the same command as a template with a small 2 next to log, and you fill in the boxes. The answer is the same.
Method 2: change of base
If your TI-84 has no logBASE(, use the change of base rule:
log₂(x) = log(x) ÷ log(2)
Type LOG 8 ) ÷ LOG 2 ) and press ENTER. The answer is 3. LN works just as well: ln(8) ÷ ln(2) is also 3. Any base works the same way: for log₅(x), divide by log(5).
The bracket mistake
The most common slip is leaving out the first closing bracket. log(8 ÷ log(2 means log(8 ÷ log(2)), which is 1.424480215, not 3. Close each log before you divide.
Examples to check yourself
| Calculation | Keys | Answer |
|---|---|---|
| log₂(8) | logBASE(8,2) | 3 |
| log₂(1000) | logBASE(1000,2) | 9.965784285 |
| log₂(5) | logBASE(5,2) | 2.321928095 |
| log₂(0.5) | logBASE(.5,2) | −1 |
| log₃(81) | logBASE(81,3) | 4 |
| log₂ of several numbers | logBASE({2,4,32},2) | {1 2 5} |
To check an answer, raise the base to it: 2 ^ 2nd (−) (Ans) after logBASE(1000,2) gives 1000.
Errors you might see
- ERR:DOMAIN for logBASE(0,2), and ERR:NONREAL ANS for a negative number such as logBASE(−8,2). In real-number mode a logarithm is only defined for positive numbers. A base of 1 also gives an error, because 1 to any power is still 1.
- ERR:ARGUMENT means the comma between the number and the base is missing: logBASE(82) has only one argument.
Solving equations with log base 2
For an equation like 2ˣ = 20, take log base 2 of both sides: x = logBASE(20,2), which is 4.321928095. Check it with 2 ^ Ans. The same idea solves growth problems: if a population doubles every period, logBASE(target ÷ start, 2) tells you how many periods it takes.
Graphing y = log₂(x)
Press Y= and type logBASE(X,2) using the X,T,θ,n key, then GRAPH. The curve passes through (1, 0), (2, 1) and (4, 2). On an older TI-84 type log(X)÷log(2) instead.
Questions people ask
Where is log base 2 on a TI-84 Plus?
Press MATH and choose A:logBASE( near the bottom of the list. Type the number, a comma and 2, then close the bracket.
My TI-84 doesn’t have logBASE(. What do I do?
Older operating systems don’t have it. Use the change of base formula: log(x)÷log(2). It gives the same answer.
Why does log(8÷log(2) give 1.424 instead of 3?
The first log was never closed, so the calculator worked out log(8 ÷ log(2)). Type log(8)÷log(2) with both brackets.
Is LN the same as log base e?
Yes. LN is the natural logarithm, base e, and LOG is base 10. logBASE( covers every other base.