MIDI Tick Calculator
Turn a bar, beat and tick position into clock time at a given tempo, or read the position back from ticks, milliseconds or seconds.
A MIDI file's header stores a time division: a positive value is ticks per quarter note, which is what this page uses, and a negative value is an SMPTE rate in frames per second times ticks per frame. With PPQN ticks in a quarter note, one tick lasts 60 / (BPM × PPQN) seconds, so at 120 BPM and 480 PPQN a tick is 1.0417 ms and a bar of 4/4 lasts 2 seconds. A position counts ((bar − 1) × quarter notes per bar + (beat − 1)) × PPQN + tick ticks. MIDI Timing Clock messages run at 24 pulses per quarter note, so the pulse count is ticks / PPQN × 24 and is not always a whole number. The page assumes one tempo holds across the whole position: it does not read a tempo map or a file, and it stores nothing. Everything runs in your browser.