Explore our collection of 150+ developer tools, PDF editors, and image converters. Everything runs locally in your browser.
Ubify Financial Advisory Board
FINANCIAL ANALYSTS & CPA REVIEWERS
About This Tool
This calculator determines the required audio delay offset in milliseconds (ms) to synchronize sound tracks with video footage. When capturing dialogue with external microphones, streaming via OBS Studio, or editing multicam interviews in Premiere Pro or DaVinci Resolve, hardware processing buffers often cause audio to lead or lag behind video lips.
### Mathematical Pipeline and Synchronization Formulas The calculator determines delay offsets from video framerate and frame offset counts:
- **Time Per Video Frame ($t_{\text{frame}}$):** Evaluated as $t_{\text{frame}} = 1,000 / \text{FPS}$ milliseconds. - **Total Delay Adjustment ($D_{\text{ms}}$):** Evaluated as $D_{\text{ms}} = \text{round}(\text{framesLag} \times [1,000 / \text{FPS}])$.
### Worked Numeric Example Suppose a live streamer captures a camera feed at 60 FPS while microphone audio is routed through an external audio interface, resulting in dialogue arriving 3 frames ahead of the video:
- **Video Framerate (FPS):** 60 - **Observed Lead / Lag:** 3 frames
**Step-by-Step Calculation:** 1. **Time per Frame:** $1,000 / 60 \approx 16.67\text{ ms}$. 2. **Total Audio Delay Offset:** $3 \times 16.667 = 50.00\text{ ms}$, rounded to **50 ms**. 3. **Application:** Entering **+50 ms** into OBS Studio's Advanced Audio Properties sync offset aligns the vocal track perfectly with lip movements.
### Client-Side Processing Note All calculations execute locally in client-side JavaScript. No video files, audio streams, or streaming configuration parameters are transmitted across any network.
How to Use
- 1
Enter the video recording or stream framerate in FPS (e.g., 23.976, 29.97, 30, or 60 FPS).
- 2
Enter the observed audio lag or lead in video frames.
- 3
View the computed Audio Offset in milliseconds and Time Per Frame breakdown.
- 4
Enter the calculated millisecond offset into your broadcast software or video editing timeline.
Frequently Asked Questions
How do I determine whether audio is leading or lagging video?
If you hear a word spoken before the person's lips move, audio is leading and requires an audio delay offset. If lips move before sound, video is leading.
What formula does this sync calculator use?
Delay in milliseconds equals Lag in Frames multiplied by (1,000 divided by Video Framerate in FPS).
Are any stream settings or video files transmitted to external servers?
No. All calculations run locally in your web browser.