# How to get “N” from $k=\log_2(N)$

I know it's a easy question but unfortunately I forgot some school stuff:

I have $k=\log_2(N)$ and want to know $N$.

Is it $N=2^k$ while using $2$ as base?

Yes, that's correct. More generally, if $k = \log_b(N)$ then $N = b^{\log_b(N)} = b^k$.