How is it calculated?
The browser's audio engine (Web Audio) produces an oscillation at the chosen frequency. 440 Hz is A4, the note orchestras tune to.
The human ear hears roughly 20 Hz to 20,000 Hz; hearing of high frequencies declines with age.
Example
440 Hz = A4; 261.63 Hz = C4 (middle C).