The direction of magnetic field in a current carrying straight wire is given by right hand thumb rule. If we point our thumb in a direction of East to West, the direction of magnetic field is found to be towards North, which is given by the curled fingers of our hand.