๐ŸŽน Piano Keyboard Reference

Click a key to see its note name

* Shows a range spanning octaves 4-5, including middle C.

A two-octave piano keyboard you can click to hear a tone while seeing its note name, MIDI number, and frequency. Useful for checking a note name from sheet music or confirming a pitch by ear.

How to use

  1. Click a white or black key on the keyboard.
  2. The key's tone plays, and its note name, MIDI number, and frequency are shown.

How the calculation works

This shows two octaves of a piano keyboard (C4 to B5). Press a key to hear it and see its note name, MIDI number and frequency. C4 is middle C, near the centre of the piano. The white keys are C, D, E, F, G, A and B, and the black keys are the semitones between them. There is no black key between E and F or between B and C. Frequencies use twelve-tone equal temperament with A4 at 440 Hz. One audio output is reused for every key, so the keys keep sounding however many times you press them.

Worked example

C4 โ†’ MIDI 60, 261.63 Hz (middle C) A4 โ†’ MIDI 69, 440.00 Hz (the tuning reference) C5 โ†’ MIDI 72, 523.25 Hz (exactly twice C4) Going up an octave doubles the frequency and adds 12 to the MIDI number.

Things to be aware of

  • German note names call B โ€œHโ€ and Bโ™ญ โ€œBโ€.
  • On phones, silent mode can stop the sound.
  • An 88-key piano runs from A0 (27.5 Hz) to C8 (4186 Hz).

FAQ

What if I don't hear any sound?

Check your browser's audio settings and device volume. Some browsers also block audio playback until the first click on the page.

Can I change the octave range?

The current version shows a fixed range spanning octaves 4-5 (including middle C).

What is a MIDI number?

A number from 0 to 127 representing pitch under the MIDI standard. Middle C (C4) corresponds to MIDI number 60.