✳ FREE CALCULATOR

Speed and duration calculator

Find the duration a clip becomes after a speed change, and the speed factor needed to hit a target duration. Enter the current duration and the speed.

Duration at 1.5×
1m 0s
Speed needed to reach 1m 0s
1.50×
Time removed
30s
Audio note
within normal pitch-correction range

ffmpeg's atempo filter handles 0.5× - 2.0× per pass; larger changes need chained passes and sound increasingly artificial.

Calculated as: new duration = duration ÷ speed; needed speed = duration ÷ target duration

How it is calculated

new duration = duration ÷ speed; needed speed = duration ÷ target duration

Worked example with the starting values (Current duration: 90 seconds; Speed factor: 1.5 ×; Target duration: 60 seconds): duration at 1.5× 1m 0s; speed needed to reach 1m 0s 1.50×; time removed 30s; audio note within normal pitch-correction range.

Key takeaways

  • Speeding up 1.5× turns 1m 0s from 90 seconds; to reach 60 seconds you need 1.50×.
  • Checked on real files: our speed tool made a 5 second clip at 0.5×, 0.75×, 1.5× and 2× run 10.23 s, 6.83 s, 3.47 s, 2.63 s where the formula says 10.00 s, 6.67 s, 3.33 s, 2.50 s.

Speeding up to a length

To fit a clip into a time limit, divide its length by the limit: 90 seconds into 60 needs 1.5×. Check the sound after a large speed change, since pitch correction has limits.

A speed change also changes how many frames you need per second of output; encoders either drop frames when speeding up or repeat them when slowing down.

Scenarios

ScenarioDuration atSpeed neededTime removed
90 seconds at 0.5×3m 0s1.50×1m 30s
90 seconds at 1.25×1m 12s1.50×18s
90 seconds at 1.5×1m 0s1.50×30s
90 seconds at 2×45s1.50×45s
10 minutes to 60 seconds1m 0s10.00×9m 0s

Measured: speed changes on a real clip

SpeedFormulaReal resultDifference
0.5×10.00 s10.23 s0.23 s
0.75×6.67 s6.83 s0.17 s
1.5×3.33 s3.47 s0.13 s
2×2.50 s2.63 s0.13 s

The small differences are the audio: encoders round the audio length to whole frames.

Quick answers

Does speed change the pitch?

The speed tool keeps the pitch natural by re-timing the sound, within a normal range.

What this assumes