Magnetic Field Calculator

Calculate magnetic field strength and force on current-carrying wires using Biot-Savart Law

Parameters

Aⓘ
Enter the current flowing through the wire
mⓘ
Enter the distance from the wire
mⓘ
Enter the length of the wire in the magnetic field
°ⓘ
Enter the angle between field and current
Show Trail

Controls

x
Magnetic Field Calculator Active
Animation: Stopped | Time: 0.00s

Calculated Values

Magnetic Field:
2.0000e−6;T2.0000e-6;T
Force:
0.0000e+0;N0.0000e+0;N
Field Strength (mT):
2.0000e−3;mT2.0000e-3;mT

Examples

Example 1: Household Wire

A typical household wire carrying 10A current at 0.1m distance.

  • Magnetic Field: 2.0000e−52.0000e-5
  • Force: 2.0000e−42.0000e-4

Example 2: High Current Transmission

A power transmission line carrying 1000A at 1m distance.

  • Magnetic Field: 2.0000e−42.0000e-4
  • Force: 2.0000e+02.0000e+0

Example 3: Laboratory Setup

A laboratory wire carrying 1A at 0.01m distance.

  • Magnetic Field: 2.0000e−52.0000e-5
  • Force: 7.0700e−67.0700e-6

Visualization

Magnetic Fields and Biot-Savart Law

Magnetic fields are fundamental to electromagnetism and are created by moving electric charges. When an electric current flows through a wire, it creates a magnetic field around the wire. This relationship is described by the Biot-Savart Law, which is one of the fundamental laws of electromagnetism.

The Biot-Savart Law states that the magnetic field at a point due to a current-carrying wire is proportional to the current and inversely proportional to the distance from the wire. For a long straight wire, the magnetic field strength is given by B = (μ₀ × I) / (2π × r), where μ₀ is the permeability of free space, I is the current, and r is the distance from the wire.

The direction of the magnetic field follows the right-hand rule: if you point your right thumb in the direction of the current, your fingers curl in the direction of the magnetic field lines. The field lines form concentric circles around the wire, with the field strength decreasing as you move farther from the wire.

When a current-carrying wire is placed in a magnetic field, it experiences a force given by F = B × I × L × sin(θ), where B is the magnetic field strength, I is the current, L is the length of the wire, and θ is the angle between the magnetic field and the current direction. This is known as the Lorentz force law.

Magnetic fields have numerous applications in technology, including electric motors, generators, transformers, magnetic resonance imaging (MRI), and particle accelerators. Understanding magnetic fields is crucial for designing electrical devices and understanding electromagnetic phenomena.

Key Concepts

  • Magnetic Field (B): Force field around magnets and current-carrying wires, measured in teslas (T)
  • Current (I): Flow of electric charge, measured in amperes (A)
  • Distance (r): Distance from the current-carrying wire, measured in meters (m)
  • Force (F): Force on a current-carrying wire in a magnetic field, measured in newtons (N)
  • Permeability (μ₀): Fundamental constant of free space, 4π × 10⁻⁷ T·m/A
  • Right-Hand Rule: Determines the direction of magnetic field around a current

Real-World Applications

  • Electric Motors: Converting electrical energy to mechanical motion
  • Generators: Converting mechanical energy to electrical energy
  • Transformers: Changing voltage levels in power distribution
  • MRI Machines: Medical imaging using strong magnetic fields
  • Particle Accelerators: Controlling charged particle beams
  • Magnetic Levitation: Suspending objects using magnetic fields

Physics Equations

Magnetic Field (Biot-Savart Law):
B=μ0I2πrB = \frac{\mu_0 I}{2\pi r}
Force on Current-Carrying Wire:
F=BILsin⁡(θ)F = BIL\sin(\theta)
Permeability of Free Space:
μ0=4π×10−7 T\cdotpm/A\mu_0 = 4\pi \times 10^{-7} \text{ T·m/A}
Magnetic Field Direction:
Right-Hand Rule\text{Right-Hand Rule}

Step-by-Step Solution

See how the magnetic field and force are calculated.

1

Step 1: Identify Known Values

List the given values from the problem:

Equation:

\text{Given: } I = ${i} \text{ A}, r = ${r} \text{ m}, L = ${l} \text{ m}, \theta = ${theta}°

Calculation:

I=1 Ar=0.1 mL=0 mθ=90°I = 1 \text{ A} \\ r = 0.1 \text{ m} \\ L = 0 \text{ m} \\ \theta = 90°

Explanation:

We start by identifying what values we know and what we need to find.

2

Step 2: Calculate Magnetic Field

Use Biot-Savart Law to find the magnetic field:

Equation:

B=μ0I2πrB = \frac{\mu_0 I}{2\pi r}

Calculation:

B=4π×10−7×12π×0.1=2.0000e−6 TB = \frac{4\pi \times 10^{-7} \times 1}{2\pi \times 0.1} = 2.0000e-6 \text{ T}

Explanation:

The Biot-Savart Law relates current, distance, and magnetic field strength.

3

Step 3: Calculate Force

Use the force equation to find the force on the wire:

Equation:

F=BILsin⁡(θ)F = BIL\sin(\theta)

Calculation:

F=2.0000e−6×1×0×sin⁡(90°)=0.0000e+0 NF = 2.0000e-6 \times 1 \times 0 \times \sin(90°) = 0.0000e+0 \text{ N}

Explanation:

The Lorentz force law gives the force on a current-carrying wire in a magnetic field.

Frequently Asked Questions (FAQ)

What is the Biot-Savart Law?

The Biot-Savart Law describes the magnetic field created by a current-carrying wire. It states that the magnetic field strength is proportional to the current and inversely proportional to the distance from the wire.

How does distance affect magnetic field strength?

Magnetic field strength decreases inversely with distance from the wire. If you double the distance, the field strength halves. This is why magnetic fields are strongest close to current-carrying wires.

What is the right-hand rule?

The right-hand rule determines the direction of magnetic field lines around a current-carrying wire. Point your right thumb in the direction of current flow, and your fingers curl in the direction of the magnetic field lines.

When is the force on a wire maximum?

The force on a current-carrying wire in a magnetic field is maximum when the wire is perpendicular to the field (θ = 90°). When the wire is parallel to the field (θ = 0°), the force is zero.

What is the permeability of free space?

The permeability of free space (μ₀) is a fundamental physical constant that describes how magnetic fields behave in vacuum. Its value is 4π × 10⁻⁷ T·m/A.

How do magnetic fields affect moving charges?

Magnetic fields exert forces on moving charges perpendicular to both the field direction and the charge's velocity. This is the basis for electric motors and many other electromagnetic devices.

Practice MCQs

  1. If current doubles and distance stays the same, what happens to the magnetic field?
  2. What is the magnetic field at 0.1m from a wire carrying 5A current?
  3. When is the force on a wire in a magnetic field zero?
  4. What happens to magnetic field strength if distance triples?
  5. Which direction does the magnetic field point around a wire carrying current upward?