What Is the Musical Staff? Lines, Spaces, and How It Works
The musical staff is a set of five horizontal lines and four spaces where notes are written. A note's height on the staff tells you its pitch, and the clef at the start tells you which letter names the lines and spaces stand for.
If sheet music looks like a wall of dots and stripes, the staff is the first thing to understand. Everything else, from note names to rhythms, sits on top of it. The good news is that the idea is simple: higher on the page means higher on the keyboard.
What the staff is
The staff (also called the stave) is five parallel lines with four spaces between them. Notes are placed either on a line or in a space. Each position stands for one letter name, and the letters run through the musical alphabet: A, B, C, D, E, F, G, then back to A again.
Two rules cover most of what you need:
- A note placed higher on the staff sounds higher. On the piano, that means further to the right.
- Moving from a line to the next space, or from a space to the next line, moves you to the next letter name.
So if a note on a line is E, the space just above it is F, and the line above that is G.
How to count the lines and spaces
Always count from the bottom. The bottom line is line 1 and the top line is line 5. The lowest space is space 1, between lines 1 and 2, and the highest is space 4, between lines 4 and 5. Counting from the top is a common beginner mix-up that leads to wrong notes.
Clefs tell you which notes you are reading
The staff alone does not say which letter belongs to which line. That is the job of the clef, the symbol at the far left. Piano music uses two:
- The treble clef (also called the G clef) curls around the second line from the bottom, marking that line as G above middle C. It is usually for higher notes.
- The bass clef (also called the F clef) has two dots around the fourth line from the bottom, marking that line as the F below middle C. It is usually for lower notes.
Here is what each line and space is called in each clef, from bottom to top:
| Position | Treble clef | Bass clef |
|---|---|---|
| Lines | E, G, B, D, F | G, B, D, F, A |
| Spaces | F, A, C, E | A, C, E, G |
Many teachers use memory phrases. For treble lines, "Every Good Boy Does Fine" is common, and the spaces spell FACE. For bass lines, "Good Boys Do Fine Always" is common, and for spaces, "All Cows Eat Grass." Different teachers and books use different phrases, so use whichever one sticks for you. Many people eventually drop the phrases and recognize notes by their shape and position.
The grand staff: how piano music is written
Piano music usually joins a treble staff on top and a bass staff below, linked by a brace on the left. This is called the grand staff. As a general convention the right hand reads the treble staff and the left hand reads the bass staff, but this is not a strict rule. Composers often move a hand across, and some passages put both hands in the same clef.
Ledger lines and middle C
Five lines are not enough to cover the whole keyboard, so short extra lines called ledger lines are added above or below the staff. They work exactly like the regular lines: they extend the same pattern of lines and spaces.
The most important ledger line note is middle C. It sits on one ledger line just below the treble staff, and also on one ledger line just above the bass staff. It is the same key either way, which is why it links the two staves. If you want to find it quickly, see how to find middle C on sheet music, and for its place on the keyboard, the C4 key page.
Other marks you will see on the staff
The staff also holds a few things worth recognizing early:
- Bar lines are vertical lines that divide the music into measures.
- A time signature after the clef tells you how many beats are in each measure.
- Sharps and flats next to notes raise or lower them by a half step. These are covered in what are accidentals in music.
You do not need to master all of this at once. Start with the clefs and the note names, then add the rest gradually.
A practical way to learn it
Short, regular practice works better than one long cram session. Here is a simple routine:
- Learn the five treble clef lines (E G B D F) and say them aloud while pointing at the staff.
- Learn the four spaces (F A C E).
- Find each of those notes on the piano, starting from middle C.
- Repeat with the bass clef once the treble feels comfortable.
- Read a few easy notes every day instead of many notes once a week.
A game can help with the keyboard side of this. In Keyfall, the free game on this site, every falling note shows its letter name, so you keep linking letters to piano keys while you play. It does not show a staff, so think of it as a companion to reading practice, not a replacement for it.
When you are ready to read real music, the guide on how to practice sight reading on piano gives a step by step approach. Be patient with yourself: reading music is a skill that builds up over weeks and months, and a teacher can spot habits that a guide cannot.
More about reading music
FAQ
How many lines and spaces are on the musical staff?
The staff has five lines and four spaces. Notes sit on the lines or in the spaces, and extra ledger lines can be added above or below when the music goes higher or lower.
What is the difference between the treble clef and the bass clef?
The treble clef is generally used for higher notes and the bass clef for lower notes. They name the lines and spaces differently, so the same position on the staff is a different note in each clef.
Why does piano music have two staves?
The piano has a very wide range, more than one staff can show clearly. Joining a treble staff and a bass staff into a grand staff lets both hands' music be read together.
Do I have to use memory phrases like Every Good Boy Does Fine?
No. They are a helpful starting aid, and different teachers use different ones. Many players move on to recognizing notes by position once they have practiced enough.
Where is middle C on the staff?
Middle C sits on a ledger line just below the treble staff and just above the bass staff. It is the same key in both places.
How long does it take to get comfortable reading the staff?
It varies a lot from person to person. Many beginners can name the notes in one clef within a few weeks of regular practice, but fluent reading takes longer. Our guide on [how long it takes to learn to read music](/guides/how-long-does-it-take-to-learn-to-read-music/) goes into more detail.
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