The formula for calculating the resonant frequency of a circuit is f = 1/2π√(LC), where f is frequency, L is inductance, and C is capacitance. The resonant frequency of a circuit is the frequency at which the circuit exhibits the highest impedance, and it is important in electronic devices and circuits as it is used in the design of filters, oscillators, and other components.