Magnetic Effect of Electric Current

Visualize B-fields from straight wires, coils, and solenoids in 3D. Use the right-hand grip rule as current particles flow.

Parameters

5.0 A
0.05 m

Formula

$B = \frac{\mu_0 I}{2\pi r}$

B-field around a long straight wire decreases with distance r.

Computed B

At distance r: 0.05 m
B = 2.00 × 10⁻⁵ T
I 5.00 A

Key Concepts

  • Moving charges / currents create magnetic fields.
  • Use the right-hand grip rule to find B direction.
  • Solenoid field is uniform inside, like a bar magnet.
  • More turns & higher current → stronger B-field.
Current (I)
Magnetic Field (B)
N
S
Drag to rotate • Scroll to zoom
Right-hand grip rule: thumb = I, fingers = B