HomePhotography & Optics › Time-Lapse Calculator

Time-Lapse Calculator

Computes the number of frames, the shooting interval and the playback speed-up factor for a time-lapse from the real event duration, the desired clip length and the frame rate, plus storage needs from a per-frame file size.

When to use

You are planning a time-lapse and need the intervalometer setting, how many shots it takes, or how much card space is required.

Do not use when: You need the file size of a normal video (use video-file-size) or the size of individual photos (use image-file-size).

Formula

frames = clip_duration_seconds × fps; interval_seconds = event_duration_minutes × 60 / frames; speed_factor = event_duration_minutes × 60 / clip_duration_seconds; storage_gb = frames × file_size_per_frame_mb / 1000

The interval must be longer than the exposure time plus the camera's write time; intervals below about 1 s exceed what most intervalometers allow. Frame count is rounded to a whole number before the interval is derived.

Inputs

ParameterTypeUnitRequiredDescription
event_duration_minutesnumberminyesReal-time length of the event to record, in minutes. Range: > 0, ≤ 1000000
clip_duration_secondsnumbersyesDesired length of the finished time-lapse clip, in seconds. Range: > 0, ≤ 86400
fpsnumberfpsdefault 30Frames per second of the final video (24, 25, 30, 60). Range: ≥ 1, ≤ 240
file_size_per_frame_mbnumberMBnoOptional size of one captured frame in MB (RAW 25–50, JPEG 5–12); returns the total storage needed. Range: > 0, ≤ 1000

Outputs

OutputTypeUnitDescription
framesintegerclip_duration_seconds × fps, rounded.
interval_secondsnumbersevent duration / frames: the intervalometer setting.
speed_factornumber×Event duration / clip duration: how many times faster than real time the clip plays.
shooting_time_textstringThe event duration written as hours and minutes.
storage_mbnumberMBframes × file_size_per_frame_mb (only when the file size is given).
storage_gbnumberGBStorage in decimal gigabytes (only when the file size is given).

Example

2-hour event as a 30 s clip at 30 fps, 25 MB RAW frames: {"event_duration_minutes":120,"clip_duration_seconds":30,"fps":30,"file_size_per_frame_mb":25}{"frames":900,"interval_seconds":8,"speed_factor":240,"storage_gb":22.5,"shooting_time_text":"2 h 0 min"}

6-hour sunset as a 20 s clip at 24 fps: {"event_duration_minutes":360,"clip_duration_seconds":20,"fps":24}{"frames":480,"interval_seconds":45,"speed_factor":1080}

GET https://tttkmbb.com/api/v1/calculate/time-lapse?event_duration_minutes=120&clip_duration_seconds=30&fps=30&file_size_per_frame_mb=25

Machine access

Sources

FAQ

What interval should I use for clouds, sunsets or stars?

Rules of thumb: fast clouds 1–3 s, sunsets 5–10 s, slow clouds and shadows 10–30 s, stars 20–40 s (limited by the exposure), plants and construction minutes. Compute the interval from the planned clip length and check it against these.

Does the shutter speed matter?

The exposure time must fit inside the interval with margin for the camera to save the file; for smooth motion many shooters use a shutter of about half the interval ('dragging' the shutter).

Related calculators