Inputs Count = (Vin / Vref) x (2^bits - 1) Input Voltage Vin (V) Reference Voltage Vref (V) Resolution (bits) Calculate Vin should be between 0 and Vref for ideal ADC conversion.