100% Free
🎹

Relative Pitch Trainer

This relative pitch trainer plays a reference note (its name is announced), then a target note, and asks you to identify the target by its note name or by the interval between them. Every round picks a random key, so you train the skill that actually transfers to music: judging pitches relative to each other. Three progressive levels take you from simple intervals inside one octave up to short 2–3 note melodic patterns.

ℹ This is an uncalibrated, headphone- and ear-dependent practice aid, not a test, certification or diagnosis. The notes are exact in 12-tone equal temperament with A4 = 440 Hz, so the music theory is precise — but whether you hear a tone cleanly depends on your speakers/headphones and listening level. Relative pitch (hearing the distance between notes) is a learnable skill at any age; it is distinct from absolute (“perfect”) pitch, which is naming a note with no reference. Your scores are a personal practice metric and are stored only in your own browser. Use a moderate volume.

0 / 0Score
Accuracy
0Streak
0Best streak
Reference:
Press New round to begin. You’ll hear the reference note, then the target.

Your answer

Choose a level and answer mode, then press New round. Headphones or good speakers at a moderate volume work best.

Your best streak and lifetime accuracy are saved only in this browser. “End & log session” records the session to the Audio Skills Progress Tracker (also local).

Share or embed this tool

Free to use on your own website — WordPress, Wix, or any platform. Paste one line and it works instantly, resizing to fit.


How It Works

Every round, the trainer picks a random reference note somewhere in the comfortable middle of the keyboard and plays it — its name is shown and announced (for example, “C4”). It then plays a target note a chosen interval away. Because the starting key changes each time, you can’t lean on remembering an absolute pitch; you have to identify notes by ear, judging each target relative to the reference. That is exactly what musicians do when they play by ear, harmonise, or transcribe a melody. This approach is often called functional ear training — training the ear on relationships rather than isolated pitches — and it is the basis of both solfège systems (do-re-mi in fixed and movable-do traditions) and modern interval recognition methods used in conservatories and online ear-training courses worldwide. Whether your goal is a quick relative pitch test or a structured daily routine to learn relative pitch online, this tool adjusts to your pace.

All pitches are generated in 12-tone equal temperament with the standard concert reference A4 = 440 Hz. Each note’s frequency comes from the exact formula f = 440 × 2(m − 69)/12, where m is the MIDI note number (so A4 = 69). A semitone is one step of that ratio (21/12, about 100 cents); an octave is exactly a doubling of frequency. The tones are synthesised with the Web Audio API using a short click-free fade in and out, so changing notes never produces a pop.

The three levels

Level 1 keeps the target within one octave of the reference and draws from the friendlier intervals (unisons, thirds, fourths, fifths, sixths and the octave). Level 2 opens up to any interval within an octave in either direction, ascending or descending, including the trickier tritone, sevenths and minor seconds. Level 3 plays a short 2–3 note melodic pattern after the reference and asks you to identify where the pattern lands relative to the reference — a first taste of melodic dictation that connects directly to transcribing music by ear. In every level you can answer by note name (relative to the reference) or by interval, and replay the reference, the target, or both as often as you like. To cross-check a specific interval's frequency ratio independently, you can enter any two note names into the Note Frequency Chart to confirm the exact Hz values on either side of the interval.

Scoring

The scoreboard tracks your running score, accuracy and current/best streak for the session. Best streak and lifetime accuracy persist in your browser’s local storage so you can see progress over time, and “End & log session” writes a session summary that the Audio Skills Progress Tracker can aggregate. Nothing is uploaded; clearing your browser data (or using private mode) erases it. These numbers are a personal practice metric — a friendly way to measure your own improvement, not a certification or diagnosis. Research in music pedagogy consistently finds that short, frequent sessions (10–15 minutes daily) produce faster ear-training gains than infrequent marathon sessions, so the quick-start design of this tool — no login, no setup — suits it equally as a standalone music theory practice aid and as a complement to formal lessons. If you want to reinforce what the intervals actually sound like as pure frequencies, the tone generator lets you dial in any Hz value and listen in isolation before returning to timed practice here.

