Quick Answer

The five types of proximity sensors are inductive, capacitive, photoelectric, ultrasonic and magnetic. Use an inductive sensor for metal targets at a few millimetres, a capacitive sensor for non-metal targets or level through a plastic wall, a photoelectric sensor for longer distances, an ultrasonic sensor for transparent or liquid surfaces, and a magnetic sensor when a magnet can be fitted to the moving part.

New to the term? Start with what a proximity sensor is and how it works, including Sn vs Sa and the key specifications to check.

What are the five types of proximity sensors?

Proximity sensors are grouped by the physical effect they use to notice a target. The international standard for proximity switches, IEC 60947-5-2 ↗, applies to the same five families: inductive and capacitive switches that sense metallic and non-metallic objects, ultrasonic switches that sense sound-reflecting targets, photoelectric switches that sense objects optically, and magnetic switches that sense through a magnetic field without moving mechanical parts.

TypeSensing principleDetectsTypical distanceMain limits
InductiveHigh-frequency magnetic field; eddy currents in the target damp the oscillatorMetals only (steel best; aluminium, copper, brass at shorter range)1–50 mm rated Sn (SGI-GP, 6.5 mm to M30)Short range; non-ferrous metals reduce distance
CapacitiveElectric field; the target changes the capacitance at the sensing faceMetals and non-metals: plastic, glass, wood, liquids, powders, granulesAdjustable 1–6 mm (M12), 2–15 mm (M18), 2–30 mm (M30) on SGC-HTSensitive to moisture, build-up and the target's dielectric constant
UltrasonicSound pulse; distance from the echo time of flightSound-reflecting targets: liquids, transparent objects, bulk solidsLonger than inductive or capacitive; set by the transducer (per datasheet)Dead zone close to the face; foam and soft materials absorb sound
MagneticReed contact or Hall/magnetoresistive element switched by a magnetA permanent magnet fixed to the target (e.g. a cylinder piston)Set by magnet strength; can sense through non-ferrous wallsNeeds a magnet on the target; stray magnetic fields interfere

Distances for the inductive, capacitive and photoelectric rows are rated values from the SEGMENsensor inductive proximity sensor, capacitive proximity sensor and photoelectric sensor pages. Ultrasonic and magnetic ranges depend on the transducer and the magnet, so take them from the datasheet of the device you choose. When the choice is between a magnet on the target and bare-metal sensing, see magnetic vs inductive proximity sensors.

How does each type of proximity sensor work?

Inductive proximity sensors

An oscillator drives a coil on a ferrite core and creates an alternating magnetic field in front of the sensing face. A metal target entering the field carries eddy currents that draw energy from it; when the oscillation amplitude falls below a threshold, the output switches. Because only conductive material carries eddy currents, plastic, wood and liquid are ignored — useful when metal parts must be detected through a plastic guard or among non-metal products. The four internal stages, the skin-depth formula and hysteresis are explained in how an inductive proximity sensor works.

Capacitive proximity sensors

The sensing face is one plate of an open capacitor. Any material with a dielectric constant higher than air, or any conductive object, changes the capacitance and switches the output. Sensitivity is set with a potentiometer, so a capacitive sensor can see granules in a hopper or liquid through a plastic tank wall while ignoring the wall itself. Principle and range are compared in detail in inductive vs capacitive proximity sensors.

Photoelectric proximity sensors

An emitter sends light and a receiver measures how much arrives. In through-beam mode the target interrupts a beam between two separate units; in retro-reflective mode it interrupts the beam returning from a reflector; in diffuse mode light scattered from the target itself switches the output; a slot (fork) sensor holds emitter and receiver in one rigid body across a fixed gap.

Ultrasonic proximity sensors

A transducer sends a short sound pulse and times the echo. Distance follows from d = c × t ÷ 2, where c is the speed of sound in air and t the round-trip time. Because c changes with air temperature, ultrasonic sensors usually compensate for it. Colour and transparency do not matter, which is why ultrasonic sensing suits clear bottles, liquid surfaces and bulk material.

Magnetic proximity sensors

A reed contact, Hall element or magnetoresistive element changes state when a permanent magnet approaches. The magnet is part of the target — for example the piston magnet in a pneumatic cylinder — so the sensor can work through aluminium or stainless walls that would block an inductive field.

Which type of proximity sensor should I use?

Start from the target material, then the distance, then the environment at the mounting point. The flow below covers most machine-building and process cases.

Decision flow: choosing a proximity sensor type Question one: can a magnet be fixed to the moving part? If yes, a magnetic sensor. If no, question two: is the target metal and within about 50 millimetres? If yes, an inductive sensor, with high-pressure, high-temperature or weld-field immune variants chosen by the environment. If no, question three: is the target non-metal within about 30 millimetres, or must it be sensed through a plastic or glass wall? If yes, a capacitive sensor. If no, question four: is the target transparent, a liquid surface, or in heavy dust or mist? If yes, an ultrasonic sensor. Otherwise a photoelectric sensor: slot, diffuse, retro-reflective or through-beam up to 40 metres. 1. Can a magnet be fixed to the moving part? Yes Magnetic sensor reed / Hall, senses the magnet No 2. Is the target metal and within about 50 mm? Yes Inductive sensor pressure / heat / weld variants No 3. Non-metal within ~30 mm, or sensed through a plastic wall? Yes Capacitive sensor adjustable sensitivity No — longer distance 4. Transparent target, liquid surface, heavy dust or mist? Yes Ultrasonic sensor echo time, colour-blind No → Photoelectric sensor slot 5–50 mm · diffuse to 6 m · retro-reflective to 30 m · through-beam to 40 m
Illustration: four questions that narrow the choice to one proximity sensor type. Distances are SEGMENsensor rated values.
  1. Metal parts on machines (end of stroke, gear teeth, cam position, part present): inductive. It ignores oil, coolant and most dirt, and has no optics to clean.
  2. Bulk material, liquids and non-metal parts: capacitive at short range, ultrasonic or photoelectric at longer range.
  3. Conveyors, packaging and counting: photoelectric — choose the mode by distance and whether a reflector or receiver can be mounted opposite.
  4. Cylinder piston position through the barrel: magnetic, with a magnet on the piston.

How far can a proximity sensor detect, and what reduces the distance?

Each type has a different range, and the datasheet value is a laboratory figure. For inductive sensors IEC 60947-5-2 defines the rated distance Sn on a mild steel (Fe 360) reference target, and an assured operating distance Sa of no more than 81% of Sn. Other metals switch closer, by a reduction factor. All results below are calculated values.

Worked example: M18 flush inductive sensor, Sn = 8 mm

Target metalTypical reduction factorFormulaAssured distance (calculated)
Mild steel Fe 3601.000.81 × 8 × 1.00≤ 6.5 mm
Stainless steel 3040.650.81 × 8 × 0.65≤ 4.2 mm
Aluminium0.450.81 × 8 × 0.45≤ 2.9 mm
Copper0.300.81 × 8 × 0.30≤ 1.9 mm

If the aluminium target sits 4 mm from the face, this sensor is not enough: the minimum rated distance is Sn ≥ 4 ÷ (0.81 × 0.45) = 11.0 mm, so a non-flush M18 (rated 16 mm) or the all-metal SGI-FM series made for non-ferrous targets is the better choice. Sa, Sr and Su, mounting clearances and temperature effects are explained in proximity sensor sensing distance.

For the other types, the main range killers are: moisture and build-up on the face (capacitive), dirty lenses and dark targets (photoelectric diffuse), soft or angled surfaces that scatter the echo (ultrasonic), and a weak or misaligned magnet (magnetic).

What other ways are proximity sensors classified?

