1. Go to Rounded Rectangle Tool(U) or press Command + U
2. Drag to the selected layer (don’t care about the sizes)
3. Go to Edit Menu -> Free Transform or Press Command + T
4. Below the menu bar you will see this screen:
You can input the Rectangle size both with Width and High to whatever you want.