Magnetic Field of a Circular Loop and Particle Motion
Introduction to a circular current loop’s magnetic field
This circular-loop calculator connects the current in a wire ring to the magnetic field it produces and to the path of a charged test particle moving through that field. Rather than switching between a formula sheet, a sketch, and a separate numerical integrator, you can change I, R, q, m, and Δt in one place and watch the field reference and particle readout respond.
In this model, current and radius chiefly control field strength, while charge and mass control how sharply the particle turns. The time step does not change the underlying physics, but it does affect how faithfully the numerical Runge–Kutta update follows the motion. The simulation is intended as a compact teaching and exploratory tool, not as a replacement for a complete laboratory or engineering magnetics model.
The canvas shades the absolute value of Bz on a grid, so darker areas mean a stronger magnetic-field component perpendicular to the plane of the loop. This makes it easier to see why a particle may curve more strongly near some positions than others.
What magnetic-field question does this circular-loop calculator answer?
The circular-loop setup is the classic current-ring problem: determine the field generated by a thin loop and observe how a test charge responds while moving through it. Because this page draws the loop, a sampled field map, and the particle together, you can compare the equation, field strength, and trajectory without leaving the calculator.
If you only need the field at the center, the analytic loop formula gives a fast reference point. If you need off-center behavior, the sampled Biot–Savart map shows how field strength changes across the canvas. That spatial change is usually what makes a simulated particle path bend, tighten, or flatten as it travels.
How to use the circular-loop field calculator
Start by entering values in the units printed beside each field. Set the loop current and radius, then enter the test particle’s charge and mass. Finally choose a time step and press Play. The result line updates after the inputs settle, so there is no separate calculation button to remember.
- Enter Current I (A) for the steady current in the circular wire loop.
- Enter Radius R (m) for the radius of that loop.
- Enter Charge q (C) and Mass m (kg) for the test particle.
- Enter Time step Δt (s), then press Play to animate the particle.
When comparing two loop arrangements, pause the motion, change one value, and allow the readout to settle before interpreting the difference. The Download CSV button saves the time history of position, velocity, and kinetic energy from the run currently held in memory.
Inputs for a circular-loop field and particle-motion run
The circular-loop result is meaningful only when the entered quantities describe the same physical setup. Keep the displayed SI units consistent: an error in amperes, meters, coulombs, kilograms, or seconds can alter the field or trajectory far more than a modest change in current.
- Current I (A): sets the overall field scale. At the center, doubling I doubles the field.
- Radius R (m): sets the geometry. A larger loop weakens the center reference while spreading the field over a wider circle.
- Charge q (C): sets the direction and size of the Lorentz response. Its sign reverses the bend direction.
- Mass m (kg): determines how much the same magnetic force accelerates the particle; a heavier particle turns more gradually.
- Time step Δt (s): controls the numerical update interval. Smaller values generally produce smoother motion and less measured energy drift.
The default values are a baseline for this demonstration. Replace them with measurements or a clearly stated hypothetical setup before treating the output as more than a useful reference.
Formulas behind the circular-loop field simulation
This page uses two layers of mathematics for the circular-loop problem. First, it reports the center-field reference directly from the thin-loop formula. Second, it samples the field on a grid and advances the charged particle numerically so you can inspect behavior away from the center.
Here μ₀ is the permeability of free space, I is loop current, and R is loop radius. The center-field relation shows the main scaling immediately: more current raises Bcenter, while a larger radius lowers it. The canvas field map is built from 60 short wire segments using the Biot–Savart law. Each sample square receives a Bz magnitude, and the particle state is advanced with a fourth-order Runge–Kutta step.
Because the shading uses |Bz|, the map shows field strength rather than direction. This is helpful for locating strong-field regions, but the sign of Bz is not represented by color alone. The particle’s force direction still comes from the signed field and the signed charge in the numerical calculation.
Worked example: the default current loop and center field
A practical way to read the circular-loop calculator is to begin with its default values: I = 5 A, R = 0.1 m, q = 1e-6 C, m = 1e-6 kg, and Δt = 0.001 s. These values describe a simple illustrative loop and test charge rather than a particular device.
For that loop, the center-field reference is Bcenter = μ0I / (2R), or approximately 3.14×10-5 T. That number gives a scale for the darker shading near the middle of the canvas and a baseline for judging changes in I or R. The particle begins just outside the loop with upward velocity, so its first curve reflects the local off-center field rather than only the center reference.
Changing only q does not change the field map, but it changes how strongly and in which direction the particle bends. Changing only the radius changes both the drawn loop size and the center field in the opposite direction. These one-variable experiments are a clear way to verify the relationship between geometry, field strength, and motion.
Comparison table: how loop current changes the center field
The cleanest circular-loop sensitivity check holds the radius fixed and varies current, because the center field is linear in I. The table uses the same 0.1 m radius as the default setup.
| Scenario | Current I (A) | Radius R (m) | Center field Bcenter (T) | Interpretation |
|---|---|---|---|---|
| Conservative (−20%) | 4 | 0.1 | 2.51×10-5 | Lower current weakens the center field and reduces magnetic deflection. |
| Baseline | 5 | 0.1 | 3.14×10-5 | This is the default loop used as the reference case. |
| Aggressive (+20%) | 6 | 0.1 | 3.77×10-5 | Higher current strengthens the center field and increases deflection. |
If a trajectory changes much more than this table suggests, the cause is often q, m, or Δt rather than the center-field formula itself. Change one parameter at a time when testing sensitivity so that the result remains interpretable.
How to interpret the circular-loop readout
The live readout pairs the center-field value with the relative kinetic-energy drift from the numerical integrator. For this loop model, first check that the field is reported in tesla and that its scale matches the current and radius entered. Then use the drift bar as a numerical-health check: a small drift supports confidence that the chosen step is resolving the displayed path reasonably well.
The CSV file is useful for comparing two loop runs later or reviewing a trajectory frame by frame. It records time, position, velocity, and energy, allowing you to make your own plot or examine whether a large Δt is introducing unacceptable numerical error.
Limitations and assumptions for the circular-loop field model
This circular-loop simulator intentionally omits details that may matter in a real apparatus. It treats the current as steady, the loop as a thin ideal ring, and the particle as a test charge that does not feed back on the source field.
- Input interpretation: use the current-loop labels literally and enter values in the SI units shown.
- Idealized geometry: wire thickness, winding count, resistance, and noncircular construction are not represented.
- External effects: nearby conductors, external fields, electric fields, radiation, collisions, and relativistic effects are excluded.
- Numerical limits: displayed values are rounded, and an overly large time step can produce visible energy drift.
If a result will guide an engineering, laboratory, or safety decision, use this page as a first-pass estimate and confirm important cases with measurement or a more complete magnetics analysis. Its value is in showing how current, radius, charge, mass, and time step interact in the ideal circular-loop model.
Adjust the loop inputs and press Play to animate the charged particle through the field.
