How do I find a delta? As in, rate at which a value changes

What is the best way to calculate a frame rate independent delta?

As in I need to see the rate at which a value changes by a positive or negative amount.

Branch <0 if false do another branch >0.