To calculate the maximum attempts it would take to crack a password. You need to take the number of allowable character values and raise that value by the number of populated positions in the password. This calculation only works if each position in the password allows the same number of character values. Ahh its to early for this math.
Examples:
For an online calculator go to http://www.motionnet.com/calculator/
Now if you are wondering how long it will take to crawk a password, I will need to refer you to a site that tries to estimate it
http://www.lockdown.co.uk/?pg=combi&s=articles
David Bird