Frequently Asked Questions

What is the difference between relative pitch and perfect pitch?
Relative pitch is hearing the distance between two notes — recognising that one is, say, a perfect fifth above another — given a reference. Absolute (“perfect”) pitch is naming a note with no reference at all. This trainer builds relative pitch, which is widely considered learnable by almost anyone at any age through practice. Absolute pitch is far rarer and much harder to acquire as an adult.
Is this a real test of my ear?
No. It is an uncalibrated practice aid that depends on your headphones or speakers, your listening level and your room. The music theory behind it is exact (12-TET, A4 = 440 Hz), but your score is a personal practice metric for tracking your own progress — not a certification, grade or diagnosis. Treat it as ear-training reps, not an exam.
Why does the key change every round?
Because relative pitch is about the relationship between notes, not their absolute frequency. Picking a fresh random reference each round stops you from memorising a fixed pitch and forces you to judge each target relative to what you just heard — the skill that transfers to playing and singing by ear. You can always replay the reference if you lose it.
What tuning and frequencies does it use?
Standard 12-tone equal temperament with A4 = 440 Hz. Each note’s frequency is f = 440 × 2^((m − 69)/12) for MIDI note m, so semitones are equal ratios and an octave is an exact frequency doubling. If you train against an instrument tuned to a different reference (for example 432 Hz) the interval relationships are identical, but the absolute pitches differ.
Is my score saved or sent anywhere?
Nothing is uploaded and no microphone is used — all sound is generated in your browser. Your best streak, lifetime accuracy and logged sessions are stored only in your own browser’s local storage so the Progress Tracker can show your improvement. Use “Reset stats” to clear them, and remember that clearing browser data or using private mode will erase everything.
Which intervals are the hardest to identify, and which should beginners start with?
Most learners find the minor second (one semitone, very dissonant), the tritone (six semitones, the "devil's interval"), and minor seventh the most difficult. The easiest are usually the perfect octave, perfect fifth and major third — highly consonant intervals that stand out immediately. A common mnemonic strategy is to attach each interval to a famous melody: the perfect fifth sounds like the opening of "Star Wars"; the minor third like the first two notes of "Smoke on the Water". Level 1 of this trainer starts with the easier intervals and builds up gradually.
How long does it take to develop good relative pitch?
With consistent daily practice of 10–20 minutes, most musicians reliably identify all 12 intervals within 4–8 weeks. Extending that skill to melodic patterns and chord identification takes several months of dedicated ear-training exercises. Progress depends heavily on regular repetition: short daily sessions outperform infrequent long ones because pitch memory consolidates during sleep. Use the streak and accuracy numbers in this trainer as a rough guide — most learners see a clear accuracy jump between weeks 2 and 4 when the most common intervals start feeling automatic.
Does the choice of timbre (piano, sine, organ) affect ear training?
Yes, and training on multiple timbres is intentional. A pure sine wave isolates the fundamental pitch with no overtones, making interval width very easy to judge but less like real musical experience. Piano-like tones include overtones that mimic an acoustic instrument and are closer to everyday musical contexts. Organ-like tones have strong, sustained harmonics. Practicing on all three helps you recognise intervals regardless of the instrument playing them — a skill called timbre-independent interval recognition. For the most transferable ear training, rotate through timbres across sessions rather than locking into one.
Can I use this trainer to improve my singing in tune?
Indirectly, yes. Relative pitch training builds the mental map of how intervals feel and sound, which is the same cognitive skill used to sing a requested note in tune relative to what you just heard. However, this tool only plays tones — it does not listen to or analyse your voice. For active vocal pitch feedback, use the main Frequency Detector on the homepage, which shows your microphone's detected pitch in real time. A good practice workflow: use the Relative Pitch Trainer to internalise an interval, then sing it back while watching the Frequency Detector to check whether your voice lands on the right note.