This paper presents a method based on adaptive-network-based fuzzy inference system (ANFIS) to compute the resonant frequency of a circular microstrip antenna (MSA). The ANFIS is a class of adaptive networks which are functionally equivalent to fuzzy inference systems (FISs). Seven optimization algorithms, least-squares, nelder-mead, differential evolution, genetic, hybrid learning, particle swarm, and simulated annealing, are used to determine optimally the design parameters of the ANFIS. The results of the ANFIS models show better agreement with the experimental results, as compared to the results of previous methods available in the literature. When the performances of ANFIS models are compared with each other, the best result is obtained from the ANFIS model trained by the least-squares algorithm.