The fundamental magnetic flux density formula is B = Φ / A, where B is the flux density in Teslas (T), Φ is the total magnetic flux in Webers (Wb), and A is the cross-sectional area in square meters (m²). When designing inductors, electromagnets, or transformers, the practical working formula derived from Ampere's Law is B = (μ · N · I) / l, linking flux density directly to coil geometry and current. This guide breaks down the exact math, tracks the units through real-world bench problems, and provides a concrete decision path for selecting magnetic cores and Hall-effect sensors based on your target B-field.
The Core Magnetic Flux Density Formula & Symbol Definitions
The relationship between total magnetic flux and flux density is analogous to water flow: Φ is the total volume of water flowing through a pipe, while B is the flow rate per square inch of the pipe's cross-section. According to Georgia State University's HyperPhysics, the defining equation assumes a uniform magnetic field perpendicular to the surface area.
| Symbol | Parameter | SI Unit | Definition & Assumptions |
|---|---|---|---|
| B | Magnetic Flux Density | Tesla (T) | Concentration of magnetic field lines. Assumes linear material response below saturation. |
| Φ | Magnetic Flux | Weber (Wb) | Total magnetic field passing through a given area. |
| A | Cross-Sectional Area | Square meters (m²) | Area perpendicular to the flux lines. Must be converted from mm² or cm². |
| μ | Permeability | Henry/meter (H/m) | Material's ability to support a magnetic field (μ = μ₀ · μr). |
| μ₀ | Permeability of Free Space | 4π × 10⁻⁷ H/m | Constant for air/vacuum. NIST CODATA defines this exact value. |
| N | Number of Turns | Dimensionless | Total wire wraps in the coil. |
| I | Current | Amperes (A) | DC or RMS AC current driving the coil. |
| l | Magnetic Path Length | Meters (m) | Effective length of the magnetic circuit or solenoid. |
Rearranged Forms for Component Design
On the bench, you rarely solve for B in isolation. You usually have a target flux density and need to find the required physical dimensions or electrical drive. Here are the algebraic rearrangements solving for each critical variable:
- Solve for Total Flux: Φ = B · A
- Solve for Required Area: A = Φ / B
- Solve for Required Current: I = (B · l) / (μ · N)
- Solve for Required Turns: N = (B · l) / (μ · I)
- Solve for Path Length: l = (μ · N · I) / B
Worked Examples with Strict Unit Tracking
Abstract formulas cause wiring and winding mistakes. Here are two bench-realistic problems with every unit conversion explicitly tracked.
Problem 1: Sizing a Transformer Core Cross-Section
Scenario: You are winding a custom 50Hz isolation transformer. The primary winding induces a total magnetic flux (Φ) of 1.8 mWb. Your target maximum flux density (B) to avoid core saturation is 1.2 T. What must the minimum cross-sectional area (A) of the steel core be in square millimeters?
- Identify Knowns: Φ = 1.8 mWb, B = 1.2 T, Target A = ? (in mm²)
- Convert to Base SI Units:
Φ = 1.8 × 10⁻³ Wb - Select Formula: A = Φ / B
- Substitute and Solve:
A = (1.8 × 10⁻³ Wb) / (1.2 T)
A = 1.5 × 10⁻³ m² - Convert to Requested Units:
Since 1 m² = 1,000,000 mm² (10⁶ mm²):
A = 1.5 × 10⁻³ × 10⁶ mm²
A = 1500 mm²
Practical Takeaway: A standard E-I lamination stack with a 38mm x 40mm tongue area yields 1520 mm², making it the correct physical pick for this design.
Problem 2: Driving an Air-Core Solenoid
Scenario: You need to generate a precise 5 mT magnetic field inside an air-core solenoid for a Hall-effect sensor calibration jig. The solenoid is 10 cm long and has 400 turns. What current (I) must your power supply deliver?
- Identify Knowns: B = 5 mT, l = 10 cm, N = 400, μ = μ₀ (air core = 4π × 10⁻⁷ H/m)
- Convert to Base SI Units:
B = 5 × 10⁻³ T
l = 0.1 m - Select Formula: I = (B · l) / (μ₀ · N)
- Substitute and Solve:
I = (5 × 10⁻³ T · 0.1 m) / (4π × 10⁻⁷ H/m · 400)
I = (5 × 10⁻⁴) / (5.0265 × 10⁻⁴)
I ≈ 0.995 A
Practical Takeaway: You need a power supply capable of delivering a stable 1.0 A. Because air doesn't saturate, this linear relationship holds true regardless of how high you push the current, limited only by the wire's thermal ampacity.
Common Unit Mistakes That Break the Math
According to All About Circuits, magnetic field calculations are notorious for order-of-magnitude errors due to legacy unit mixing. Avoid these two fatal traps:
Datasheets often list core areas in cm² or mm². If you plug 5 cm² directly into A = Φ / B as '5', your answer will be off by a factor of 10,000.
Fix: Always multiply cm² by 10⁻⁴ to get m², and mm² by 10⁻⁶.
Older schematics and cheap Chinese teslameters often display Gauss (G). The SI formula requires Teslas (T).
Fix: 1 Tesla = 10,000 Gauss. If your meter reads 450 G, you must enter 0.045 T into the formula.
Realistic Magnitudes and Saturation Limits
Knowing what a 'normal' answer looks like prevents you from designing physically impossible circuits. If your math yields a B-field of 15 T for a standard transformer, you've made a decimal error. Here is the reality of magnetic flux density on the bench:
- Earth's Magnetic Field: ~50 μT (0.00005 T)
- Standard Fridge Magnet: ~5 mT (0.005 T)
- N52 Neodymium Magnet (Surface): ~1.4 T
- MnZn Ferrite Core (e.g., TDK PC95): Saturates at ~0.39 T (at 100°C)
- Grain-Oriented Silicon Steel (M-6): Saturates at ~2.0 T
- Medical MRI Machine: 1.5 T to 3.0 T
Decision Path: Selecting a Core or Sensor for Your Target B-Field
Use this decision matrix to terminate your design phase with a concrete material or component selection based on your calculated B-field requirements.
| Condition / Target B-Field | Application Context | Concrete Pick / Part Number |
|---|---|---|
| B_target > 1.5 T | 50/60Hz Mains Transformers, High-Torque Motors | M-6 Grain-Oriented Silicon Steel (Laminations). Do not use ferrite; it will saturate instantly. |
| B_target = 0.1 T to 0.4 T | Switch-Mode Power Supplies (SMPS), High-Freq Inductors (>50kHz) | TDK PC95 or Ferroxcube 3C90 MnZn Ferrite. Low core loss at high frequency, but strictly limited to ~0.4T saturation. |
| Measuring B < 50 mT | Current sensing, weak field mapping, joystick position | Allegro A1302 Linear Hall-Effect Sensor. Outputs 1.3mV/G, perfect for Arduino 10-bit ADC resolution. |
| Measuring B > 1.0 T | Neodymium magnet verification, BLDC motor commutation mapping | Melexis MLX90393 Programmable 3D Hall Sensor. Configure the gain register to the ±50mT or higher range to avoid rail-clipping. |
| Air-Core Calculation yields I > 10A | DIY Electromagnets, Solenoid Locks | Switch to a Low-Carbon Steel (1018) Core. Introducing a ferromagnetic core multiplies μ by ~1000, dropping your required current from 10A to ~10mA. |
By strictly enforcing SI unit conversions at the start of your calculation and respecting the saturation limits of your chosen material, the magnetic flux density formula transitions from a textbook abstraction into a reliable tool for predicting component behavior on the workbench.






