Estimate signed drift rate from two observed sync offsets. This page answers a defined numerical question. It does not listen to your sound system or claim that a theoretical value is your actual latency.
Calculate with an explicit convention
- Read each field label and select values from one documented configuration.
- Use the displayed units. Convert samples or seconds before entering a millisecond value.
- Select Calculate and review the result together with its assumptions.
- Use Copy result or Download CSV to retain the numerical result and context. Reset returns the fields to their starting values.
Formula and worked example
ppm = (ending offset ms − starting offset ms) × 1,000 ÷ interval seconds.
An offset change from 0 to +6 ms over 60 seconds corresponds to +100 parts per million, or +6 ms per minute.
Use example calculates the starting field values. It is clearly labelled as an example, not as a measurement made on your device.
Read the result with its limits
This assumes drift is approximately constant between the observations. It cannot separate a clock mismatch from an edit, dropped frames or a changing buffer.
The large result gives the requested value with its unit. The table retains the input components or additional derived quantities so you can check what was included. Display rounding does not increase the precision of an observed timestamp. Keep the original measurement method, sample rate and signal-path notes beside any exported result.
For the underlying task, read the audio drift vs fixed delay guide. Use the audio delay test when you need to investigate an actual audio path rather than only compute a model.
Input checks and privacy
Missing, non-finite and out-of-range values are rejected. Where a list is offered, it accepts two to one thousand non-negative millisecond readings, each no more than ten thousand, within a twelve-thousand-character input bound. The bounds protect this numerical workflow; they are not a recommendation for acceptable sound latency.
Editing an input clears the previous result and disables its exports. This helps prevent an old answer from being mistaken for the new configuration. Enter the corrected data and calculate again. No microphone permission or recording upload is required by this calculator. Its calculations use browser memory; ordinary website requests and any separately configured analytics are a different activity.
Audio Clock Drift Calculator FAQ
Does this measure my hardware?
No. It uses supplied values and the stated formula. A separate physical test is required to observe an actual path. Browser reports, an acoustic round trip and a serial-stage model describe different parts of a system.
Can I use a negative number?
Only a signed field, such as an offset or change, accepts negative values. Durations, counts and rates must stay within their visible bounds. The result table explains the convention where a sign changes its interpretation.
What does the CSV contain?
The declared CSV contains numeric results, units and the calculation limitation. It is a text data file, not audio, a device-calibration certificate or an automatic configuration change.
After changing one setting, use the Latency Comparison Calculator to retain a signed before-and-after difference from comparable readings.
Keep the overall signal path explicit with the Round-Trip Latency Budget, adding each non-overlapping component once.
For an offset observed in frames, the Video Frame Time Calculator converts the frame count using the actual video rate.
Before keeping uncompressed recordings, use the Audio Recording Size Calculator to distinguish sample rate, channel count and bit depth from compressed file size.
Check the practical interpretation
How do I distinguish drift from one fixed offset?
A fixed offset remains approximately the same at observations made farther apart. Drift changes that offset with elapsed time. Measure at least two corresponding events across a known interval before calculating the signed rate. More observations can reveal whether the change is roughly linear or whether a jump, edit or dropped section makes a constant-rate model unsuitable.
Is the answer a resampling instruction?
No. The sign is based on how your observed offset changed, without deciding which clock is the reference or which file should be corrected. A resampling application may express its ratio in the opposite direction. Keep the original event observations, state the chosen reference and check a corrected copy at both ends before replacing a source recording or applying any timing transformation.