Skip to main content
Solve for s
Tick mark Image

Share

2^{s}=128
Use the rules of exponents and logarithms to solve the equation.
\log(2^{s})=\log(128)
Take the logarithm of both sides of the equation.
s\log(2)=\log(128)
The logarithm of a number raised to a power is the power times the logarithm of the number.
s=\frac{\log(128)}{\log(2)}
Divide both sides by \log(2).
s=\log_{2}\left(128\right)
By the change-of-base formula \frac{\log(a)}{\log(b)}=\log_{b}\left(a\right).