Rulers in Photoshop
Photoshop can display a horizontal rulers across the top of the screen and a vertical ruler along the left side of the screen.
To display ruler, follow this:
From main menu -> View -> Rulers
You can change the ruler unit. Follow this to change ruler unit.
Edit -> Preferences -> Units & Rulers