Ultra-popular URL shortener, Bit.ly is proud of not reusing its URL codes – those alphanumeric combinations after the domain.
The reason is simple: unlike other URL shorteners that use 3 or 4 digits that eventually expire in order to be reused, Bit.ly uses six slots that never expire.
Let’s do some math.
There are 26 letters and each one is used by Bit.ly in both its lowercase (a, b, c, etc.) and uppercase format (A, B, C, etc.). In addition to letters, Bit.ly also uses the numbers [0 – 9].
Therefore, the total number of “chips” is 62 (26 + 26 + 10)
Isn’t math great? But wait, that was only Math 101.
In order to calculate the total amount of permutations available to a 62 x 62 matrix, we have to raise the “chips” to the power of the number of slots available, in our case six.
So 62^6 becomes the number 56,800,235,584 or about 56 billion-something URLs.
In other words, popular Bit.ly won’t be needing to change its length any time soon.
Not useful— people still wants to know the domain names.
domain names are descriptive.
Of course. But it’s not a substitute for domains, it’s for URLs, especially when you are limited to the number of characters (e.g. twitter) or when your URL contains non-permissible strings that get filtered out, such as cusswords 😀
you can also access sites by their IP number… it is possible… everything has its place. great post.