Logic Voltage Levels: TTL, CMOS and LVCMOS Thresholds

Look up the thresholds of the output and input families you want to join, then check the grid to see whether they can be wired directly. When in doubt, compare VOH with VIH and VOL with VIL yourself.

Input and output thresholds

An input reads low below VIL and high above VIH; an output guarantees at most VOL when low and at least VOH when high.

FamilyVCC (V)VIL max (V)VIH min (V)VOL max (V)VOH min (V)NML (V)NMH (V)
TTL 5 V 5 0.8 2 0.4 2.4 0.4 0.4
CMOS HC 5 V 5 1.5 3.5 0.1 4.9 1.4 1.4
HCT 5 V 5 0.8 2 0.1 4.9 0.7 2.9
LVTTL / LVCMOS 3.3 V 3.3 0.8 2 0.4 2.4 0.4 0.4
LVCMOS 2.5 V 2.5 0.7 1.7 0.4 2 0.3 0.3
LVCMOS 1.8 V 1.8 0.63 1.17 0.45 1.35 0.18 0.18
LVCMOS 1.2 V 1.2 0.42 0.78 0.3 0.9 0.12 0.12

CMOS outputs are given at light load (about 20 µA); under heavy load VOH falls and VOL rises. HC uses 0.3 and 0.7 × VCC, 1.8 V and 1.2 V use 0.35 and 0.65 × VCC. Always check the datasheet of the actual part.

Can output X drive input Y?

Yes means VOH and VOL clear the input thresholds with positive margin and the output does not exceed the input supply. Shifter means the levels do not line up. No means the output swing is above the input supply and can damage it.

Output ↓ / Input →TTL 5 VCMOS HC 5 VHCT 5 VLVTTL / LVCMOS 3.3 VLVCMOS 2.5 VLVCMOS 1.8 VLVCMOS 1.2 V
TTL 5 V Yes Shifter Yes No No No No
CMOS HC 5 V Yes Yes Yes No No No No
HCT 5 V Yes Yes Yes No No No No
LVTTL / LVCMOS 3.3 V Yes Shifter Yes Yes No No No
LVCMOS 2.5 V Shifter Shifter Shifter Shifter Yes No No
LVCMOS 1.8 V Shifter Shifter Shifter Shifter Shifter Yes No
LVCMOS 1.2 V Shifter Shifter Shifter Shifter Shifter Shifter Yes

Assumes inputs that are not 5 V tolerant. Many 3.3 V parts accept 5 V on their pins, which turns a No into a Yes: check the absolute maximum input voltage in the datasheet.

Voltage levels of common buses

BusLogic 1 / idleLogic 0 / activeNotes
UART (TTL) Idle high = VCC (3.3 V or 5 V) 0 V Same thresholds as the logic family of the chip; the line idles high and a start bit pulls it low.
RS-232 −3 to −15 V (mark, drivers send −5 to −15 V) +3 to +15 V (space, drivers send +5 to +15 V) Inverted logic. Receivers treat −3 to +3 V as undefined. ±12 V is typical; MAX232-type chips make about ±9 V from 5 V.
RS-485 A − B ≤ −0.2 V (driver at least 1.5 V into 54 Ω) A − B ≥ +0.2 V (driver at least 1.5 V into 54 Ω) Differential. Receiver threshold ±200 mV, common-mode range −7 to +12 V.
I²C Pulled up to VDD (1.8, 3.3 or 5 V) VOL max 0.4 V at 3 mA Open-drain. Inputs read low below 0.3 × VDD and high above 0.7 × VDD.
CAN (ISO 11898-2) Recessive: CANH = CANL ≈ 2.5 V (differential about 0 V) Dominant: CANH ≈ 3.5 V, CANL ≈ 1.5 V (differential about 2 V) Receivers read recessive below 0.5 V differential and dominant above 0.9 V.

Frequently asked questions

Can a 3.3 V output drive a 5 V input?

It depends on the input family. A 3.3 V output guarantees at least 2.4 V when high, which is enough for TTL and HCT inputs (2.0 V) but not for 5 V CMOS such as 74HC, which needs 3.5 V. Use an HCT part or a level shifter.

Can a 5 V output drive a 3.3 V input?

Only if the 3.3 V input is rated 5 V tolerant. Otherwise the high level exceeds the supply of the receiving chip and can damage it. Use a resistor divider on slow signals or a level shifter.

What is a noise margin?

It is the spare voltage between what a driver guarantees and what a receiver needs. NMH = VOH − VIH for the high level and NML = VIL − VOL for the low level. The larger both are, the more noise the signal survives.