How much should you pay yourself?

As a business owner, how much should you pay yourself? It depends on how much your business can afford, market pay rates, and whether reinvestment could pay dividends.