From one charge to a whole current
A current is nothing but charge on the move, so a wire in a magnetic field feels the same push a single charge would — added up over every carrier in it. That sum comes out beautifully simple: , read aloud F equals B I L sine theta. is the force on the wire in newtons, is the field in tesla, is the current in amperes, is the length of wire actually INSIDE the field in metres, and is the angle between the wire and the field. This is the motor effect, and it is the reason every motor on your site turns. Here is always the unknown; everything else arrives on the drawing.
Now put a second wire beside the first. Each one makes its own field, each one sits in the other's, and they push on one another: . The subscripts label the two wires — is the current in the first, in the second, both in amperes, and which you call which makes no difference. is the length of the parallel run in metres, is the separation between the wires in metres, and — mu-nought — is the permeability of free space, . Note that is not squared: this is an inverse FIRST power, because a long straight wire's field spreads out over a cylinder rather than a sphere.
The direction is easy to remember and worth remembering: currents running the SAME way attract, opposite ways repel — the exact opposite of what charges do. And this relation used to define the ampere outright: two infinite parallel wires one metre apart carrying one amp each trade newtons per metre. That is a tiny force between two wires and an enormous one between two busbars in a fault, which is why switchgear bracing is not decorative.