When you are winding a custom transformer, sizing an inductor core, or debugging the hall sensors on a BLDC motor, you eventually hit a wall of magnetic physics. The fundamental electromagnetic flux equation—specifically calculating the magnetic flux (ΦB) passing through a given surface—is the bridge between abstract field theory and the physical copper and iron on your workbench.
The direct answer for a uniform magnetic field intersecting a flat surface is: ΦB = B · A · cos(θ).
This formula tells you exactly how much magnetic field is actually "threading" through your coil. If you get this wrong, your transformer saturates, your motor stalls, or your inductor overheats. Below is the complete breakdown of the equation, the assumptions that make it work, rearranged forms for practical design, and step-by-step worked examples with strict unit tracking to keep your math grounded in reality.
The Core Equation, Symbols, and Operating Assumptions
Before plugging numbers into a calculator, you must understand what each symbol represents and the physical boundaries of the equation. The standard algebraic form ΦB = B · A · cos(θ) is a simplification of the general surface integral ΦB = ∫ B · dA. According to Georgia State University's HyperPhysics, the algebraic version only holds true under specific bench-friendly conditions.
| Symbol | Parameter | Standard SI Unit | Practical Bench Context |
|---|---|---|---|
| ΦB | Magnetic Flux | Weber (Wb) | The total magnetic "flow" linking a coil. Often measured in milliWebers (mWb) or microWebers (µWb) in small electronics. |
| B | Magnetic Flux Density (Field Strength) | Tesla (T) | The concentration of magnetic field lines. Typical ferrite cores saturate between 0.3 T and 0.5 T; silicon steel saturates around 1.5 T to 2.0 T. |
| A | Cross-Sectional Area | Square Meters (m²) | The physical area of the core or coil the field passes through. Must be perpendicular to the field for maximum coupling. |
| θ | Incidence Angle | Degrees (°) or Radians (rad) | The angle between the magnetic field vector (B) and the normal (perpendicular) vector of the surface area (A). |
Critical Assumptions
- Uniform Field: B must be constant across the entire area A. If you are calculating flux near the edges of an air gap where fringing occurs, B is non-uniform, and you must use the integral form or apply a Carter's coefficient correction.
- Planar Surface: The area A must be flat. If you are wrapping a coil around a toroidal (donut-shaped) core, the area is the cross-section of the toroid, not the total surface area of the 3D object.
Rearranged Forms for Design and Debugging
On the bench, you rarely solve for ΦB directly. Usually, you know the flux your core can handle before saturating, and you need to find the required area, or you are measuring a field and need to find the angle. Here are the rearranged forms:
- Solving for Flux Density (B):
B = ΦB / (A · cos(θ))
Use case: You have a core with a known cross-section and a target flux requirement from Faraday's Law. Use this to check if your calculated B exceeds the core's saturation limit (e.g., > 1.5 T for grain-oriented silicon steel). - Solving for Area (A):
A = ΦB / (B · cos(θ))
Use case: Sizing a transformer core. You know your maximum allowable B to prevent saturation and the total ΦB needed for your voltage/turns ratio. This gives you the minimum physical cross-section of iron or ferrite required. - Solving for Angle (θ):
θ = arccos(ΦB / (B · A))
Use case: Debugging a generator or motor. If your measured back-EMF (which is proportional to ΦB) is lower than expected despite a strong B field, this tells you the physical misalignment angle of your stator coils.
Worked Examples with Strict Unit Tracking
The most common point of failure in electromagnetic calculations isn't the algebra; it's the unit conversions. Let's walk through two realistic scenarios, tracking every unit explicitly.
Problem 1: Sizing a Flyback Transformer Core
Scenario: You are designing a flyback transformer. The primary coil requires a peak magnetic flux (ΦB) of 12 µWb (microWebers) to store the necessary energy. You have selected an E-core ferrite piece with a center leg cross-sectional area (A) of 40 mm². Assuming the field is perfectly perpendicular to the cross-section, what is the peak flux density (B) in the core? Will it saturate if the ferrite limit is 0.35 T?
- Identify Knowns and Target:
ΦB = 12 µWb = 12 × 10-6 Wb
A = 40 mm²
θ = 0° (perpendicular, so the normal vector aligns with B)
Target: B - Convert Area to Standard SI (m²):
1 mm = 10-3 m, therefore 1 mm² = (10-3)² m² = 10-6 m².
A = 40 × 10-6 m² - Evaluate the Cosine Term:
cos(0°) = 1 - Apply the Rearranged Formula:
B = ΦB / (A · cos(θ))
B = (12 × 10-6 Wb) / (40 × 10-6 m² · 1)
B = 12 / 40 T
B = 0.3 T - Conclusion: The peak flux density is 0.3 T. Since 0.3 T < 0.35 T, the core will not saturate, but you are operating at 85% of the saturation limit, which is a realistic and safe margin for ferrite.
Problem 2: BLDC Motor Stator Coil at an Angle
Scenario: A rotor magnet produces a uniform radial magnetic field of B = 0.8 T. A stator coil has an effective loop area of A = 25 cm². As the rotor turns, the field vector hits the coil at a 60° angle relative to the coil's normal vector. Calculate the instantaneous magnetic flux (ΦB) through the coil.
- Identify Knowns and Target:
B = 0.8 T
A = 25 cm²
θ = 60°
Target: ΦB - Convert Area to Standard SI (m²):
1 cm = 10-2 m, therefore 1 cm² = 10-4 m².
A = 25 × 10-4 m² = 0.0025 m² - Evaluate the Cosine Term:
cos(60°) = 0.5 - Apply the Core Formula:
ΦB = B · A · cos(θ)
ΦB = 0.8 T · 0.0025 m² · 0.5
ΦB = 0.002 Wb · 0.5
ΦB = 0.001 Wb - Conclusion: The instantaneous flux is 0.001 Wb, or 1 mWb. Notice that because the field hits the coil at a 60° angle, you only capture exactly half the flux you would if the field were perfectly perpendicular (which would be 2 mWb). This cosine loss is the fundamental reason AC generators produce sinusoidal waveforms.
Unit Mistakes That Break the Math and Realistic Magnitudes
If your simulation or bench measurement doesn't match your math, you likely fell into one of these three unit traps. As noted in All About Circuits' guide on Faraday's Law, maintaining strict SI unit discipline is non-negotiable in electromagnetic design.
The Three Fatal Unit Mistakes
- The cm² to m² Trap: Forgetting that area scales quadratically. 1 cm² is not 10-2 m²; it is 10-4 m². If you plug "25" into your calculator for cm² without converting, your flux answer will be off by a factor of 10,000.
- Gauss vs. Tesla: Datasheets for permanent magnets (like Neodymium N52) often list surface field strength in Gauss (e.g., 14,000 Gauss). The SI unit for B in the flux equation is Tesla. 1 Tesla = 10,000 Gauss. Always divide Gauss by 10,000 before calculating.
- Degrees vs. Radians in Code: If you are writing an Arduino or ESP32 script to model motor flux in real-time, the C++
cos()function expects radians, not degrees. Passingcos(60)will calculate the cosine of 60 radians, yielding garbage data. You must convert usingcos(60 * PI / 180).
What Does a Realistic Answer Magnitude Look Like?
When you finish a calculation, sanity-check the magnitude. If you calculate a flux of 500 Wb for a benchtop power supply, you made a math error.
- MicroWebers (µWb): Typical for small signal relays, RF inductors, and PCB trace antennas.
- MilliWebers (mWb): The sweet spot for most hobbyist and benchtop projects. Small stepper motors, flyback transformers, and 12V DC motors operate in the 1 to 50 mWb range.
- Webers (Wb): Reserved for heavy industrial machinery. A large 480V AC induction motor or a utility-scale generator might have 2 to 10 Wb of flux per pole.
Frequently Asked Questions
How does the electromagnetic flux equation apply to Faraday's law of induction?
Faraday's Law states that the induced electromotive force (EMF, or voltage) in a coil is equal to the negative rate of change of magnetic flux through that coil over time, multiplied by the number of turns: V = -N · (dΦB / dt). The electromagnetic flux equation (ΦB = B · A · cos(θ)) is the foundational input for Faraday's Law. If you want to know the voltage a generator will produce, you first use the flux equation to determine ΦB at different rotor angles, and then take the derivative of that flux with respect to time to find the induced voltage.
What is the difference between magnetic flux and electromagnetic flux density?
They are related but distinct concepts, much like total water flow versus water pressure. Magnetic flux (ΦB), measured in Webers, is the total amount of magnetic field passing through a specific area. Flux density (B), measured in Teslas, is the concentration of that field per square meter. If you have a very strong flux density (high B) but it passes through a microscopic area, your total flux (ΦB) will still be tiny. Conversely, the Earth's magnetic field has a very low flux density (about 50 µT), but because the planet's surface area is massive, the total flux is enormous.
Why is the cosine term necessary in the electromagnetic flux formula?
The cosine term accounts for the 3D geometry of how the field intersects the surface. Magnetic flux is technically a dot product of two vectors: the magnetic field vector and the area normal vector (a line pointing perfectly straight out of the surface). If the field lines run perfectly parallel to the surface (skimming across it), they do not "pierce" the surface, meaning zero flux links the coil. Mathematically, the angle between the field and the normal vector is 90°, and cos(90°) = 0. The cosine term scales the maximum possible flux down based on how "head-on" the field strikes the coil.






