We can do password guessing way better than brute force by generating strings using a Markov model instead of randomly. I wrote a paper on how to do this a few years ago <a href="http://www.cs.utexas.edu/~shmat/abstracts.html#pwd" rel="nofollow">http://www.cs.utexas.edu/~shmat/abstracts.html#pwd</a> Some of the techniques have since found their way into John the Ripper. (and possibly other tools; I haven't checked.) The upshot is that you can't calculate strength with a simple formula like this. At best you get an upper bound on the time needed to crack, by a few orders of magnitude.