For best accuracy you should ideally cut a square that's around you travel limits. If you don't have a long digital rule to do that then this method works well:

MechMate CNC Router Forum : <font color="ff0000">&#42;</font> Setting the Y-axis square to the X-axis