Since $$2^n = 1 \cdot 2^n + 0 \cdot 2^{n-1} + \ldots + 0 \cdot 2^1 + 0 \cdot 2^0$$ the number $2^n$ expressed in base $2$ is just $$\underbrace{10\cdots0}_{n+1 \text{ digits}}$$
In general, the number of digits in the base $b$ expansion of $n$ will just be the exponent of the smallest power of $b$ that is not less than $n$ (note that this is the same as computing $\lceil \log_{b}(n) \rceil$).
For example, if I wanted the number of digits in the base $3$ expansion of $2^{100}$, I would "simply" note that $3^{63} < 2^{100} < 3^{64}$, and so conclude that the base $3$ expansion of $2^{100}$ has $64$ digits. If you wanted to do this quickly, say with a calculator, you would just compute $\lceil \log_{3}(2^{100}) \rceil$ by computing $$\log_{3}(2^{100}) = \frac{\log_{10}(2^{100})}{\log_{10}(3)} \approx \frac{30.1029996}{0.4771212} \approx 63.0929754 $$ and then rounding up to the nearest integer.
Let's do a simple test to make sure. Since $141 = 1 \cdot 5^3 + 0 \cdot 5^2 + 3 \cdot 5^1 + 1 \cdot 5^0$, the number $141$ has $4$ digits when expressed in base $5$. Now $$\log_{5}(141) = \frac{\log_{10}(141)}{\log_{10}(5)} \approx \frac{2.1492191}{0.6989700} \approx 3.0748374$$ therefore $\lceil \log_{5}(141) \rceil = 4$, as desired.
The takeaway is that you can quickly get the number of digits in the base $b$ expansion of $n$ by plugging $$\frac{\log_{10}(n)}{\log_{10}(b)}$$ into your calculator and then rounding up to the nearest integer.