scratch storage

Track prep

Beat grids explained: why they drift and how to fix them

What a beat grid is, why analysis gets it wrong on live drums, swing and beatless intros, and how to fix the downbeat and tempo so the grid stops drifting.

11 min read

In short

  • A beat grid is a set of markers your DJ software places on every beat of a track, built from two numbers: where the first downbeat falls and how far apart the beats are.
  • When the grid is wrong, sync, quantise, beat jumps and loops all inherit the error, so a bad grid makes tracks drift even when you never touch the pitch fader.
  • Most errors fall into three kinds: the grid is offset (first beat in the wrong place), the tempo is slightly off (the grid slides further out as the track plays), or the tempo is halved or doubled.
  • Fix them in that order: move the first downbeat onto a clear kick, then correct the tempo by checking the grid far into the track, then lock the grid so re-analysis can't undo the work.
  • Live drums, tempo changes and swing need either a dynamic grid with several markers or no reliance on sync at all; a single fixed grid can only describe a track with one steady tempo.
On this page10 sections

The short answer

A beat grid is your software's map of where every beat in a track falls. It's built from very little information: a starting point (the first downbeat) and a spacing (the tempo). If both are right, every marker lands on a beat from the first bar to the last, and features like sync, quantise, beat jump and auto loops behave exactly as you expect. If either is wrong, everything that uses the grid is wrong in the same way.

Almost every grid problem is one of three things. The grid can be offset, so each marker sits a fixed distance before or after the beat. The tempo can be slightly off, so the grid starts aligned and then slides away as the track plays. Or the tempo can be halved or doubled, so the grid shows 87 BPM on a track you hear as 174. Each has a quick, specific fix, covered below. Tracks without one steady tempo (live drums, tempo changes, heavy swing) are a separate case, with their own section.

How a beat grid is built

When you analyse a track, the software looks for onsets, the moments where energy jumps, and searches for the most regular spacing between them. That spacing becomes the BPM. It then picks a phase (which of those regular points is beat one) and, on most software, which beat starts the bar. The result is stored with the track in the software's database, and some apps also write it into the file's tags. The BPM and key guide covers tempo detection in more depth.

There are two kinds of grid. A fixed grid has one anchor and one BPM, and repeats that spacing to the end of the track. It is exact for anything produced in a DAW at a steady tempo, which covers most house, techno, drum and bass and pop of the last thirty years. A dynamic or flexible grid has several anchors, each with its own tempo, so it can follow music that speeds up, slows down or changes tempo outright. rekordbox offers this as a Dynamic option in its analysis preferences, Traktor Pro 4 has flexible beatgrids built from multiple grid markers, and Serato DJ Pro lets you place extra markers wherever the tempo shifts.

Precision matters more than it looks. A grid at 126.00 on a track that is really 125.95 is out by 0.05 beats per minute. Over a seven-minute track that adds up to roughly a third of a beat, enough to flam every kick if you sync two tracks and let them run. That's why "the grid was fine at the start" is the most common complaint.

Why analysis gets it wrong

Analysers are very good at four-on-the-floor music with a clean kick. They struggle when the beat is ambiguous or the tempo isn't constant. The usual culprits:

Track typeWhat the analyser seesTypical error
Long beatless intro (pads, vocals, field recordings)No clear onsets until the drums arriveFirst downbeat placed in the intro, so the whole grid is offset
Intro with hats or percussion before the kickA strong off-beat patternGrid locked to the off-beat, half a beat out
Live drums, older funk, disco, soul and rockA tempo that wanders by a few tenths of a BPMGrid aligned in one section and drifting in the next
Tracks with a deliberate tempo change or breakdown at another tempoTwo different spacingsOne BPM averaged across both, wrong everywhere
Swung or shuffled grooves, broken beatsOnsets that don't fall evenlyGrid slightly early or late on alternate beats, or wrong BPM
Half-time drum and bass, trap, dubstepA snare every other beatBPM halved or doubled
Bars starting with a pickup or a missing beatA correct beat but the wrong bar startBeat jumps and phrase counters out by one or more beats

How to check a grid in 30 seconds

  1. Load the track and zoom the waveform in far enough to see individual kicks.
  2. Look at the first strong kick after the intro. The grid marker should sit on the front edge of the transient, not in the middle of it or just after it.
  3. Jump to the last third of the track (a breakdown re-entry or the final drop works well) and look again. If the markers have moved off the kicks, the tempo is wrong, not the offset.
  4. Turn on the software's metronome or beat-tick if it has one, or loop four beats and listen. A click that flams against the kick means the grid is out.
  5. Check the bar start: the big bar marker (often shown in red or a heavier line) should sit on beat one of a phrase, where a new section or the first kick after a break lands.

Fixing a fixed grid, step by step

The order matters. Fix the anchor first, then the tempo, because changing the tempo stretches the grid around its anchor point.

1. Put the first downbeat on a clear kick

Choose a beat with an unambiguous kick, ideally beat one of the first full bar of drums. Place the playhead exactly on the front of that transient (pause and zoom in) and use your software's set-downbeat or set-grid-marker control. In Serato DJ Pro this is part of the beatgrid editing mode; in rekordbox it's in the grid edit panel under the waveform; in Traktor Pro it's on the GRID tab of the Advanced panel; on Engine DJ players and in Engine DJ desktop it's in the grid edit controls. Labels vary by version, so check your manual.

2. Correct the tempo

With the anchor right, go to a point far into the track and compare the markers with the kicks. If the grid falls behind the beat, the BPM is set too low; if it runs ahead, the BPM is too high. Most software has a fine-adjust control that stretches or contracts the grid in small steps. Adjust until the markers sit on the kicks at the end of the track as well as the start. For tracks made in a DAW, the true BPM is often a round number or close to it, so if the analyser says 123.97, try 124.00 first.

