LogoMagnets For Sensors
Start inquiry
LogoMagnets For Sensors
Tolerance Stack-Up in Sensor Magnet Assemblies: How to Protect Your Sensing Margin
2026/06/16

Tolerance Stack-Up in Sensor Magnet Assemblies: How to Protect Your Sensing Margin

A practical guide to mechanical and magnetic tolerance stack-up in sensor magnet assemblies, covering air gap variation, field strength margin, and how to prevent false triggers or missed events in production.

Decision brief

Who this is for

Mechanical engineers, sensor integration engineers, and quality teams designing assemblies that include a permanent magnet and a magnetic sensor.

What you can decide

  • How to calculate worst-case air gap variation from component tolerances.
  • Whether the magnetic field margin survives the full tolerance stack.
  • When to tighten magnet tolerance vs. housing tolerance vs. sensor placement.

Evidence included

  • Air gap stack-up calculation example with real dimensions.
  • Field margin analysis at nominal vs. worst-case gap.
  • Tolerance contributor ranking table.
  • Mitigation strategy decision matrix.

Practical boundaries

  • This guide uses simplified 1D stack-up models. Complex 3D assemblies with angular misalignment or thermal expansion require finite element analysis.
  • Field estimates are based on dipole approximation and should be validated with gaussmeter measurement on the actual assembly.

The most common sensor magnet failure I see is not a bad magnet — it is a good magnet in an assembly where the air gap varies more than the engineer expected. The magnet meets spec, the sensor meets spec, but when production tolerance, adhesive variation, and housing dimension spread combine, some units work and some do not.

This guide explains how to calculate and control tolerance stack-up in sensor magnet assemblies. It is written for engineers designing Hall effect sensor assemblies, reed switch modules, magnetic encoder systems, and any application where a permanent magnet must reliably trigger a sensor across a mechanical gap.

What Is Tolerance Stack-Up?

Every component between the magnet and the sensor has a dimensional tolerance. The air gap — the distance from the magnet surface to the sensor sensitive area — is not a single number. It is a range defined by the combined tolerances of every part in the path.

A typical sensor magnet assembly has these contributors:

#ComponentNominalToleranceContribution to gap variation
1Magnet thickness3.00 mm±0.05 mmThinner magnet = larger gap
2Adhesive bond line0.10 mm±0.05 mmThicker adhesive = magnet sits higher, may help or hurt
3Housing wall thickness1.50 mm±0.10 mmThicker wall = larger gap
4PCB thickness1.60 mm±0.10 mmThicker PCB = sensor sits further from housing face
5Sensor package stand-off0.50 mm±0.05 mmVaries by IC package and solder height
6Sensor die position in package—±0.10 mmDefined by sensor manufacturer; not controllable

Nominal air gap: 1.50 + 0.10 + 0.50 = 2.10 mm (housing wall + adhesive offset + sensor stand-off)

This is the distance from the magnet face to the sensor die, assuming the magnet fills its pocket completely.

Worst-Case Analysis

In worst-case analysis, assume every tolerance goes in the direction that maximizes the air gap:

ContributorWorst-case addition to gap
Magnet 0.05 mm thinner+0.05 mm
Adhesive 0.05 mm thicker (pushes magnet away from sensor)+0.05 mm
Housing wall 0.10 mm thicker+0.10 mm
PCB 0.10 mm thicker+0.10 mm
Sensor stand-off 0.05 mm larger+0.05 mm
Sensor die offset 0.10 mm deeper+0.10 mm
Total worst-case gap increase+0.45 mm

Worst-case maximum gap: 2.10 + 0.45 = 2.55 mm

That is a 21% increase over nominal. For a magnet producing 30 mT at 2.10 mm, the field at 2.55 mm drops to roughly 22–24 mT (depending on magnet geometry). If the sensor operates at 15 mT, the margin just went from 2:1 to about 1.5:1 — before temperature derating.

RSS (Statistical) Analysis

Root Sum Square analysis assumes tolerances follow a normal distribution and are independent. The statistical gap increase is:

