“A man's reach should exceed his grasp, or what's heaven for” — Robert Browning
What is the period if you want to generate a 40KHz signal? It certainly isn't 250E-6 seconds. The same calculator returns 2500E-3 for 1/4 which is 2.5, not 0.25.
The calculator is PEMDAS.