Magnetic Force on a Current-Carrying Wire Calculator – F = BIL sinθ

Use this free Magnetic Force on a Current-Carrying Wire Calculator to find the force on a straight wire carrying a current through a magnetic field, using F = BIL sinθ. This is the effect that makes electric motors turn.

Put a wire in a magnetic field, switch on a current, and the wire jumps. That small kick — first demonstrated with little more than a battery, a magnet and a swinging wire — is arguably the most economically important force in physics. It spins every electric motor on Earth, from the compressor in your fridge to the traction motors of an electric train; it vibrates every loudspeaker cone; it is even how the electricity meter of the last century measured your bill. The force is not subtle, either: with ordinary currents and hand-sized magnets it reaches whole newtons, a push you can feel with a fingertip.

The formula reads like a recipe for making the force bigger. F grows in proportion to the field strength B, the current I and the length of wire L sitting inside the field — triple any one and the force triples. The sinθ term says orientation matters just as much: a wire crossing the field square-on (θ = 90°) feels the maximum, while a wire running parallel to the field feels nothing at all, however much current it carries. Between the extremes, only the across-field component of the wire counts, and sinθ picks out exactly that component.

Magnetic Force on a Current-Carrying Wire Calculator — formula and diagram

It is worth pausing on what the formula counts. L is not the length of the whole wire — it is only the length actually immersed in the field. A metre-long lead that dips 10 cm of wire between a magnet's poles contributes 0.1 m, and the rest contributes nothing. Likewise the force is spread evenly along that immersed length, so engineers often quote it per metre: F/L = BI sinθ. That per-metre view is the natural one for long parallel cables, power lines and the windings of big machines, several of which appear in the examples below.

N pole S pole B points down, N to S current I flows along the wire F lifts the wire only the length between the poles counts

Formula

F = B × I × L × sinθ  •  F in newtons (N), B in tesla (T), I in amps (A), L in metres (m). Only the length of wire actually inside the field counts.

The rearrangements are just as useful: I = F ÷ (BL sinθ) turns a measured force into a current measurement — the historical basis of the ampere balance; B = F ÷ (IL sinθ) turns it into a field measurement; L = F ÷ (BI sinθ) tells a motor designer how much wire the field must grip. At θ = 90° the formula reduces to F = BIL, and dividing both sides by L gives the force per metre, F/L = BI. That compact version hides a famous relative: the field of one long wire at the location of a second, parallel wire is B = μ₀I₁/(2πd), so the force per metre between two parallel currents is F/L = μ₀I₁I₂ ÷ (2πd) — parallel currents attract, opposite currents repel, a result important enough that it once defined the ampere itself (see the depth section below).

SymbolMeaningUnits
Fforce on the immersed length of wirenewtons (N)
Bmagnetic field strength (flux density)tesla (T)
Icurrent in the wireamps (A)
Llength of wire inside the fieldmetres (m)
θangle between the wire and the fielddegrees (°)

Where the push comes from: a crowd of charges

A current is not a mysterious fluid; it is a slow drift of enormous numbers of electrons through the metal. Each drifting charge is a moving charge in a magnetic field, so each one feels the sideways force F = qvB of the companion calculator. The charges cannot leave the wire — they are part of its structure — so their combined sideways push is handed over to the wire as a whole. Sum qvB over the n charges per unit volume in a length L of wire of cross-section A, using I = nqvA, and the microscopic sum tidies itself into the macroscopic F = BIL. The two formulas are one fact seen at two magnifications.

That origin explains the formula's behaviour. The force is proportional to I because doubling the current doubles either the number of drifting charges or their drift speed. It is proportional to L because a longer immersed stretch contains proportionally more charges to push. And it vanishes for a parallel wire because the charges then move along the field, the one direction in which the magnetic force is always zero. It also explains the direction rules: Fleming's left-hand rule is just the single-charge rule with the current's direction standing in for the charges' velocity — reverse the current and every charge reverses, so the force flips too.

−−−−− electrons drift one way… …each is pushed sideways (qvB)… …and together they drag the whole wire: F = BIL

How to use

  1. Enter the magnetic field strength B in tesla — the field where the wire actually sits, between the poles, not the magnet's rating at some other point.
  2. Enter the current I in amps flowing through the wire.
  3. Enter L, the length of wire inside the field, in metres — measure only the stretch between the magnet's poles or inside the coil's core region.
  4. Enter the angle θ between the wire and the field in degrees: 90° for the usual square-on arrangement, 0° if the wire runs along the field.
  5. Click "Calculate" to get the force in newtons. To find its direction, apply Fleming's left-hand rule; reversing either the current or the field reverses the force.

