If you are asking about the latest Google Search engine algorithm, it's called EPN, you can also have a look here: http://www.seomoz.org/google-algorithm-change for more details about the history of algorithms.
as any other Algorithm with ratio, it calculates the most used keywords ona site, the best meta tags, the most successful & all of that in 0.02 secs.