ResourcesSheet MusicAndrew Carlins6 min read

What Is a Clef?

A clef is the symbol at the start of a staff that fixes which lines and spaces mean which notes. Here are the treble, bass, alto, and tenor clefs, and how to read from each.

The treble, bass, alto, and tenor clefs and how each sets which notes the staff lines represent

A clef is the symbol at the start of a staff that fixes which pitches the lines and spaces represent. Without a clef, a staff is just five lines with no assigned notes; the clef anchors them to specific pitches. That is why the same five lines can show a low bass part in one place and a high flute part in another. Here is what the common clefs mean, how to read from each, and why the choice of clef matters.

The treble clef

The treble clef, also called the G clef, curls around the line that is G above middle C, which is how it fixes every other pitch on the staff. Its scroll wraps the second line from the bottom, so that line is always G. From there the lines, reading bottom to top, are E, G, B, D, F, and the spaces are F, A, C, E. The treble clef is used for higher instruments such as violin, flute, and trumpet, for the treble voices, and for the right hand on piano. When people picture a music symbol, this is usually the one they see.

The bass clef

The bass clef, also called the F clef, uses its two dots to surround the line that is F below middle C, which anchors the rest of the staff. That line, the second from the top, is always F. The lines from bottom to top are G, B, D, F, A, and the spaces are A, C, E, G. The bass clef is used for lower instruments such as cello, bassoon, and tuba, for the bass voices, and for the left hand on piano. Piano music joins the treble and bass staves into a grand staff, connected by a brace, with middle C sitting on a short ledger line in the gap between them, which is why one C can belong to either hand.

The C clefs: alto and tenor

A C clef is a movable clef whose center points to the line that is middle C, and it takes its name from wherever it is placed on the staff. The alto clef sits with its center on the middle line, so the middle line is middle C, and it is the everyday clef for the viola. The tenor clef moves the center up to the fourth line from the bottom, and it is used for the high range of instruments like the cello, bassoon, and trombone, where treble clef would sit far above the staff and bass clef would crowd it with ledger lines. The C clefs look unfamiliar at first, but the idea is simple: find the line the clef marks, call it middle C, and read out from there.

How to read from a clef

To read from any clef, use the reference note the clef fixes and count up or down the lines and spaces by step from there. The treble clef gives you G on the second line, the bass clef gives you F on the fourth line, and a C clef gives you middle C on whichever line it centers on. Every neighboring line or space is the next letter up or down, wrapping A through G. Mnemonics like Every Good Boy Does Fine for the treble lines are a fine crutch while the pattern is new, but the real skill is knowing the one reference pitch each clef sets, because from that single anchor the whole staff follows. If you are building this from scratch, our guide to how to read sheet music covers the staff step by step, and note values and rhythm covers how long each of those notes lasts.

Why clefs matter

Clefs matter because they keep an instrument's notes near the staff instead of drowning in ledger lines above or below it. A low cello line written in treble clef would sit so far under the staff that it would be a wall of ledger lines, so it uses bass or tenor clef and stays readable. Each instrument uses the clef that keeps its normal range centered on the five lines, which is the whole point of having more than one. The clef also works together with the other symbols at the front of a staff: the key signature is written right after it, and the interval between two notes on the page depends on knowing which clef you are reading, which our guide to musical intervals builds on. For quick definitions of the surrounding terms, see the music notation glossary. When you transcribe with Songscription, each part is written in the right clef automatically from your recording, so a bass line reads in bass clef and a melody in treble without you choosing.

Frequently Asked Questions

What is a clef?

A clef is the symbol at the start of a staff that fixes which pitches the five lines and four spaces represent. Without a clef, a staff is just five lines with no assigned notes. The clef anchors those lines to specific pitches, which is why the same five lines can carry a low bass part in one place and a high flute part in another.

What is the difference between treble and bass clef?

The treble clef, or G clef, curls around the line that is G above middle C and is used for higher instruments and the right hand on piano. The bass clef, or F clef, marks with its two dots the F below middle C and is used for lower instruments and the left hand on piano. They cover different pitch ranges, so a note on the same line means a different pitch in each.

Why are there different clefs?

Different clefs keep each instrument's notes close to the staff instead of stacked on far ledger lines above or below it. A low cello part written in treble clef would sit far below the staff and be hard to read, so it uses bass or tenor clef instead. Each instrument uses the clef that keeps its usual range centered on the five lines.

What clef does the piano use?

Piano music is written on a grand staff, which joins a treble clef staff and a bass clef staff with a brace. The right hand usually reads the treble staff and the left hand reads the bass staff, and middle C sits on a short ledger line between the two. This lets one player read the full range of the instrument at once.

Want the clefs handled for you? Songscription turns your recording into an editable score, writing each part in the clef that fits its range, then lets you transpose the result to another key in a click.

About the author

Andrew Carlins

Written by

Andrew Carlins

Co-Founder & CEO, Songscription

Andrew co-founded Songscription at Stanford with a few fellow musicians who were tired of not finding the notes to the songs they wanted to play. He grew up playing piano and baritone saxophone and performing in musical theater, and though he hasn't performed in years, he likes to think he's still pretty sharp. He writes about getting a song off the recording and onto the page.

More about the team

Keep exploring more posts on the same topics.