In physics, a magnet is any material or object that produces a magnetic field, exerting an attractive or repulsive force on other ferromagnetic materials and interacting with moving electrical charges.

In a real circuit or electrical installation, a magnet (or its generated field) is the invisible mechanism that dictates inductance, drives electromechanical actuation in relays and contactors, induces back-EMF in motors, and enables non-contact current sensing. Without magnetic fields, we would have no transformers to step down grid voltage, no electric motors, and no mechanical switching. Understanding how magnetic materials behave under electrical stress is the difference between a reliable power supply and a melted coil.

Magnetic Material Grades and Flux Densities

Not all magnets are created equal. When designing electromechanical components or selecting sensors, you must choose between hard magnetic materials (permanent magnets that retain their field) and soft magnetic materials (electromagnet cores that easily magnetize and demagnetize). The performance of a permanent magnet is defined by its Remanence ($B_r$, the residual magnetic flux density) and its Coercivity ($H_c$, its resistance to being demagnetized).

Below is a spec-sheet-table of the four most common permanent magnet grades you will encounter in electrical engineering and DIY motor builds, based on industry standard material data from K&J Magnetics.

Table 1: Permanent Magnet Material Specifications at Room Temperature (20°C)
Material Grade Remanence ($B_r$) Coercivity ($H_c$) Max Energy Product ($BH_{max}$) Max Operating Temp
Neodymium (N52 NdFeB) 1.44 T 875 kA/m 422 kJ/m³ 80°C (Standard)
Samarium Cobalt (SmCo 2:17) 1.10 T 800 kA/m 240 kJ/m³ 250°C
Alnico 5 1.28 T 50 kA/m 40 kJ/m³ 540°C
Ceramic / Ferrite (Grade 8) 0.39 T 240 kA/m 28 kJ/m³ 250°C
Bench Warning: Temperature Derating
Standard N52 neodymium magnets begin to suffer irreversible demagnetization at just 80°C. If you are building a BLDC motor or a high-current generator where stator windings will exceed 80°C, you must specify high-temperature Neodymium grades (like N42EH, rated to 150°C) or switch to Samarium Cobalt, despite the lower $B_r$.

Worked Numeric Example: Electromagnet Coil and Core Saturation

To understand how a magnet works in a circuit, we have to look at electromagnets. Let us calculate the magnetic field generated by a 12V DC relay coil to see why core material selection is critical.

The Scenario: You are winding a custom relay coil. You have 400 turns of enameled copper wire wrapped around a core with a magnetic path length of 0.05 meters. The total coil resistance is 120 Ω. You apply 12V DC.

Step 1: Calculate Current ($I$)
Using Ohm's Law: $I = V / R = 12\text{V} / 120\ \Omega = 0.1\text{ A}$.

Step 2: Calculate Magnetic Field Strength ($H$)
Field strength depends only on the physical coil geometry and current, not the core material. According to Georgia State University's HyperPhysics models for solenoids:
$H = (N \cdot I) / l$
$H = (400 \cdot 0.1) / 0.05 = 800\text{ A/m}$.

Step 3: Calculate Flux Density ($B$) with an Air Core
If the core is just air, we multiply $H$ by the permeability of free space ($\mu_0 = 4\pi \times 10^{-7}\text{ T}\cdot\text{m/A}$):
$B_{air} = 4\pi \times 10^{-7} \cdot 800 \approx 0.001\text{ T}$ (or 1 mT).
Result: 1 mT is incredibly weak. This coil will barely pick up a paperclip, let alone pull a heavy contactor armature.

Step 4: Calculate Flux Density ($B$) with a Soft Iron Core
Now, insert a soft electrical steel core (like M19 silicon steel) with a relative permeability ($\mu_r$) of 4,000.
$B_{ideal} = B_{air} \cdot \mu_r = 0.001\text{ T} \cdot 4000 = 4.0\text{ T}$.

