Price / Sales ratio (P / S) is calculated by taking a company’s market capitalization (the number of outstanding shares multiplied by the share price) and divide it by the company’s total sales or revenue over the past 12 months. The lower the P/S ratio, the more attractive the investment.