Virtual Piano - Free Online Piano Keyboard | BeatKey Notes

Virtual Piano

Free online piano keyboard. Play with mouse, touchscreen, or computer keys. Every note shows its Hz frequency.

Click a key or press a keyboard key to play

Octave C4
Vol
Wave

Quick Chords

Computer Keyboard Layout

White Keys (bottom two rows)

ASDFGHJKL
C D E F G A B C D (white keys, octave 1-2)

Black Keys (top row)

WETYUOP
C# D# F# G# A# C# D# (black keys)

Note Frequencies for the Current Octave

NoteHzMIDIEnharmonic
C4261.63 Hz60-
D4293.66 Hz62-
E4329.63 Hz64-
F4349.23 Hz65-
G4392.00 Hz67-
A4440.00 Hz69-
B4493.88 Hz71-
C5523.25 Hz72-
D5587.33 Hz74-
E5659.26 Hz76-
F5698.46 Hz77-
G5783.99 Hz79-
A5880.00 Hz81-
B5987.77 Hz83-

What Is a Virtual Piano?

A virtual piano is a browser-based piano keyboard that lets you play musical notes without a physical instrument. This tool uses the Web Audio API to generate real audio tones directly in your browser, no plugins or downloads required.

No Download Required

Runs entirely in your browser. Works on Chrome, Firefox, Safari, and Edge on desktop and mobile.

Shows Hz Frequencies

Every note displays its exact frequency in Hz. Useful for producers tuning 808s, setting EQ, and understanding musical relationships.

4 Waveforms

Sine (purest), triangle (warm), square (organ-like), sawtooth (bright). Choose the tone that fits your need.

Piano Notes Explained

White Keys vs Black Keys

A standard piano has 88 keys: 52 white and 36 black. White keys represent the natural notes (A, B, C, D, E, F, G). Black keys are sharps and flats (C#, D#, F#, G#, A#).

The pattern repeats every 12 notes (one octave). Middle C is C4, the note in the center of the keyboard, and has a frequency of 261.63 Hz.

What Do the Numbers Mean?

The number after each note name is the octave. C4 = middle C. C5 = one octave higher. C3 = one octave lower. Each octave doubles the frequency: C4 = 261.63 Hz, C5 = 523.25 Hz.

The standard tuning reference is A4 = 440 Hz. All other notes are calculated from this using equal temperament: multiply by 2^(semitones/12) to go up.

How Producers Use a Virtual Piano

Check a Scale or Chord

Hear what a C minor chord or G Dorian scale sounds like before building it in your DAW. Use the Quick Chords panel to play common progressions instantly.

Find the Root Note of a Sample

Play notes until you find the one that matches your sample. The Hz display tells you exactly what frequency to tune your 808 or synth to.

Learn Piano Without an Instrument

Practice note names, intervals, and chord shapes. Use the computer keyboard layout to build muscle memory before buying a physical controller.

Verify Tuning and Pitch

Cross-reference with the chromatic tuner. Play a note on your real instrument and check if it matches the Hz value shown here. A4 = 440 Hz is the standard.

Common Piano Chord Reference

ChordNotesFormulaFeel
C MajorC-E-G1-3-5Bright, happy
A MinorA-C-E1-b3-5Sad, emotional
G MajorG-B-D1-3-5Open, resolved
F MajorF-A-C1-3-5Warm, stable
D MinorD-F-A1-b3-5Dark, melancholic
E MinorE-G-B1-b3-5Brooding, tense
Cmaj7C-E-G-B1-3-5-7Lo-fi, dreamy
Am7A-C-E-G1-b3-5-b7Soulful, jazz
Dm7D-F-A-C1-b3-5-b7Hip-hop, R&B
G7G-B-D-F1-3-5-b7Blues, tension

Click the Quick Chords panel to hear any of these played on the virtual piano above.

Frequently Asked Questions

Can I play the virtual piano with my computer keyboard?

Yes. The bottom row of keys (A, S, D, F, G, H, J, K, L) plays white keys and the row above (W, E, T, Y, U, O, P) plays black keys. This covers 2 full octaves. Use the octave buttons to shift the range up or down.

What is middle C and what frequency is it?

Middle C is the note C4. Its frequency is 261.63 Hz and its MIDI number is 60. It is the center note of the piano keyboard and the reference point for all octave numbering in standard Western music.

How many Hz is A above middle C?

A4 (concert pitch A above middle C) is exactly 440 Hz. This is the international standard tuning reference (ISO 16). Its MIDI number is 69. All other equal-tempered notes are calculated from this value.

What waveform sounds most like a piano?

Triangle wave is the closest to a piano tone in terms of harmonic content among the four simple waveforms available. Sine wave is the purest (just the fundamental frequency, no overtones). Square wave sounds like a reed organ or 8-bit game music. Sawtooth wave is the brightest and most harmonically rich.

Does this virtual piano work on iPhone and iPad?

Yes. The virtual piano works in Safari on iPhone and iPad using the Web Audio API. Tap the keys on the touchscreen or use the Quick Chords buttons to play chords. Note: on iOS, audio requires a user gesture first, so tap any key to start.

Heard a note? Find its frequency.

Play any note on the piano above, then use the Hz to Note Converter to explore related frequencies.