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.

The tempo that applies at this position. Ticks stay put when the tempo changes; the time they occupy does not.

The file's time division: ticks per quarter note, from 1 to 32767. 480 is the common desktop value, 96 the older hardware value.

DAWs count bar.beat.tick in quarter notes, so 4/4 has 4 and 3/4 has 3; 6/8 has 3.

Bar and beat start at 1; the tick counts from 0 up to one less than the ticks per quarter note.

Clock time

    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.