Learn Piano Game Play free
Home › Guides › Music theory › Why Is There No Black Key Between E and F?

Why Is There No Black Key Between E and F?

E and F, and B and C, are already as close together as two notes can be on a piano, a distance called a half step. A black key would have nowhere to fit between them.

If you look at a piano for the first time, the black keys seem to be placed at random: some in pairs, some in threes, with gaps in between. The gaps are not random, and they are not a design flaw. They show exactly where the notes are closest together.

The short answer: E to F and B to C are half steps

The smallest distance between two notes on a piano is a half step (also called a semitone). It is the distance from one key to the very next key, whatever its color. A whole step is two half steps.

C to D is a whole step. There is a key in the middle (C sharp, also called D flat), and that key is black. E to F is different: the two white keys sit directly side by side, so they are already a half step apart. There is no space in the middle, so there is no key in the middle. The same is true of B to C.

The pattern on the keyboard

The black keys come in groups of two and three. This gives you landmarks that are much easier to see than the white keys alone.

The two gaps with no black key sit right after each group. E to F comes after the group of two, and B to C comes after the group of three. Here is how to use that to find notes:

  1. Find any group of two black keys.
  2. The white key just to the left of the pair is C. The white key just to the right of the pair is E.
  3. The next white key, directly beside E with no black key between, is F.
  4. Find a group of three black keys. The white key just to the right of the group is B, and the next one is C.

Every white key neighbor, step by step

NotesDistanceBlack key between?
C to Dwhole stepYes
D to Ewhole stepYes
E to Fhalf stepNo
F to Gwhole stepYes
G to Awhole stepYes
A to Bwhole stepYes
B to Chalf stepNo

So the rule is simple: wherever two white keys are a whole step apart, a black key fills the space. Where they are a half step apart, it does not.

Why the white keys are uneven

The white keys play the notes of the C major scale, and a major scale always follows the same pattern of steps: whole, whole, half, whole, whole, whole, half. Starting on C, that pattern lands its two half steps at E to F and B to C. You can see this on the C major scale page.

Add it up: five whole steps and two half steps make twelve half steps, which is one full octave. The five black keys fill in the five whole steps. That is why an octave has 12 keys in total: 7 white and 5 black.

Historically, the seven-note scale came first and the black keys were added later so music could start on other notes and still sound like a major or minor scale. The exact history is complicated and sources tell it in different ways, so it is safest to remember the practical result: the white keys are the uneven foundation, and the black keys are the extra notes that make other scales possible.

What about E sharp and C flat?

A sharp raises a note by one half step, and a flat lowers it by one half step. That means E sharp is the same key as F, and B sharp is the same key as C. Going the other way, F flat is the same key as E, and C flat is the same key as B.

These names are rare, but they exist. You may meet E sharp in a key like F sharp major, because every letter name has to appear once in the scale, and theory prefers E sharp there over writing F twice. Two names for the same key are called enharmonic notes, and you can read more in our guide to enharmonic notes.

Using the pattern when you learn

You do not need to count keys from the far left of the piano. Learn the landmarks instead: C is left of the two black keys, F is left of the three black keys, and E and B are the white keys right before the gaps. After a little practice your hands find these without thinking.

If you want to practice, the free game Keyfall shows the letter name on every falling note, and Starter mode waits for you at the line and shows which key to press. It is a handy way to connect names to keys, though it is for practice and fun and does not replace a teacher. For a full tour of the keyboard, see what are the notes on a piano.

Once the half step idea clicks, much of music theory gets easier: scales, chords and key signatures all build on the same pattern of whole and half steps.

More about music theory

What is the best way to learn music theory for piano?Can You Learn Piano Without Music Theory?What is the order of sharps and flats in key signatures?C sharp vs D flat: what are enharmonic notes?How long does it take to learn music theory?How many octaves are on a piano?How much music theory do piano players really need?How do you build a major scale on piano?

FAQ

Is there a black key between B and C?

No. B and C are a half step apart, just like E and F, so they sit side by side with nothing between them.

Why do some white keys have a black key between them and others do not?

A black key appears wherever two white keys are a whole step apart. Where the white keys are only a half step apart (E to F and B to C), there is no room for another note.

How many black keys are there in an octave?

There are five black keys in each octave, along with seven white keys, for 12 keys in total.

Is F the same note as E sharp?

On the piano, yes: they are the same key. The name you use depends on the key or scale you are writing in.

Does every piano have this pattern?

The standard piano keyboard follows this layout, with groups of two and three black keys repeating up the keyboard. Digital keyboards copy it too.

What is the easiest way to find C on the piano?

Look for a group of two black keys. The white key just to the left of that pair is C, and the C nearest the middle of the piano is called middle C.

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