The Reality Check: Magnetic Saturation
You will not get 4.0 Teslas. Soft electrical steel physically saturates at approximately 1.6 T to 1.8 T. Once the magnetic domains in the steel are fully aligned, the core acts like air again. Your actual working flux density clamps at roughly 1.6 T. This is why adding more turns or more current to a saturated relay coil just generates excess heat ($I^2R$ losses) without increasing the pulling force.

Where You Meet Magnets in Practical Installations

Whether you are wiring a subpanel or debugging an Arduino project, magnetic fields are doing the heavy lifting. Here is where this physics definition translates into hardware you can hold in your hand:

  • Contactors and Relays: The electromagnet coil generates a magnetic field that pulls a steel armature, physically closing the high-current contacts. The air gap between the core and armature dictates the inrush current of the coil; as the gap closes, inductance spikes and the holding current drops.
  • Transformers: Alternating current in the primary winding creates a constantly expanding and collapsing magnetic field. This changing flux cuts across the secondary winding, inducing a voltage via Faraday's Law of Induction. The soft iron core ensures maximum flux coupling between the two coils.
  • Brushless DC (BLDC) Motors: Permanent magnets (usually Neodymium) are embedded in the rotor. The electronic speed controller (ESC) sequentially energizes the stator electromagnets to chase the permanent magnets, creating rotation. If you exceed the magnet's temperature rating, the rotor loses its field and the motor stalls.
  • Clamp Meters and Hall Effect Sensors: When current flows through a wire, it generates a concentric magnetic field. A clamp meter uses a split ferrite core to concentrate this field onto a Hall effect sensor, which outputs a millivolt signal proportional to the flux density, allowing you to measure AC or DC current without breaking the circuit.

Common Confusions: Field Strength vs. Flux Density

The most common mistake makers and junior technicians make is conflating the cause of the magnetic field with the effect. According to the NIST SI unit definitions, these are distinct physical quantities:

  1. Magnetic Field Strength ($H$): Measured in Amperes per meter (A/m). This is the "effort" applied by the electrical current. It is entirely dependent on the number of coil turns and the current flowing through them.
  2. Magnetic Flux Density ($B$): Measured in Teslas (T). This is the actual "result" or concentration of magnetic lines of force in a given material. It depends on $H$ multiplied by the permeability of the material.
The Water Analogy (Used Sparingly)
Think of $H$ as the water pressure generated by a pump (the electrical current pushing the magnetic field into existence). Think of $B$ as the actual volume of water flowing through the pipe. If the pipe is wide open (high permeability iron), a little pressure yields a massive flow. But if the pipe is too narrow (the core reaches magnetic saturation), no matter how much harder you pump ($H$), the flow ($B$) physically cannot increase.

Another frequent confusion is Magnetic Flux ($\Phi$) versus Flux Density ($B$). Flux is the total number of magnetic field lines passing through an area, measured in Webers (Wb). Flux density ($B$) is how tightly packed those lines are (Teslas = Webers per square meter). A large transformer core might have the same total Flux ($\Phi$) as a small one, but the smaller core will have a much higher Flux Density ($B$), pushing it closer to dangerous saturation levels.

Frequently Asked Questions

Can I block or shield a magnetic field like I do with RF signals?
No. You cannot "block" magnetic flux; you can only redirect it. To shield a sensitive circuit (like a Hall sensor or an audio transformer) from stray magnetic fields, you must enclose it in a high-permeability material like Mu-metal. The magnetic field lines will take the path of least resistance, flowing through the Mu-metal shield rather than crossing the air gap into your sensitive components.

Why do large power transformers hum?
This is caused by magnetostriction. As the 50Hz or 60Hz AC magnetic field expands and collapses, it physically alters the crystalline structure of the transformer's laminated steel core, causing it to expand and contract microscopically twice per cycle. This mechanical vibration transfers to the transformer oil and enclosure, producing the characteristic 100Hz or 120Hz audible hum.