How to use it
- Choose what you want (force on a charge / field of a straight wire).
- For a charge, pick the particle (electron or proton) and enter the speed, field strength and angle.
- For a wire, enter the current and the distance from the wire.
What this calculates
A charge moving in a magnetic field feels a force perpendicular to both its velocity and the field (the Lorentz force): zero when the velocity is parallel to the field and greatest when perpendicular. The force changes only the direction, not the speed, so a charge entering perpendicular to the field moves in a circle; the radius is larger for a larger mass or speed and smaller for a larger charge or field (mass × speed ÷ (charge × field)). A current in a long straight wire makes a field in circles around the wire, proportional to the current and inversely proportional to the distance. The calculator assumes a uniform field and vacuum.
The formulas
- Force F = |q| × v × B × sin θ (q: charge, v: speed, B: field, θ: angle between velocity and field)
- Orbit radius r = m × v × sin θ ÷ (|q| × B)
- Period T = 2π × m ÷ (|q| × B)
- Field of a straight wire B = μ₀ × I ÷ (2π × r) (μ₀ ≈ 4π × 10⁻⁷ T·m/A)
Reference table
| Current (A) | Distance (cm) | Field (µT) |
|---|---|---|
| 1 | 1 | 20 |
| 1 | 10 | 2 |
| 10 | 5 | 40 |
| 10 | 100 | 2 |
| 100 | 10 | 200 |
| 100 | 100 | 20 |
Worked examples
- An electron entering a 1 mT field perpendicularly at 1×10⁶ m/s → force about 1.602×10⁻¹⁶ N, radius about 5.686 mm
- The same electron moving parallel to the field (0°) → force 0
- At 5 cm from a straight wire carrying 10 A → field 40 µT
Frequently asked questions
Why does the speed not change?
The force is always perpendicular to the velocity, so it does no work. Only the direction keeps changing, tracing a circle.
What if it moves parallel to the field?
sin 0° = 0, so there is no force and it keeps going straight. At an oblique angle it spirals.
How do mT and T relate?
1 T = 1000 mT. A fridge magnet is about 5 mT and a hospital MRI is 1.5 to 3 T.
Why do the radii of a proton and an electron differ?
The proton is about 1,836 times heavier, so at the same speed its radius is that much larger; they turn in opposite directions.
Does it work near light speed?
Close to the speed of light the mass increase matters, so this calculator is not valid there.
Are my numbers stored?
No. Everything is calculated in your browser and nothing is sent to a server or saved.
Good to know
- For the electric force between charges, use the Coulomb's Law Calculator.
- For the centripetal force of circular motion, check the Centripetal Calculator.
Sources
- OpenStax University Physics Vol. 2, 11.3 — Motion of a Charged Particle in a Magnetic Field (orbit radius and period)
- OpenStax University Physics Vol. 2, 12.2 — Magnetic Field Due to a Thin Straight Wire
- NIST CODATA 2022 — electron and proton mass, elementary charge, μ₀
Last updated 2026-12-02 · For reference only; not investment, tax or legal advice.