RSS gap increase = √(0.05² + 0.05² + 0.10² + 0.10² + 0.05² + 0.10²) = √(0.0025 + 0.0025 + 0.01 + 0.01 + 0.0025 + 0.01) = √0.0375 = 0.194 mm

RSS maximum gap (3σ): 2.10 + 0.194 = 2.29 mm

RSS gives a tighter bound than worst-case, but it assumes all contributors are statistically independent and normally distributed. In practice, some contributors (like adhesive thickness) may not be normally distributed, so RSS can be optimistic.

MethodMax gapGap increaseUse when
Worst-case2.55 mm+0.45 mm (21%)Safety-critical, low volume, no SPC
RSS (3σ)2.29 mm+0.19 mm (9%)High volume, SPC in place, rejects acceptable

Field Margin Analysis

The real question is not "how much does the gap vary?" but "does the sensor still trigger at worst-case gap?" Here is how to check:

Step 1: Measure or calculate field at worst-case gap

For a small cylindrical NdFeB magnet (3 mm diameter × 3 mm thick, N42 grade), approximate surface field is about 350 mT. At distance d from the surface, the on-axis field for a short cylinder drops roughly as:

B(d) ≈ Br/2 × [d / √(R² + d²) − (d+L) / √(R² + (d+L)²)]

Where R = radius, L = length, Br = remanence.

For our example:

  • At 2.10 mm (nominal): ~28 mT
  • At 2.55 mm (worst-case): ~21 mT
  • At 2.29 mm (RSS): ~24 mT

Step 2: Compare against sensor threshold with temperature derating

If the Hall sensor operates at 10 mT (BOP) and the magnet loses 12% of its field at 85°C:

  • Field at worst-case gap, hot: 21 × 0.88 = 18.5 mT
  • Margin over BOP: 18.5 / 10 = 1.85x ✓ (acceptable for most industrial applications)

If the Hall sensor BOP is 15 mT:

  • Field at worst-case gap, hot: 21 × 0.88 = 18.5 mT
  • Margin over BOP: 18.5 / 15 = 1.23x ⚠️ (too thin — risk of missed triggers)

Which Tolerances to Tighten First

Not all tolerances contribute equally. Rank them by impact:

ContributorToleranceImpact on gapCost to tightenTighten first?
Housing wall thickness±0.10 mmHighMedium (mold quality)Yes — highest impact, moderate cost
PCB thickness±0.10 mmHighLow (specify tighter PCB)Yes — cheap fix
Sensor die position±0.10 mmHighCannot controlNo — design around it
Magnet thickness±0.05 mmMediumMedium (grinding cost)Maybe — depends on volume
Adhesive bond line±0.05 mmMediumHigh (dispensing control)No — hard to control
Sensor stand-off±0.05 mmLowCannot controlNo — use sensor datasheet value

Key insight: The two largest contributors (housing wall and PCB) are also the cheapest to tighten. Specifying ±0.05 mm housing tolerance and ±0.05 mm PCB thickness cuts the worst-case stack from ±0.45 mm to ±0.30 mm — a 33% reduction without touching the magnet.

Practical Mitigation Strategies

StrategyEffectWhen to use
Reduce component count in gap pathEliminates tolerance contributors entirelyRedesign stage — most effective
Use a datum surfaceControls magnet-to-sensor distance directlyWhen housing design allows a shared reference
Increase magnet volumeHigher field compensates for larger gapWhen space allows and magnet cost is acceptable
Use higher grade (N42 → N52)~15% more fieldWhen temperature allows (N52 max 80°C)
Tighten housing tolerance±0.10 → ±0.05 mmWhen mold quality supports it
Use press-fit instead of adhesiveEliminates bond-line variationWhen magnet geometry and housing material allow
Add magnetic circuit (steel flux concentrator)Increases field at sensor through flux focusingWhen assembly complexity and cost are acceptable

