How to measure area height and width in pixels (rather than cm) in Photoshop CS6

adobe-photoshop

I just started using Photoshop CS6 because i needed to make a design for an application. I wanted to use the rectanglure marquee tool to messure the height and width of an square in pixels but instead the tool is showing it in centimeters, like this:

The tool is showing the height and width in cm and i want that it show it in pixels. How can I do this?

Best Answer

Press Ctrl+R to bring up the ruler. Then right-click the ruler and select pixels.