How to determine the FFT size from Subcarrier spacing and channel bandwidth?

Hello pros,
The maximum FFT size in 5G NR is 4096, but how do we calculate the size from the channel bandwidth and the required subcarrier spacing??