This tool calculates the sampling frequency from the sampling period.
Fs = 1/Ts
The picture below shows a continuous signal (green color) that is sampled. The discrete samples are indicated by the blue vertical lines.
If a waveform is sampled once every 10 nanoseconds, the sampling frequency is 100 MHz.