midi ticks to milliseconds
MIDI Tick Calculator guide
MIDI events in PPQ mode are positioned on a musical grid. How much time a tick represents depends on the grid resolution and the current tempo.
Play the instrument ↑- Example
- At 480 PPQ and 120 BPM, 240 ticks are half a quarter note and 250 ms. At 960 PPQ and the same tempo, the same 240 ticks take 125 ms.
Formula and units
Quarter-note beats = ticks ÷ PPQ. Multiply by 60,000 ÷ BPM to get milliseconds. PPQ describes ticks per quarter note, even in a meter that is counted in dotted quarters.
Worked examples
At 480 PPQ and 120 BPM, 240 ticks are half a quarter note and 250 ms. At 960 PPQ and the same tempo, the same 240 ticks take 125 ms.
How to use the result
If a file has tempo changes, split the tick interval at each tempo event, convert each part at its own tempo, and add the times. SMPTE time division is a different representation and is outside this calculator.
Gesture MIDI Controller → · GestureSynth music theory tools →
Read the PPQ division before reading a delta time
A sequencer may use 480 ticks per quarter note, but another project might use 960. If both projects report a 120-tick delay at 120 BPM, the first delay is 125 ms and the second is 62.5 ms. A raw tick value has no universal time until you know the division and the tempo. Look for PPQ or ticks per beat in the file header or the DAW's project settings. Some editors display positions in a custom grid, so use the division attached to the exported data you are inspecting.
In a file with 480 PPQ, a dotted eighth note spans 360 ticks because it is three quarters of a quarter note. At 120 BPM that is 375 ms. A single eighth-note triplet spans 160 ticks at the same division and about 166.667 ms at the same tempo. Compare with a tempo-delay table when recreating the durations as plug-in delay values. Retain the original tick values if you need to quantize the result back to the MIDI grid.
Split an interval at a tempo event
Consider a 960-tick gap at 480 PPQ. If the first 480 ticks occur at 120 BPM and the next 480 occur at 60 BPM, calculate them individually. The first part takes 500 ms and the second takes 1,000 ms, for a total of 1,500 ms. Using one tempo for the whole span gives the wrong wall-clock time. The boundary is the tick where the tempo message becomes effective, and the tick lengths on the two sides differ.
When reading a sequence of events, first distinguish absolute positions from delta ticks. If a note starts at absolute tick 1,920 and ends at tick 2,160, its duration is 240 ticks. In a delta-coded stream, accumulate intervening delta values to find the absolute difference. An event's delay from the previous message may be only part of a held note's duration.
Convert a marker without confusing timebase and meter
In 6/8, a dotted quarter occupies one and a half quarter notes. At 480 PPQ it spans 720 ticks. A tempo stated as dotted quarter = 80 corresponds to quarter = 120 for the converter. Record the beat unit when borrowing a tempo from a printed score, since the field uses quarter-note BPM. SMPTE time division instead uses a frame-based clock and has no PPQ rate. Check the file division if results diverge substantially from the DAW timeline.
If a tempo event stores microseconds per quarter note, divide 60,000,000 by that value to obtain quarter-note BPM. For 500,000 microseconds per quarter note the result is 120 BPM. You can also check the conversion by dividing the event interval by PPQ, multiplying by microseconds per quarter, and dividing by 1,000. That calculation uses the tempo value directly and can avoid rounding if the displayed BPM is abbreviated.
Answers before you play
Common questions
Is PPQ the same as BPM?
PPQ is grid resolution. BPM is speed. Both are required to convert a tick count to elapsed time.
Is PPQ the same as MIDI clock's 24 pulses per quarter note?
MIDI clock uses 24 timing messages per quarter note for synchronization. File PPQ is the stored sequence's tick resolution and can be much higher.
Can I turn milliseconds back into ticks?
Multiply milliseconds by BPM and PPQ, then divide by 60,000. Round to the nearest tick when the timeline requires a whole number. This applies across a constant-tempo region.
Why are two events sometimes zero ticks apart?
Events can be simultaneous on the musical grid. A zero tick difference represents zero elapsed time for the selected division and tempo.