Magnetic Effect of Electric Current

Visualize B-fields from straight wires, coils, and solenoids

Parameters

5.0 A
10

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.0 × 10⁻⁵ T

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.