To calculate the P/E, divide the market capitalization by the earnings. Lower is cheaper.
To calculate the P/B, divide the market capitalization by the equity. Lower is cheaper.
To calculate the P/S, determine sales by dividing the earnings by the net margin. Then divide the market capitalization by the sales. Lower is cheaper.
To calculate the earnings yield, divide the earnings by the market capitalization. Higher is cheaper.
To calculate the dividend yield, divide the dividends by the price. Higher is cheaper.