Blog · 2026-11-10
How is vehicle speed calculated?
Stefan Bogdanescu
Founder & Senior Architect
How is vehicle speed calculated?
When a control arm shears off and a CV joint disengages, the engine can still spin freely while the wheels remain stationary. In that specific mechanical failure scenario, you might notice the speedometer needle climbing in lockstep with the tachometer. This phenomenon often leads to the assumption that modern vehicles derive their speed readings directly from engine RPM, multiplied by the current gear ratio and the final drive ratio. While this logic holds true for older analog instruments or specific diagnostic modes, relying on it as a general rule is a dangerous misconception for engineers and developers alike.
In almost every modern FWD vehicle with a front-engine layout, the speedometer does not calculate speed based on engine output. Instead, it relies on direct physical measurement of wheel rotation. The critical component here is the Vehicle Speed Sensor (VSS). In many architectures, this sensor is integrated into the ABS/ESP ring tone gear located at the transmission output shaft or, in some designs, directly mounted to a wheel hub.
The sensor generates a digital pulse train where the frequency correlates linearly to rotational speed. The Engine Control Unit (ECU) receives these pulses and converts them into kilometers per hour or miles per hour using simple kinematic formulas:
Speed = (Pulse Frequency / Gear Ratio) * Constant
Because the measurement is taken after the transmission's final drive, it bypasses the internal gear ratios of the gearbox entirely. This design ensures that if you shift from 3rd to 4th gear while maintaining constant velocity, the speedometer reading remains unchanged because the wheel rotation rate hasn't altered. If the system were truly RPM-dependent, shifting gears would cause a visible jump or drop in the displayed speed even without touching the brakes.
The scenario where the speedometer appears to track RPM only occurs when the mechanical link between the engine and wheels is broken. In your specific case, with the CV joint detached and the car locked in gear, the transmission output shaft spins freely inside the housing. If the VSS is mounted at the transmission output rather than the wheel hub, it will detect this phantom rotation. This effectively turns the speedometer into a direct RPM readout scaled by the final drive ratio, creating the illusion of motion. However, once you engage neutral or shift out of gear, that input stops, and the needle drops to zero.
For developers working on embedded systems or telematics, understanding this distinction is vital for data integrity. If your application assumes speed is derived from engine parameters, you risk introducing significant errors when the drivetrain is disconnected, stalled, or slipping. You must always prioritize wheel-based telemetry over engine-derived metrics for safety-critical functions like traction control or adaptive cruise control.
There are exceptions in hybrid and electric vehicles where regenerative braking logic might influence speed calculations differently, but even there, wheel encoders remain the primary truth source. The trade-off of using wheel sensors is robustness; they provide absolute ground truth regardless of engine health. A struggling engine losing torque over ten years will not skew a wheel-based speed reading, whereas an RPM-based calculation would inherently degrade in accuracy as power curves shift.
When implementing vehicle diagnostics, always verify the source of your speed data. Check if the VSS is active by monitoring the raw frequency from the sensor. If you see a high-frequency pulse train with no corresponding wheel movement (like in a jack-up test or a broken axle scenario), flag that data as invalid immediately. This prevents false positives in navigation systems and ensures that driver assistance features do not react to ghost speeds generated by a disconnected drivetrain.