Schmitt Trigger Calculator

Calculate upper and lower thresholds (VH, VL) and hysteresis for an op-amp or comparator Schmitt trigger. Supports inverting and non-inverting topologies.

Calculator Electronics Updated Apr 18, 2026
How to Use
  1. Enter R1, R2, and supply voltages.
  2. See upper/lower thresholds and total hysteresis.
  3. Use hysteresis to clean up noisy signals or debounce switches.
Input
Ω (k, M OK)
Ω (k, M OK)
V
V
Presets
Hysteresis Curve
VH (upper)
V
VL (lower)
V
Hysteresis
V
Center
V

Show Work

Enter values.

Formulas

Upper Threshold
VH = Vout_high × R1/(R1+R2)
When output is high, this is the trip-up level.
Lower Threshold
VL = Vout_low × R1/(R1+R2)
When output is low, this is the trip-down level.
Hysteresis
Vhyst = VH − VL
Dead zone width.
Feedback Ratio
R1/(R1+R2)
Fraction of output fed back.
Tuning Hysteresis
Increase R1/R2 = more hysteresis
Or lower R2 to widen the window.
Center
(VH + VL) / 2
Midpoint of trigger window.

History of the Schmitt Trigger

Otto Schmitt invented the trigger circuit that bears his name in 1934 while still a graduate student at Washington University in St. Louis. He was trying to solve a biological-measurement problem — detecting nerve impulses in squid axons — and needed a circuit that would fire cleanly on a slow, noisy input. His solution used two vacuum tubes with cross-coupled feedback, producing the now-classic hysteresis transfer function.

Schmitt went on to a distinguished career in biophysics at Washington University and later MIT, coining the term "biomimetics" in 1957 for engineering inspired by biological systems. His eponymous trigger became a workhorse of digital electronics in the 1950s, appearing as input stages in flip-flops, pulse counters, and the SN7414 hex Schmitt inverter (1970) that made hysteretic buffering a standard TTL function.

Modern microcontrollers include Schmitt-trigger buffers on every digital input pin — without them, slow-rising signals (mechanical switches, RC-filtered inputs, charging lines) would produce multiple spurious edges as they crossed the logic threshold. The CMOS Schmitt version (CD40106, 74HC14, 74LVC14) is essentially the same hysteresis concept implemented with cross-coupled MOSFET pairs.

About This Calculator

Enter R1 (feedback), R2 (input), and the output high/low voltages. The tool computes the upper switching threshold VH = Vout_high × R1/(R1+R2), lower threshold VL = Vout_low × R1/(R1+R2), total hysteresis VH − VL, and the center voltage. The feedback ratio R1/(R1+R2) controls the hysteresis fraction of output swing.

Sizing tip: make hysteresis at least 2× your expected noise amplitude. For debouncing a mechanical switch, 0.5-1 V hysteresis is ample. For cleaning up a thermocouple-level signal (millivolts), use a proper instrumentation amp with offset-zero and then Schmitt the comparator output. Everything runs client-side; no values leave your browser.

Frequently Asked Questions

What is hysteresis?

Gap between upper (VH) and lower (VL) switching thresholds. Prevents chatter at the threshold.

How much hysteresis?

Enough to reject noise. ~2× the noise amplitude is a good starting point.

Op-amp vs. comparator?

Op-amps work but slow. Use a real comparator (LM311, LT1011) for fast, clean switching.

Common Use Cases

Switch Debouncer

Clean up mechanical switch contacts.

Zero-Cross Detector

Clean AC zero-crossing with tight hysteresis.

Light Threshold

Dusk-to-dawn switch that doesn't oscillate at twilight.

Last updated: