← All text tools

Schmitt Trigger and Comparator Hysteresis Calculator

From supply, reference and two resistors get the upper and lower switching thresholds and hysteresis of a comparator, or the resistors for wanted thresholds.

  • Free
  • No sign-up
  • Works on any device

About Schmitt Trigger and Comparator Hysteresis Calculator

A comparator with positive feedback switches at two thresholds instead of one, so noise on a slow signal cannot make the output chatter. The gap between the thresholds is the hysteresis. In the non-inverting circuit with a 2.5 V reference, R1 of 10 k, R2 of 100 k and a 0 to 5 V output, the thresholds are 2.75 V and 2.25 V, a 0.5 V window. The page computes the thresholds for both the inverting and non-inverting forms, or finds R2 and the reference you need for thresholds you choose.

How to use Schmitt Trigger and Comparator Hysteresis Calculator

  1. Choose the inverting or non-inverting circuit and enter the output high and low levels.
  2. Enter Vref, R1 and R2, or the wanted upper and lower thresholds and your R1 to design R2.
  3. Read the thresholds and hysteresis, or R2 with the nearest E24 and E96 values and the thresholds they give.

Why use this tool?

Also known as

Frequently asked questions

What are the output levels for a comparator?

For a rail-to-rail push-pull output use the supply rails. For an open-collector output with a pull-up, the high level is the pull-up voltage and the low level is close to 0 V.

How much hysteresis should I use?

Slightly more than the peak-to-peak noise on the input. Too much shifts the switching points far from the centre and too little lets noise cause multiple transitions.

What is the difference between the two circuits?

The non-inverting circuit follows the input and the thresholds depend on the output levels and Vref. The inverting circuit flips the output and puts the threshold voltages around a divider of Vref and the output.

Is Schmitt Trigger and Comparator Hysteresis Calculator free?

Yes. Schmitt Trigger and Comparator Hysteresis Calculator on Toolipedia is free to use, with no sign-up and no watermark.

Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.