There's a magnet attached to a spoke, a sensor attached to the fork (in line with the magnet), the sensor senses each time the magnet passes by (one wheel revolution) and sends a signal to the receiver (mounted on or near the handlebars). The "receiver" is also the brains of the unit, you enter wheel size info into it and it computes speed, distance, etc. based on that-