The formula for AC (alternating current) frequency is:
Frequency (f) = 1 / Time Period (T)
where:
Frequency (f) is measured in Hertz (Hz), which represents the number of cycles per second.
Time Period (T) is the time taken for one complete cycle of the AC waveform, measured in seconds.
In other words, to calculate the frequency of an AC signal, you need to determine the time it takes for one complete oscillation (cycle) of the waveform and then take the reciprocal of that time to get the frequency value in Hertz.