Use The “Create” Dialog Box For The Shape Tools
When using any of the shape tools, for example, the rectangle tool or the custom shape tool, press Shift and click on the canvas to bring up the “Create” dialog box. Where you will able to manually input the shape’s width and height.
For more tips and tutorials, subscribe to Photoshop Training Channel on YouTube!