How do you find a melody on the piano by ear?
Pick a tune you can already sing, find its first note and its home note, then work out one short phrase at a time by listening for repeats, steps and skips. It is a skill that grows with practice, and simple songs are the best place to start.
Picking out a tune by ear feels like magic until you see that it is mostly a patient game of matching and checking. You hum a note, find it on the keys, then ask a few small questions about what comes next. Nobody needs perfect pitch for this. You only need to hear whether the next note is higher, lower or the same.
Start with a tune you can already sing
Choose something you know so well that you can hum it from start to finish without help. Short, simple melodies work best: nursery rhymes, folk songs, carols, or a classical theme like Ode to Joy. A tune with a narrow range, where the notes stay close together, is much easier than one with big jumps.
If you can't hum it accurately, you will struggle to check your answer on the piano. Hum it a few times first, and keep humming it while you search. Your voice is your best tool here.
Step by step: finding the notes
- Hum the first note and hold it. Press keys near the middle of the keyboard, around middle C, until one sounds like the note you are humming.
- Play that note, then sing the first phrase (a short musical sentence, usually 4 to 8 notes). Notice whether the second note goes up, down or stays put.
- Search for the second note by trying keys close to the first one. Most melodies move in small steps, so the answer is usually only a few keys away.
- Play the two notes one after the other and compare them with your memory of the tune. If it sounds wrong, trust your ear and try the neighbouring key.
- Add one note at a time, and each time replay everything from the start of the phrase. This keeps the shape of the melody in your head.
- Write it down as you go, with letter names (C, D, E) or just numbers. Otherwise you will forget the notes you found five minutes ago.
Find the home note
Most simple songs have a home note, the one that feels like a place to rest. Try this: sing the tune and stop on the last note. That final note is very often the key note of the song. Press keys until you find a note that matches it.
Once you have the home note, you have a big clue. Many beginner tunes use mostly the notes of a major scale built on that note. If your home note is C, try the white keys first: C, D, E, F, G, A, B. This narrows a whole keyboard down to seven choices. If you want to hear how the scale sounds, see C major. Some songs do use black keys, so if a note refuses to fit, try the black key next to it.
Singing with scale numbers or syllables helps too. If the idea is new, what is solfege explains do, re, mi in plain terms.
Listen for repeats, steps and skips
Instead of guessing from the whole keyboard, ask what kind of move the melody makes. These are the most common ones when you are on the white keys:
| What you hear | What it looks like on the keys |
|---|---|
| Same note again | Press the same key a second time |
| Small step up or down | Usually the next white key to the right or left |
| A skip of a third | Jump over one white key, for example C up to E |
| A bigger leap | Often a fifth, for example C up to G |
One detail to remember: between E and F, and between B and C, there is no black key, but those pairs are still neighbouring notes (a half step apart). Other white-key neighbours, like C and D, have a black key between them and sit a whole step apart.
A worked example: Twinkle Twinkle
Take a song in the public domain that almost everyone knows. Hum the first note and find it. Let's say you land on C. The first two notes are the same, so play C twice. The third note jumps up a lot, and the fourth is the same again, so you are looking for a leap. Try keys going up until the jump sounds right: it is G. After that the tune steps up one key to A, repeats it, and falls back to G.
The first line in C major is: C C G G A A G. The second line starts on F, repeats each note, and walks down by steps to the home note: F F E E D D C. Notice how the last note feels finished. That is the home note doing its job.
If you want to compare your result with a version that shows each note, the song is also on its Twinkle Twinkle page.
When you get stuck
- Go back to humming. If the piano and your voice disagree, your voice usually knows the tune better. Hum the troublesome note, then search for it.
- Work in smaller pieces. Two or three notes are enough for one sitting. Come back tomorrow for the next phrase.
- Check the direction before the size. First decide up or down, then decide how far.
- Look for repeated patterns. Many songs repeat a phrase, so once you solve one line, you may have solved two or three.
- Try another starting key. If the tune feels too high or low for your voice, move it. The shape of the melody stays the same; only the notes change.
Singing the distance between notes is a skill of its own. How to sing intervals accurately gives exercises that make the search faster over time.
Check your answer and keep practising
After you have worked out a tune, it helps to check it against a reliable version. In the free Keyfall game, each falling note shows its letter name, so you can see whether the notes you found match the arrangement. Starter mode waits at the line and shows which key to press, which is handy for fixing a note you got wrong.
A few short sessions each week work better than one long one. Start with tunes of five or six different notes, then move to melodies with more leaps. Over time you will start to recognise common moves instantly, and the keyboard will feel less like a puzzle and more like a map.
More about ear training
FAQ
Do I need perfect pitch to play by ear?
No. Most people who play by ear use relative pitch, which means hearing how notes relate to each other. It can be trained with practice.
What is the easiest song to start with?
Pick a short, well-known tune that stays within a few notes, such as a nursery rhyme. Songs that mostly move by step or repeat notes are easier than songs with big leaps.
Why does my melody sound almost right but not quite?
Usually one note is a key off, or the song uses a black key you skipped. Hum the odd note and test the keys on either side of it.
How long does it take to get good at this?
It varies a lot from person to person. Many beginners can pick out a simple tune within a few practice sessions, but speed and accuracy usually keep growing over months of regular practice.
Should I find the chords as well as the melody?
Not at first. Get the melody right, then add simple chords later. Hearing chord changes is a separate skill that builds on this one.
Is it cheating to look up the notes?
No. Looking up the answer after you have tried is a good way to learn. Compare it with what you found and notice where your ear and the real notes differed.
Practise it on your own piano. Keyfall is a free piano game: notes fall toward the keys and you play them on a digital piano, keyboard, phone or computer.
Play free