How do stalemates affect your rank?

In normal ladder games, the higher ranked person will lose points and the lower ranked person will gain points. The point gain/loss is less than a straight up loss or win.

In automated tournaments, the person who scored the most experience points in the game will advance. It does not take into account rank or MMR.