Inductive proximity sensors in M8, M12, M18, and M30 threaded stainless or nickel-plated brass bodies still account for the majority of discrete position-detection purchases on factory floors, with typical sensing distances from 1 mm to 30 mm depending on barrel diameter and target material [S1].
Selection is driven by four engineering decisions: target material (ferrous, non-ferrous, or non-metallic), required sensing distance, output interface (PNP/NPN, NO/NC, analog or IO-Link), and environmental rating (IP67 vs IP69K for washdown) [S3].
Inductive sensors: the metallic-target workhorse
Inductive proximity sensors detect only metallic targets by sensing eddy-current losses in an LC oscillator field, with the rated sensing distance specified on a standard 1 mm-thick mild-steel square target [S3]. The correction factor for stainless steel (Cr/Ni) typically falls to 0.5–0.8× of the rated range, and for aluminum to roughly 0.35–0.45×, which is why range is de-rated in non-ferrous applications [S3].
For a proximity sensor picking up a steel actuator, the 3-wire DC PNP NO output remains the most common factory wiring, with 10–30 V DC supply, 100–200 mA load current, and a 3 kHz switching frequency typical for M12 units [S1]. Embedding the proximity-probe variant as a precision-position reference rather than a presence detector is the practical use of analog-output inductive types that output 0–10 V or 4–20 mA proportional to target distance.
Capacitive sensors: for non-metallic and liquid targets
Capacitive sensors detect both metallic and non-metallic targets by sensing changes in the electrode-to-target capacitance, making them the only practical proximity option for plastic, glass, paper, wood, and liquid-level sensing through a non-metallic container wall [S3].
Sensing range is typically 1–25 mm depending on barrel size and target dielectric constant, with a sensitivity potentiometer on most cylindrical bodies to tune the trigger threshold. The trade-off is susceptibility to humidity, condensation, and material buildup on the active face, which is why capacitive units in washdown or outdoor service are usually specified at IP67 minimum and periodically re-calibrated in the field.
Magnetic and reed sensors: pneumatic-cylinder feedback and safety

Magnetic proximity sensors use a Hall-effect or reed-switch element to detect the piston magnet through the aluminum wall of a pneumatic cylinder, with typical switching distances of 8–10 mm through 1 mm of aluminum wall and T-slot or C-slot mount forms that clip directly into the cylinder extrusion [S1]. Reed-switch variants are contactless, bounce-free, and rated for billions of cycles, which is why they dominate cylinder-end-position feedback in packaging machinery.
Hall-effect magnetic sensors add solid-state reliability and a wider supply range (typically 10–30 V DC) at the cost of requiring a polarized magnet. For explosive atmospheres, magnet-operated reed switches with intrinsically safe (IS) interfaces or non-incendive ratings remain a common spec for Zone 1 / Zone 2 hazardous-area pneumatic position feedback, separate from the inductive sensor family.
Output topology: PNP, NPN, push-pull, and IO-Link
The classic 3-wire DC output is either PNP (sourcing, switching the positive rail to the load) or NPN (sinking, switching the load to ground), with NO (normally open) and NC (normally closed) contact forms defining the resting state [S3]. PNP dominates European and most Asian PLC wiring because modern PLC inputs source current; NPN persists in legacy Japanese equipment and some CNC retrofits.
Push-pull outputs combine PNP and NNP transistors on the same pin, allowing a single part number to wire into either input type, which simplifies spares holding. IO-Link is the now-default digital upgrade on new M12 proximity sensors, carrying process data, switching diagnostics, and parameter write-back over a standard 3-wire cable, with cycle counters and temperature flags that turn the device into a maintenance data source rather than a passive switch [S1].

[S3]
For a steel indexing pin on a rotary table, an inductive M12 with 4 mm rated range is the lowest-risk, lowest-cost pick. For a water-level sense through a 2 mm PP tank wall, capacitive is the only realistic family. For a pneumatic cylinder end-of-stroke, a T-slot magnetic sensor is the install-fastest choice, with a 25 mm M12 inductive alternative when the actuator is steel and the target surface is exposed.
Selection rules: who needs what, and what to avoid
Choosing the wrong family is the most expensive mistake: an inductive sensor on a stainless or aluminum target loses 30–65% of its range, so a 4 mm unit may deliver only 1.5–2.5 mm in service and miss the trigger entirely [S3].
For sub-millimeter repeatability, the practical move is to an analog inductive displacement sensor, not a discrete switch, since the discrete unit has a single switching threshold and no proportional output. Conversely, do not specify a displacement sensor where a $25 inductive switch is sufficient, since the analog version costs 5–10× more and requires analog input module wiring.
Mounting, shielding, and standards to apply

Shielded (flush-mountable) inductive sensors can be installed in metal up to the front face, with no surrounding free zone; non-shielded (non-flush) units require a free metal-free zone equal to roughly 2–3× the barrel diameter around the active face, and deliver about 1.5–2× the rated range as a trade-off [S3].
For hazardous-area service, the governing references are the IEC 60079 series for general Ex protection philosophy, with ATEX equipment groups (such as category 2 / category 3 for Zones 1 and 2) on the European side and IECEx on the global side. For washdown food and pharma lines, IP69K and 316L stainless housings with ECOLAB / FDA-grade materials are the practical spec gate. For marine and offshore, a third-party salt-spray and vibration test report is a higher-value qualifier than a brand name.
Practical shortlist logic
Start with target material, then environment, then output. If the target is steel or stainless and the environment is dry, a flush-mount M12 inductive PNP NO with 4 mm range and IP67 is the default shortlist, with M18 and M30 as the step-up for longer range. If the target is a pneumatic cylinder, pick a T-slot magnetic sensor first, with inductive as a fallback when the cylinder body is non-ferrous or the magnet is too small to read reliably. [S2]
When the application is reference-position or dimensional measurement, an analog linear-guide-mounted or crossed-roller guide-backed displacement sensor family is the right escalation, not a discrete switch. For further reading on selection-map style spec work, see this Screw Conveyor vs Conveyor Chain spec map for the same comparison-first format applied to materials handling, and this Thermal Imager Buying Guide 2026 for parallel duty-class selection rules in another sensor family.