Worked examples

Example 1 — a bench-top demonstration. A wire carrying 5 A has 0.5 m of its length inside a 0.4 T field, at right angles to the field (θ = 90°).
F = BIL sinθ = 0.4 × 5 × 0.5 × 1 = 1 N.
That is roughly the weight of an apple — a clearly feelable push from a modest current and field.

Example 2 — a longer wire, weaker field. A 2 m straight conductor carrying 10 A lies across a 0.2 T field at 90°.
F = 0.2 × 10 × 2 = 4 N. Length is as powerful a lever as current: this arrangement quadruples Example 1's force with half the field.

Example 3 — the angled wire. The Example 1 wire is twisted so it crosses the field at θ = 30° instead of 90°, with B raised to 0.5 T and I = 4 A, L = 1 m.
F = 0.5 × 4 × 1 × sin 30° = 0.5 × 4 × 1 × 0.5 = 1 N. Halving the sine exactly cancels the other gains — a reminder that orientation is a real term in the formula, not a footnote.

Example 4 — one side of a motor coil. A small motor's coil side is 0.04 m (4 cm) long, carries 2 A and sits in a 0.3 T field at 90°.
F = 0.3 × 2 × 0.04 = 0.024 N on that side. A matching side on the opposite of the coil feels 0.024 N the other way; the pair of forces, acting across the coil's width, is the torque that spins the motor — the subject of the coil-torque calculator.

Example 5 — a busbar in a strong field. A rigid copper busbar carries 100 A with 0.3 m of it crossing a 1 T field at 90°.
F = 1 × 100 × 0.3 = 30 N — the weight of a 3 kg mass, on a bar a forearm long. In switchgear carrying thousands of amps during a fault, forces like this, scaled up a hundredfold, can tear busbars from their mountings, which is why they are braced like bridge girders.

Example 6 — a power line in the Earth's field. A transmission line carries 100 A; take a 50 m span crossing the Earth's field of 5 × 10⁻⁵ T at the worst angle, 90°.
F = 5 × 10⁻⁵ × 100 × 50 = 0.25 N spread over the whole span. Utterly negligible — the Earth's field is simply too weak to trouble power engineering, a useful calibration of what "weak field" means.

Magnetic force on wires in real life

Every electric motor. A motor is this force, arranged in a circle: coil sides sit in a field, the forces on opposite sides point opposite ways, and the resulting couple turns the shaft. Example 4 is one instant of that rotation; the commutator keeps the current — and hence the force — pointing the useful way.

Loudspeakers. The voice coil sits in a strong permanent-magnet gap (around 1 T). Audio current through the coil's few metres of wire produces a force F = BIL that rises and falls with the music — with B = 1 T, I = 0.5 A and 2 m of wire in the gap, about 1 N — pumping the cone in and out thousands of times per second.

Railguns and linear motors. In a railgun the "wire" is a sliding armature between two rails carrying an enormous current in a strong self-made field; F = BIL accelerates it along the rails instead of around a circle. Maglev trains use the gentler cousin of the same idea, linear motors laid out flat.

The jumping-wire demonstration. The classic school experiment — a loose wire between magnet poles that leaps when the circuit closes — is Example 1 on the bench. It is often the first direct, visible proof students get that a magnetic field can exert a mechanical force.

Fault forces in power systems. Example 5 scales brutally: force grows with the product of currents in parallel conductors, so a 20,000 A short-circuit produces forces hundreds of times larger than normal operation. Substation busbars are clamped and braced specifically against F = BIL letting go.

Moving-coil meters. Before digital displays, ammeters and voltmeters turned this force against a spring: the coil's deflection, driven by F = BIL on its sides, was proportional to current. The same physics, run gently, measured the very quantity that drives it.

attraction currents in the same direction attract; opposite currents repel F/L = μ₀I₁I₂/(2πd)

When wires pull on each other — and how this defined the ampere

