For analog Design, the maximum frequency is a somewhat vague concept since you can increase your frequency of operation using distributed amplifiers. ft is the unity current gain frequency which can be found out using the expression:
ft = gm/(Cgs + Cgd)
but this has little meaning. A more meaningful frequency metric is the unity power gain frequency. It can be calculated for a device through this equation:
wu = 1/2 √[wt/(rg Cgd)]
For digital circuits your maximum frequency depends on your basic gate delay and the number of gates you cascade, until u reach the limit of the clock skew.
Hope this answered your query.