Comparator Calculator

V
V
V
Threshold
2.500V
Simple Comparator+Vref2.50VVinVout0.0VVth = 2.50V
2.25V
2.75V2.500V
Show formulas

Simple Comparator: Vin(+)V_{in} \to (+), Vref()V_{ref} \to (-), no feedback

Vout={VDDif Vin>VrefVSSif Vin<VrefV_{out} = \begin{cases} V_{DD} & \text{if } V_{in} > V_{ref} \\ V_{SS} & \text{if } V_{in} < V_{ref} \end{cases}