I am using LM324 opamp and trying to design a noninverting schmitt trigger. Can anybody provide link/fomula for calculating the upper and lower threshold values...
The lousy old LM324 is too slow to be a comparator. Use a comparator IC or use a newer much faster opamp.
Look at the datasheet to see its typical output high and output low voltages. Then simply use Ohm's Law to calculate the resistor values for the amount of hysteresis you want.