Divide yearly revenue by the share count to get sales per share. Then divide the price by that number. Voila, price/sales.