P/S ratio is calculated by taking a company's market capitalization and dividing it by the company's total sales—or revenue—over the past 12 months. Companies with a lower P/S ratio are ...