It's called "impersonal you ". It's a special use of "you" that is equivalent to "one". Thus, if you think about it is equivalent to if one thinks about it , that is, if [anyone/any person] thinks about it .
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.