3. Fix half and double tempo

If the grid has a marker on every other beat, or two markers per beat, use the halve or double control (often shown as /2 and x2) rather than typing a new number. This keeps the anchor in place. Then decide once which tempo octave you use for each genre (174 or 87 for drum and bass, for example) and stick to it, so sorting and sync behave the same across your library.

4. Lock it

Once a grid is right, lock it so a later re-analysis or an accidental drag can't change it. Traktor Pro has an Analysis Lock that protects BPM, grid markers, key and gain; Serato DJ Pro lets you lock beatgrids from the library; rekordbox and Engine DJ have their own grid lock options. Re-analysing a whole library with locks off is the easiest way to lose hours of grid work.

Live drums, tempo changes and swing

A track played by a band to no click has a tempo that breathes. The difference may be only a few tenths of a BPM, but over a whole track it's enough that no single fixed grid fits. You have three realistic options.

  • Use a dynamic or flexible grid. Analyse with your software's dynamic option, or add markers by hand at each point where the grid starts to drift, setting each section's tempo separately. Serato's beatgrid help describes adding extra markers for tracks whose tempo moves. Check the result through the whole track, because automatic dynamic analysis can also produce small wobbles on tracks that were steady.
  • Grid only the part you mix. If you only ever mix the first and last 32 bars, make sure the grid is right there and accept that the middle may be loose. Set a hot cue at a well-gridded mix point so you always start from it.
  • Don't rely on sync for these tracks. Mix them by ear with the pitch fader and jog wheel. Keep the grid roughly right for beat jumps and loops, but treat sync as off. Many DJs tag such tracks (a comment like live or a colour) so they know at a glance.

For swung and shuffled grooves, the beat itself is usually steady even if the notes between beats are not. Put the grid on the kick or the strongest downbeat, not on hats or ghost notes, and ignore the swing in between. For tracks with an intentional tempo change, add a marker at the change and set the new tempo from there.

Common problems and fixes

SymptomLikely causeFix
Synced tracks flam after a minute or twoBPM slightly off on one trackCheck both grids late in the track and fine-adjust the tempo
Grid is half a beat out everywhereAnchor placed on an off-beat hat or clapMove the downbeat onto the kick
Beat jump lands one beat early or lateBar start in the wrong placeShift the downbeat by one beat so beat one is the phrase start
BPM shows 87 on a 174 trackTempo octave guessed wrongUse the double control, not a typed value, so the anchor stays put
Grid was fixed but is wrong againTrack re-analysed with the lock offFix it again and lock it; turn off automatic re-analysis if your app has it
Grid fine at the start, wrong after the breakdownLive recording or tempo changeAdd a marker after the breakdown, or use dynamic analysis
Grid edits don't appear on another computer or playerGrid stored in a database that didn't travelRe-export the stick from the app you gridded in, or redo the grid on the target

Grids, USB sticks and other apps

A grid you fix on your laptop only reaches a club player if it goes with the export. rekordbox writes grids into the device library on the stick, so a CDJ loads them as you left them; see Export a playlist to USB for rekordbox and CDJs. Engine DJ desktop does the same for Engine OS players through Sync Manager, covered in Preparing a USB stick for Engine DJ players. Serato DJ Pro keeps beatgrids in the audio files' own tags, so they move with the files, as explained in Serato crates on a USB stick. Plain folders browsed on a player carry no grid at all: the player analyses each track on load and you get whatever it detects.

BPM in a file's tag and a beat grid are different things. A correct TBPM value tells software the tempo, but not where the beats are, so a tag alone never fixes an offset grid. Scratch Storage writes BPM and key into your files as tags and shows beat grids in its browser DJ mode, which is useful for a quick check, but grid edits you make in rekordbox, Serato DJ Pro, Traktor Pro or Engine DJ stay in that program.

A practical routine

  • Analyse new tracks the day you get them, then check each grid at the first drop and near the end before the track goes into a playlist.
  • Fix in order: anchor, then tempo, then half or double, then lock.
  • Round DAW-made tracks to the obvious whole or half BPM when the analyser is a few hundredths off.
  • Mark tracks with loose tempos (a colour or a comment) and mix them without sync.
  • Lock everything you've checked, and never re-analyse a whole library with locks off.
  • Re-export your sticks after grid work, so the players see the same grids you do.

Questions, answered

Why does my beat grid drift even though the first beat is right?
The BPM is slightly wrong. Each beat adds a tiny error, so the grid slides further from the kicks the longer the track plays. Fine-adjust the tempo while checking the grid near the end of the track.
Should I use dynamic beat grid analysis for everything?
No. Most electronic music has a fixed tempo, and a single fixed grid is simpler and exact for it. Use dynamic analysis or extra markers for live recordings and tracks that change tempo, then check the result.
Does a wrong beat grid affect tracks if I don't use sync?
Yes. Quantise, beat jumps, auto loops and some effects all use the grid, so an offset grid makes loops click and jumps land off the beat even if you beatmatch by ear.
What is the difference between the beat and the downbeat?
Every marker on the grid is a beat. The downbeat is beat one of the bar, the start of each group of four. A grid can have every beat right and the downbeat wrong, which throws out phrase counters and beat jumps.
Will my beat grid edits show up on a CDJ?
Only if they're exported with the track. Grids edited in rekordbox go onto the stick with a rekordbox export; files browsed as plain folders are analysed fresh by the player.
Why does my software show half the BPM I expect?
It counted a half-time pattern, such as a snare on every other beat, as the beat. Use the double control to fix it, which keeps the downbeat in place.

Put it into practice.

BPM and key on every track, DJ mode in the browser, and USB exports for Serato, rekordbox, CDJs and Engine OS.

Free to use. No card required.