hiya
If 'b' is the length of a wire, and 'I' current running trough it, then if put a wire inside magnetic field ( not perpendicullary and also not parallel to magnetic field lines, but some angle in between the two ), then magnetic force on a wire will be:
F = I * b * B * sin[angle]
where...