As far as the actual sound is concerned, "whining" is usually higher pitched and louder, while "whimpering" is lower and quieter. In relation to people, "whining" means continually complaining in an obvious and annoying way, while "whimpering" is more of a pathetic utterance that may be a weak complaint or just a general expression of frightened miserableness.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.