Right hand thumb rule determines the direction of magnetic field around a current carrying wire.
It states that if we hold the current carrying conductor in right hand such that the thumb points in the direction of flow of current, then the fingers encircle the wire in the direction of the magnetic fields lines.