Given a positive integer, we might wonder how many digits it has in a particular base. It turns out that there is a fairly simple formula for this quantity in terms of logarithms and the floor function. In this video, we state and prove this formula using inequalities.