Yardage for socks

What is a good rule of thumb for buying sock yarn? How much yardage should I plan on for a pair (women’s or men’s)?

Heres a way to figure it out
http://www.thedietdiary.com/blog/?p=592

This post has some information about this too.