# How to calculate the recovery time of a waveform, using the calculator? – Custom IC Design – Cadence Technology Forums

It’s not entirely clear what you mean by recovery time, but you could use something like:

cross(v(“out” ?result ‘tran) value(v(“out” ?result ‘tran) 2.001u) 1 “falling”)

to find the time at which it goes back down to the initial value. You might want to add a little margin to allow for it not being fully settled.

Perhaps you could use settlingTime() too, relative to the peak fo the signal? (maybe clip() a particular region, find ymax() within that, and then use settlingTime with that as the initial value and the desired value as the final value).

Andrew