Efficiently calculate the duration of a MIDI file with this online tool. Enter the number of bars, time signature, and tempo to get the duration Enter MIDI Details Number of Bars: Enter the total number of bars in your piece. Time Signature: Time signature should be in the format X/Y (e.g., 4/4). Tempo (BPM): Please enter the tempo in beats per minute. Calculate Reset