The equation for calculating the magnitude of the magnetic force on a current-carrying wire, where F_B is the magnetic force, I is the current, ℓ is the length of wire in the field, B is the magnetic field magnitude, and θ is the angle between current direction and field direction.