Omni Calculator logo

Magnetic Force on a Current-Carrying Wire Calculator

Created by Dominik Czernia, PhD
Reviewed by Bogna Szyk and Steven Wooding
Last updated: Jan 18, 2024

With this magnetic force on a current-carrying wire calculator, you can estimate the magnetic force that acts on the straight wire with current flowing through it.

From a microscopic point of view, the electric current is the result of the flow of tiny charged particles – electrons. If the charged particle moves in a magnetic field, it will be subjected to the Lorentz force. In the text below, we explain how you can estimate the force acting on a straight wire with about 1012 electrons moving through it.

When can we observe electromagnetic force?

When we place a wire that carries the electric current in the magnetic field, each of the moving electrons (which comprise the current) will experience the Lorentz force (see our Lorentz force calculator for more details). It means that this wire will start moving if there is no other strong enough force that can stop it, for example, a friction force. Such a condition may be met when the wire hangs vertically in the air.

💡 To learn more about frictional forces, check out our friction calculator.

Magnetic force on straight current-carrying wire equation

Making use of some mathematical tricks to avoid using cross products, we can simplify the formula. The formula that lets you calculate the strength of magnetic force acting on the straight current-carrying wire is simply:

F=BIlsinαF = BIl\sin\alpha


  • BB — Strength of magnetic field;
  • II — Current flowing through the wire;
  • ll — Length of the wire; and
  • α\alpha — Angle between the direction of current and the direction of the magnetic field.

We assumed for simplicity that α=90°\alpha = 90\degree and therefore sinα=1\sin \alpha = 1. You can go to advanced mode if you want to change this angle too. From this formula, you can see that if the directions of the current and magnetic field are parallel (α=0\alpha = 0), the resulting force is zero. On the other hand, the highest possible electromagnetic force is achievable when those directions are perpendicular (α=90°\alpha = 90\degree).

What next?

Did you know that a current-carrying wire produces a magnetic field? You can read more about it and determine the strength of this magnetic field with our magnetic field of straight current-carrying wire calculator.

Now imagine that there are two wires carrying current near each other, which creates a magnetic field. What do you think will happen to them? If you are curious, you can find this answer with our magnetic force between current-carrying wires calculator.

Dominik Czernia, PhD
Magnetic field
Check out 51 similar electronics and circuits calculators 💡
Breaker sizeBridge rectifierCapacitor charge time… 48 more
People also viewed…


The discount calculator uses a product's original price and discount percentage to find the final price and the amount you save.

Ideal rocket equation

The rocket equation calculator helps you estimate the final velocity of a rocket.

Social Media Time Alternatives

Check what you could have accomplished if you get out of your social media bubble.

Time of flight - projectile motion

Check out how long a projectile remains in the air with this time of flight calculator.
Copyright by Omni Calculator sp. z o.o.
Privacy, Cookies & Terms of Service