# Tempo & Delay Time Calculator (BPM to ms) > Delay and reverb times in ms, Hz and samples for every note value at your tempo — or BPM from ms. Turns a tempo into delay times for whole to sixty-fourth notes, straight, dotted and triplet, in milliseconds, LFO rate in hertz and samples at your sample rate, plus pre-delay and decay suggestions for reverbs that breathe with the song. The reverse mode finds the tempo at which a delay time equals a note value. The same tempo maths sets the synced delays in the Tracklayer app. Part of usefulweb.app (https://usefulweb.app/). Part of [Tracklayer](https://tracklayer.usefulweb.app/) (ownerApp: tracklayer). Results are deterministic calculations from the inputs and the listed assumptions; the API returns exactly what the web page shows. ## Use it - Human interface: https://tracklayertempodelay.usefulweb.app/ (interactive tool at https://tracklayertempodelay.usefulweb.app/tool) - JSON API: POST https://tracklayertempodelay.usefulweb.app/api/v1/calculate with a JSON object of inputs (schema: https://tracklayertempodelay.usefulweb.app/api/v1/tool) - OpenAPI: https://tracklayertempodelay.usefulweb.app/openapi.json - MCP (Streamable HTTP): https://tracklayertempodelay.usefulweb.app/mcp - tool `tracklayer_tempo_delay` ## Inputs - mode (select): Calculate - bpm (number): Tempo - Quarter notes per minute. - ms (number): Delay time (reverse mode) - noteValue (select): Note value of that delay (reverse mode) - timeSignature (text): Time signature - For the bar length and the long reverb suggestion. - sampleRate (select): Sample rate ## Method - A quarter note lasts 60 000 ÷ BPM milliseconds. Other note values scale with their length in quarter notes (whole = 4, eighth = ½); dotted notes are 1.5 × and triplets ⅔ × as long. Hz = 1000 ÷ ms (one LFO or tremolo cycle per note); samples = ms × sample rate ÷ 1000, rounded. - The bar length is the number of beats × 4 ÷ the beat unit quarter notes (6/8 = 3 quarter notes). - Reverb suggestions follow a common mixing rule of thumb: a short pre-delay on the grid (1/64 to 1/8) keeps the dry attack clear, and pre-delay + decay together fill a musical length (a quarter note up to two bars), so the tail fades before the next phrase. They are starting points to adjust by ear, not a standard. - Reverse mode: BPM = length in quarter notes × 60 000 ÷ ms.