The most complete answer is,"It varies...". common variables are:
% commision, office percentage, and agent expenses

The following graphic shows a simple example.
(Graphic courtesy of Point2.com via RIS Media)

How Much Do Agents Make How Much Do Real Estate Agents Make?

Answer: 6 - 7