Within one sensing type, a part number is fixed by housing, mounting, output and environment. These choices often matter more in practice than the type itself.

ClassificationOptionsWhy it matters
HousingCylindrical 6.5 mm, M8, M12, M18, M30; rectangular; slotLarger faces give longer sensing distance
MountingFlush (shielded) or non-flush (unshielded)Flush can be embedded in metal; non-flush reaches further but needs a metal-free zone (flush vs non-flush explained)
Switching outputNPN or PNP 3-wire, DC 2-wire, AC 2-wire, AC/DC; NO, NC or NO+NCMust match the PLC input — see NPN vs PNP wiring and proximity sensor symbols
Analog output4–20 mA, 0–10 V or both (SGI-AO, up to 10 mm range)Measures gap or runout instead of switching — see 4–20 mA vs 0–10 V
EnvironmentHigh pressure (500 bar M8/M12, up to 1000 bar M18), high temperature (+150 °C inductive, +200 °C capacitive split type), weld field (150 mT)A general-purpose sensor fails early at these mounting points

Pressure-rated and hot-oil applications are covered in hydraulic cylinder proximity sensors and the high-temperature proximity sensor selection guide. Protection ratings such as IP67 and IP69K are defined by IEC 60529 ↗; the test behind each code is compared in IP67 vs IP68 vs IP69K.

SEGMENsensor proximity sensor types: key data

SeriesTypeKey data
SGI-GPInductive, general purpose6.5 mm to M30, flush or non-flush; Sn 1–50 mm; NPN/PNP 3-wire, DC 2-wire, AC 2-wire, AC/DC; 4,060 part numbers
SGI-FMInductive, all-metalFor aluminium, stainless steel and copper targets; 469 part numbers
SGC-HTCapacitive, high temperature+120 / +150 / +180 °C, M30 split type to +200 °C; adjustable up to 30 mm; PTFE head; IP67
SGI-HPInductive, high pressure500 bar (M8/M12), M18 hydraulic-cylinder type 250–1000 bar; ceramic face; IP67 / IP69K
SGI-HTInductive, high temperature+120 °C or +150 °C; sensing 1–25 mm; 155 part numbers
SGI-WRInductive, weld-field immuneConstant and alternating fields up to 150 mT; PTFE-coated brass; M8 to M30
SGI-AOInductive, analog4–20 mA / 0–10 V; range up to 10 mm (M12); repeatability 0.02 mm
SamplesSamples 1–5 pcs for qualification; volume per project

All series and environments are compared on the special-environment proximity sensors page.

Which SEGMENsensor model fits each proximity sensor type?

Each type in this guide that SEGMENsensor builds maps to a published part number: SGI for inductive and SGC for capacitive models. The examples below are PNP versions taken from the part-number tables on each product page; NPN, NC and cable or connector variants are listed beside them.

