The magnetic field produced by an electric current has
direction, strength and geometry that depends on:
1. The direction of the current. The magnetic field circulates around the wire.
2. The amount of current. The stronger the current, the stronger the magnetic field.
3. The distance from the wire. The magnetic field strength decreases with distance from the wire.
So in summary, an electric current flowing through a wire produces a magnetic field that encircles the wire, with a strength that decreases with distance from the wire and depends on the amount of current. The direction of the magnetic field is given by the right-hand rule.