Every current makes its own magnetic field, so two parallel wires sit in each other's fields and feel F = BIL from them. With B = μ₀I₁/(2πd) from the first wire, the force per metre on the second is F/L = μ₀I₁I₂/(2πd). Two wires each carrying 10 A, 2 cm apart, attract with F/L = (4π × 10⁻⁷ × 10 × 10) ÷ (2π × 0.02) = 0.001 N/m — a whisper of a force, but measurable, and it grows with the product of the currents. Scale that product to fault conditions — two busbars at 10,000 A each, 10 cm apart — and the same formula returns F/L = (4π × 10⁻⁷ × 10⁴ × 10⁴) ÷ (2π × 0.1) = 200 N/m, the weight of a 20 kg mass hanging off every metre of bar, arriving within a millisecond of the fault. That is the distance between a metrology whisper and a switchgear explosion, travelled by changing nothing but the currents. For most of the twentieth century this whisper was metrology: the ampere was defined as the current that makes two infinitely long parallel wires one metre apart attract with exactly 2 × 10⁻⁷ N per metre — precisely what the formula gives for I₁ = I₂ = 1 A at d = 1 m. Since 2019 the ampere is defined by fixing the electron's charge instead, but the force between wires remains the most tangible picture of what a current is. Reverse one wire's current and the same formula changes sign: the wires repel with exactly the force they attracted with, which is the spreading force trying to blow apart the rails of a railgun on every shot.

Quick reference: force per metre at θ = 90° (F/L = BI)

Field BCurrent IForce per metre
0.1 T1 A0.1 N/m
0.4 T5 A2 N/m
0.5 T10 A5 N/m
1 T10 A10 N/m
1 T100 A100 N/m

Multiply any row by the immersed length to get the total force — 0.5 m of the second row's wire gives the 1 N of Example 1.

Common mistakes

  • Using the whole wire's length. Only the stretch inside the field feels the force. A long cable with 5 cm between the poles has L = 0.05 m, whatever its total length.
  • Forgetting sinθ. F = BIL is only the θ = 90° case. A wire at 30° to the field feels half as much; a parallel wire feels nothing, and no current makes up for it.
  • Measuring θ from the perpendicular. θ is between the wire and the field. If you measure from the line at right angles to the field instead, sine and cosine swap and the answer is wrong except at 45°.
  • Getting the direction from the magnitude. The calculator returns a size. Direction comes from Fleming's left-hand rule — and flips if either the current or the field is reversed, which is why a motor with both reversed still turns the same way.
  • Entering centimetres as metres. L must be in metres: 50 cm is 0.5. A factor-of-100 error in L is the commonest slip in student motor calculations.

FAQ

How is the direction of the force found?
Use Fleming's left-hand rule: First finger = Field, seCond finger = Current, thuMb = Motion (force). Reverse the current or the field and the force reverses too — which is exactly how a motor's coil is kept spinning.

What if the wire runs parallel to the field?
Then θ = 0°, sinθ = 0 and there is no force at all. The force is maximum when the wire crosses the field at 90°.

Is this the same force as on a single moving charge?
Yes — a current is just many charges moving together. F = BIL is the combined force on all the moving charges in the length of wire, which is why the two formulas look so similar.

Why does reversing both the current and the field leave a motor turning the same way?
Each reversal flips the force once; two flips cancel. F depends on the product of the current direction and the field direction, so changing both signs changes nothing — a handy check when wiring a motor.

Does the force act on the whole wire or only part of it?
Only on the part inside the field. Sections outside the field region feel no force, which is why L in the formula is the immersed length and why motor windings are shaped to keep as much wire as possible in the field.

Can this force be used to measure a current?
Yes — historically it was the standard. The ampere balance weighed the force between coils carrying the same current, turning a force measurement into a current measurement via F = BIL. Modern definitions have changed, but the method's logic is unchanged.

What happens if the current is alternating?
The force alternates with it, pushing one way then the other each half-cycle. A loudspeaker exploits exactly this to vibrate; a motor avoids it by rectifying the current with a commutator or by synchronising the field with the current, as AC motors do.

How strong is the force in a real car starter motor?
Starter motors draw 100–300 A through coils in fields of a few tenths of a tesla, with many coil sides acting at once. Summed over all sides and turns, F = BIL builds the several newton-metres of torque needed to crank an engine — Example 5's busbar force, put to work in a circle.

Does the wire's material matter?
Not to the formula: F depends on B, I, L and θ only. Material matters practically — copper carries more current without overheating, and a thicker wire carries more still — but a wooden rod carrying the same current (if it could) would feel the same force.

Why do parallel power cables sometimes hum or shift during a fault?
Because each cable sits in the other's field, and the force between them grows with the product of the currents. Normal currents give negligible forces, but a short-circuit multiplies currents by twenty or more — and the force by four hundred — enough to make cables jump in their trays.

Thomas Becker

Thomas Becker

Physics Writer · Electricity & Magnetism

Thomas Becker creates and reviews our magnetism and electrostatics calculators at CalcVIP. Every calculator is checked against hand-worked examples before it is published, so the formula, the diagram and the answer all agree.

View full profile & all calculators by Becker →