Type and case in this guideSEGMENsensor exampleSensing distanceRating and supplyProduct page
Inductive — steel target on a machine, sensor embedded in metalSGI-GP18S-080PA-Q4 (M18 flush, M12 connector)8 mm10–30 V DCM18 flush SGI-GP
Inductive — steel target that needs more stand-offSGI-GP18U-160PA-Q4 (M18 non-flush)16 mm10–30 V DCM18 non-flush SGI-GP
Inductive — aluminium, stainless or copper target (reduction-factor example above)SGI-FM18S-050PA-Q4 (M18 flush, all-metal)5 mm, all metals10–30 V DC, stainless steel housingM18 flush SGI-FM
Inductive — sensing face in pressurised hydraulic oilSGI-HP12S-015PA-Q4-L69 (M12)1.5 mm500 bar, 10–30 V DCSGI-HP high-pressure
Inductive — hot machine zoneSGI-HT18S-050PA-C2-T150 (M18 flush, 2 m cable)5 mm−25 to +150 °C, 10–30 V DCSGI-HT high-temperature
Inductive — next to resistance or MIG/MAG weldingSGI-WR18U-080PA-C2 (M18, 2 m cable)8 mmFields up to 150 mT, IP67, 10–30 V DCSGI-WR weld-field immune
Inductive — measuring a gap or runout instead of switchingSGI-AO12S-030I-Q4 (M12 flush, analog)0.1–3.0 mm measuring range4–20 mA output, 1500 HzSGI-AO analog
Capacitive — plastic, glass, liquid or granules at short rangeSGC-HT18S-A080PA-C2-T120 (M18 flush)2–8 mm, adjustable−25 to +120 °C, 10–30 V DCSGC-HT capacitive
Capacitive — bulk material or level through a plastic wall, longer reachSGC-HT30U-A300PA-C2-T120 (M30 non-flush)2–30 mm, adjustable−25 to +120 °C, 10–30 V DCSGC-HT capacitive
Photoelectric, retro-reflective — reflector opposite the sensorSEGB18-L3000P-SIEU4 (M18)3 m10–30 V DC, M12 connectorRetro-reflective photoelectric
Photoelectric, polarised retro-reflective — clear PET bottlesSEGB18-L1000P-SREU4/F (M18)1 mRed light with polarising filter, 10–30 V DCPhotoelectric sensors
Photoelectric, through-beam — emitter and receiver facing each otherSEGB12-T5200P-DI3U2 (M12)5.2 m (catalogue up to 40 m)10–30 V DC, 2 m cableThrough-beam photoelectric

The ultrasonic and magnetic types in this guide have no SEGMENsensor proximity-switch part number on the product pages, so take their data from the datasheet of the device you choose. To get a quotation for the types above, send the target material, sensing distance, housing size and flush or non-flush mounting, NPN or PNP and NO or NC logic, cable or connector, supply voltage, temperature and pressure at the sensor, application and estimated annual volume. Qualification samples of 1–5 pcs ship in 5–7 working days; volume lead time and MOQ are confirmed with the quotation.

Not sure which proximity sensor type fits your machine?

Send the target material, sensing distance, mounting (flush or not), the input on your controller and the conditions at the sensor (pressure, temperature, welding). Our engineers will propose the type and part number. Qualification samples 1–5 pcs in 5–7 working days · FOB China · reply within 24 hours.

Frequently Asked Questions

In industrial automation the three most used are inductive (metal targets), capacitive (metal and non-metal targets) and photoelectric (light beam, longest range). Ultrasonic and magnetic sensors complete the five types covered by IEC 60947-5-2.

A capacitive sensor at short range, or a photoelectric or ultrasonic sensor at longer range. An inductive sensor cannot detect non-metals. For clear plastic bottles use an ultrasonic sensor or a retro-reflective photoelectric sensor with a polarising filter.

Yes. IEC 60947-5-2 treats photoelectric switches as proximity switches because they detect an object without contact. In everyday use, "proximity sensor" often means an inductive sensor, so state the type when you order.

It is the output stage, not the sensing type. A PNP output switches the load to +V (sourcing); an NPN output switches it to 0 V (sinking). Use PNP for sinking PLC inputs and NPN for sourcing inputs. Inductive, capacitive and photoelectric sensors are all offered in both.

A pressure-rated inductive sensor whose sensing face sits in the oil and detects the steel piston or cushion spear. SEGMENsensor SGI-HP models are rated 500 bar in M8 and M12, and the M18 hydraulic-cylinder type is offered in grades up to 1000 bar.

For steel targets start from the SGI-GP inductive series, for example SGI-GP18S-080PA-Q4 with 8 mm sensing distance. Use SGI-FM for aluminium or copper targets and SGC-HT capacitive models (2–30 mm adjustable) for plastics, liquids and granules. For a quote, send target material, distance, mounting, output logic and annual volume.

Last updated: 19 November 2026 · SEGMENsensor Engineering Team. First published 20 October 2026.