Calculator guide · Editorial
Target Length
Target Length gives the retime that makes a clip run a set length: a 32-second edit cut down to a 30-second spot, a shot stretched to fill a music cue, a programme fitted to a broadcast slot.
This help describes CineMath 1.3, the next update. Until it reaches the App Store, the version there is 1.2.1, and some screens, calculators and shortcuts differ. What changes in 1.3
What you enter
| Input | What it is |
|---|---|
| Calculation Mode | Duration (the default) gives the new length as a percentage of the clip. Speed gives the playback speed to set in your editor. |
| Frame Rate | Your timeline rate. Defaults to 23.976 fps; the picker has the 18 standard rates, including 29.97 and 59.94 fps DF, or a custom rate. |
| Clip Length | How long the clip runs now, as timecode (HH:MM:SS:FF). |
| Target Length | How long it needs to run, as timecode. |
Both lengths are timecode, not seconds: 30 seconds is 00:00:30:00. Minutes and seconds stop at 59, and frames at one less than the frame rate (23 at 24 fps).
What you get
- Duration change (Duration mode) or Speed (Speed mode) as a percentage, to two decimal places.
- Clip length and Target length, and Frames, for example “768 → 720 fr”.
- A warning when the retime is beyond 2× or 0.5× (above 200% or below 50%), where pitch shift and motion cadence become obvious.
Formula
Speed % = clip frames ÷ target frames × 100 Duration % = target frames ÷ clip frames × 100The app counts both lengths in frames at your frame rate, so drop-frame timecode is counted correctly.
With whole-second, non-drop lengths the frame rate cancels out and the percentage is the same at any rate. It matters for lengths with frames in them, and for drop-frame: at 29.97 DF, 00:01:00;00 is 1,798 frames, not 1,800.
Worked examples
| Clip | Target | Frames (23.976) | Duration | Speed |
|---|---|---|---|---|
| 00:00:32:00 | 00:00:30:00 | 768 → 720 | 93.75% | 106.67% |
| 00:01:30:00 | 00:01:00:00 | 2,160 → 1,440 | 66.67% | 150.00% |
| 02:00:00:00 | 01:30:00:00 | 172,800 → 129,600 | 75.00% | 133.33% |
| 00:00:58:12 | 00:01:00:00 | 1,404 → 1,440 | 102.56% | 97.50% |
Step by step: a 32-second cut into a 30-second spot
- Open Target Length and set Calculation Mode to Speed.
- Frame Rate: 23.976 fps, to match the timeline.
- Clip Length: 00:00:32:00. Target Length: 00:00:30:00.
- The result is 106.67%. Set that clip speed in your NLE and the clip runs 720 frames, exactly 30 seconds of timecode.
Gotchas
- Check the mode before you copy the number: 106.67% speed and 93.75% duration are the same retime.
- Changes of a few percent are often invisible on picture but audible on dialogue and music. Use your editor’s pitch correction, or cut the audio separately.
- Your NLE may round the speed to one or two decimals. On long clips, check the result lands on the frame you need.
- Target Length keeps the frame rate the same and changes playback speed. To find the speed from a shooting rate instead, such as 48 fps played at 24, use Speed Change.
See also Speed Change and the Timecode Calculator.