Light switches are generally installed about 42 inches from the floor.
Light switch box size.
To satisfy the accessibility requirements of the fair housing act however the switch itself should be no.
The height from the floor to the middle of the switch plate should not exceed 48 inches and the minimum height should not be less than 15 inches.
Single light fixture switches and outlet receptacles typically fit into standard rectangular boxes also known as single gang or one gang boxes.
For pricing and availability.
Many builders position switch boxes so the bottom of the box is 48 inches above the floor.
This has no effect unless you are putting the outlet in a really tight space.
When the switch is over a counter that has a knee space and the counter depth exceeds 20 inches the maximum height of a switch is reduced to 44 inches.
Carlon 2 gang blue plastic old work standard switch outlet wall electrical box.
Legrand in wall tv power and cable management 1 gang white plastic new work old work standard rectangular interior electrical box.
The standard dimensions are for the switch itself which will include the hole for the switch and the ability to be screwed on the top and bottom of the switch.
Try using a saber saw for wood.
Plan for future changes by clearly labeling all wires.