Assembly Design Rules of Thumb

  1. Target 2x field margin minimum at worst-case gap and maximum operating temperature. For automotive and safety applications, target 3x.

  2. Measure the actual assembly, not just the magnet. A magnet that passes incoming inspection can still fail in the assembly if the gap is larger than expected.

  3. Control adhesive thickness if bonding is used. A 0.1 mm adhesive variation on a 2 mm gap is a 5% field change — significant for tight-margin designs.

  4. Ask the sensor manufacturer for die position tolerance. This is often the largest contributor that engineers forget because it is inside the IC package.

  5. Test at temperature extremes. NdFeB loses ~0.11%/°C. At 125°C above room temperature, you lose ~14% of the field — on top of the gap variation.

  6. Document the stack-up in the magnet drawing. When you send us an RFQ, include the nominal gap, worst-case gap, and minimum field requirement. This allows us to recommend the right grade, geometry, and coating without guessing.

What to Include in Your RFQ

When you contact our engineering team for a sensor magnet quotation, the following stack-up information helps us recommend the right solution:

  • Nominal air gap (magnet surface to sensor die)
  • Stack-up tolerance (or the component dimensions so we can calculate it)
  • Sensor model and operate/release thresholds
  • Operating temperature range
  • Required field margin (or we will recommend based on application class)
  • Whether you need us to supply the magnet as a bare component or as an assembly

Assemblies with controlled datum surfaces — where we press-fit or bond the magnet into a carrier with the sensor mounting reference built in — typically cut the effective gap tolerance by 40–60% compared to loose magnet + separate housing builds.

All Posts

Reviewed by

Jimmy Su logo
Jimmy Su

Categories

  • Factory Quality
  • Product Engineering
What Is Tolerance Stack-Up?Worst-Case AnalysisRSS (Statistical) AnalysisField Margin AnalysisWhich Tolerances to Tighten FirstPractical Mitigation StrategiesAssembly Design Rules of ThumbWhat to Include in Your RFQ

More Posts

Sensor Magnet Failure Modes and Incoming Inspection Plan
Factory QualityProduct Engineering

Sensor Magnet Failure Modes and Incoming Inspection Plan

A practical guide to sensor magnet failure modes, inspection gates, magnetic field checks, coating risks, packaging controls, and supplier documentation for OEM buyers.

Jimmy Su logo
Jimmy Su
2026/06/11
Section 301 Tariff on Sensor Magnets: Why Magnetic Assemblies Reduce Your Landed Cost
Buyer Guides

Section 301 Tariff on Sensor Magnets: Why Magnetic Assemblies Reduce Your Landed Cost

How 2026 US tariff changes affect sensor magnet sourcing, why magnetic assemblies face lower duty rates than bare magnets, and what procurement teams should evaluate before the next PO.

Jimmy Su logo
Jimmy Su
2026/06/16
Sensor Magnet Material Selection: NdFeB, SmCo, AlNiCo, and Ferrite Compared
Product Engineering

Sensor Magnet Material Selection: NdFeB, SmCo, AlNiCo, and Ferrite Compared

A side-by-side engineering comparison of the four permanent magnet material families used in sensor applications, covering magnetic properties, temperature limits, corrosion behavior, and cost trade-offs.

Jimmy Su logo
Jimmy Su
2026/06/16
WhatsApp
LogoMagnets For Sensors

China-based sensor magnet manufacturer. OEM customization, magnetic assemblies, quality control, and global delivery from Ganzhou and Dongguan.

Inquiry Email

[email protected]

Email app

Include drawing, dimensions, material, coating, magnetization, quantity, and delivery location.

Instant Chat

+86 18857971991

Chat on WhatsApp

Direct channel for RFQ details and engineering clarification.

Products
  • Hall Sensor Magnets
  • Multipole Ring Magnets
  • Magnetic Assemblies
Solutions
  • Position Sensing
  • Speed and RPM Sensing
  • Proximity Switching
OEM Capabilities
  • Assembly Engineering
  • Coating Control
  • OEM Supply Programs
Resources
  • Blog
  • Diametric Magnet Guide
  • About
  • Factory
  • Contact / RFQ
  • Privacy Policy
  • Cookie Policy
  • Terms of Service
© 2026 Magnets For Sensors. All Rights Reserved.