{"success":true,"version":"v1","request":{"tool":"get_calculator_schema","calculator_id":"video-file-size"},"result":{"entity_type":"calculator","id":"video-file-size","calculator_id":"video-file-size","canonical_url":"https://tttkmbb.com/everyday/video-file-size","name":"Video File Size Calculator","title":"Video File Size Calculator – MB/GB from Duration and Bitrate or Resolution Preset, plus Upload Time","category":"everyday","category_name":"Everyday Life","tool_name":"estimate_video_file_size","featured_mcp_tool":false,"description":"Estimates a video file's size from its duration and total bitrate, taken either from a resolution/frame-rate preset (YouTube's recommended H.264 upload bitrates, e.g. 1080p30 = 8 Mbit/s, 2160p30 = 45 Mbit/s) or an explicit bitrate, and the time to upload it at a given connection speed.","use_when":"You need to know how large a recording or export will be, how much storage an hour of footage needs, or how long an upload will take.","do_not_use_when":"The video uses variable bitrate with unknown average (file size then depends on content), or you only need transfer time for a known file size (use download-time).","inputs":[{"name":"duration_minutes","label":"Duration","type":"number","unit":"min","required":true,"max":100000,"exclusive_min":0,"description":"Length of the video in minutes.","example":10},{"name":"preset","label":"Resolution / frame rate preset","type":"enum","required":false,"default":"1080p30","values":[{"value":"360p","label":"360p – 1 Mbit/s"},{"value":"480p","label":"480p – 2.5 Mbit/s"},{"value":"720p30","label":"720p 30 fps – 5 Mbit/s","aliases":["720p"]},{"value":"720p60","label":"720p 60 fps – 7.5 Mbit/s"},{"value":"1080p30","label":"1080p 30 fps – 8 Mbit/s","aliases":["1080p","full hd"]},{"value":"1080p60","label":"1080p 60 fps – 12 Mbit/s"},{"value":"1440p30","label":"1440p 30 fps – 16 Mbit/s","aliases":["1440p","2k"]},{"value":"1440p60","label":"1440p 60 fps – 24 Mbit/s"},{"value":"2160p30","label":"4K 30 fps – 45 Mbit/s","aliases":["4k","4k30","2160p"]},{"value":"2160p60","label":"4K 60 fps – 68 Mbit/s","aliases":["4k60"]}],"description":"Video bitrate preset (YouTube recommended H.264 SDR upload bitrates, upper values). Ignored when bitrate_mbps is given.","example":"1080p30"},{"name":"bitrate_mbps","label":"Video bitrate","type":"number","unit":"Mbit/s","required":false,"max":10000,"exclusive_min":0,"description":"Explicit average video bitrate; overrides the preset.","example":8},{"name":"audio_bitrate_kbps","label":"Audio bitrate","type":"number","unit":"kbit/s","required":false,"default":0,"min":0,"max":10000,"description":"Audio track bitrate added to the video bitrate (e.g. 128 for AAC stereo, 384 for 5.1).","example":128},{"name":"upload_speed_mbps","label":"Upload speed","type":"number","unit":"Mbit/s","required":false,"max":1000000,"exclusive_min":0,"description":"Optional connection speed for the upload-time estimate.","example":20}],"outputs":[{"name":"total_bitrate_mbps","label":"Total bitrate","type":"number","unit":"Mbit/s","decimals":3,"description":"Video bitrate plus audio bitrate."},{"name":"file_size_mb","label":"File size","type":"number","unit":"MB","decimals":1,"description":"Megabytes (10⁶ bytes)."},{"name":"file_size_gb","label":"File size","type":"number","unit":"GB","decimals":3,"description":"Gigabytes (10⁹ bytes)."},{"name":"file_size_gib","label":"File size","type":"number","unit":"GiB","decimals":3,"description":"Gibibytes (2³⁰ bytes), as shown by Windows and many file managers."},{"name":"size_per_minute_mb","label":"Size per minute","type":"number","unit":"MB/min","decimals":1,"description":"total_bitrate × 60 / 8."},{"name":"size_per_hour_gb","label":"Size per hour","type":"number","unit":"GB/h","decimals":2,"description":"total_bitrate × 3600 / 8 / 1000."},{"name":"upload_seconds","label":"Upload time","type":"number","unit":"s","decimals":0,"description":"bits / upload_speed (only when upload_speed_mbps is given)."},{"name":"upload_time","label":"Upload time","type":"string","decimals":4,"description":"Same time as h:mm:ss."}],"input_schema":{"type":"object","properties":{"duration_minutes":{"description":"Length of the video in minutes. Unit: min.","type":"number","maximum":100000,"exclusiveMinimum":0,"examples":[10],"x-unit":"min"},"preset":{"description":"Video bitrate preset (YouTube recommended H.264 SDR upload bitrates, upper values). Ignored when bitrate_mbps is given.","type":"string","enum":["360p","480p","720p30","720p60","1080p30","1080p60","1440p30","1440p60","2160p30","2160p60"],"default":"1080p30","examples":["1080p30"]},"bitrate_mbps":{"description":"Explicit average video bitrate; overrides the preset. Unit: Mbit/s.","type":"number","maximum":10000,"exclusiveMinimum":0,"examples":[8],"x-unit":"Mbit/s"},"audio_bitrate_kbps":{"description":"Audio track bitrate added to the video bitrate (e.g. 128 for AAC stereo, 384 for 5.1). Unit: kbit/s.","type":"number","minimum":0,"maximum":10000,"default":0,"examples":[128],"x-unit":"kbit/s"},"upload_speed_mbps":{"description":"Optional connection speed for the upload-time estimate. Unit: Mbit/s.","type":"number","maximum":1000000,"exclusiveMinimum":0,"examples":[20],"x-unit":"Mbit/s"}},"additionalProperties":false,"required":["duration_minutes"]},"output_schema":{"type":"object","properties":{"total_bitrate_mbps":{"description":"Video bitrate plus audio bitrate. Unit: Mbit/s.","type":"number","x-unit":"Mbit/s"},"file_size_mb":{"description":"Megabytes (10⁶ bytes). Unit: MB.","type":"number","x-unit":"MB"},"file_size_gb":{"description":"Gigabytes (10⁹ bytes). Unit: GB.","type":"number","x-unit":"GB"},"file_size_gib":{"description":"Gibibytes (2³⁰ bytes), as shown by Windows and many file managers. Unit: GiB.","type":"number","x-unit":"GiB"},"size_per_minute_mb":{"description":"total_bitrate × 60 / 8. Unit: MB/min.","type":"number","x-unit":"MB/min"},"size_per_hour_gb":{"description":"total_bitrate × 3600 / 8 / 1000. Unit: GB/h.","type":"number","x-unit":"GB/h"},"upload_seconds":{"description":"bits / upload_speed (only when upload_speed_mbps is given). Unit: s.","type":"number","x-unit":"s"},"upload_time":{"description":"Same time as h:mm:ss.","type":"string"}}},"formula":"total_bitrate = bitrate_mbps (or preset) + audio_bitrate_kbps / 1000; bytes = total_bitrate × 10⁶ × duration_minutes × 60 / 8; MB = bytes / 10⁶; GB = bytes / 10⁹; GiB = bytes / 2³⁰; upload_seconds = total_bitrate × duration_minutes × 60 / upload_speed_mbps","method":"Container overhead (MP4/MKV) adds well under 1%. Presets are the upper values of YouTube's recommended constant-bitrate H.264 SDR upload settings; HEVC/AV1 exports and most phone recordings use different rates, so enter the actual bitrate where known.","sources":[{"name":"YouTube Help – Recommended upload encoding settings (video bitrate table)","url":"https://support.google.com/youtube/answer/1722171","type":"reference","retrieved_at":"2026-09-24"},{"name":"Bit rate – video bitrates and file size (Wikipedia)","url":"https://en.wikipedia.org/wiki/Bit_rate","type":"reference","retrieved_at":"2026-09-24"}],"freshness":{"type":"static","max_age_seconds":null,"note":"Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output."},"examples":[{"name":"10 minutes at 8 Mbit/s, upload at 20 Mbit/s","inputs":{"duration_minutes":10,"bitrate_mbps":8,"audio_bitrate_kbps":0,"upload_speed_mbps":20},"expected":{"total_bitrate_mbps":8,"file_size_mb":600,"file_size_gb":0.6,"file_size_gib":0.559,"size_per_minute_mb":60,"size_per_hour_gb":3.6,"upload_seconds":240,"upload_time":"0:04:00"},"url":"https://tttkmbb.com/api/v1/calculate/video-file-size?duration_minutes=10&bitrate_mbps=8&audio_bitrate_kbps=0&upload_speed_mbps=20"},{"name":"90 minutes of 4K 30 fps (45 Mbit/s), upload at 50 Mbit/s","inputs":{"duration_minutes":90,"preset":"2160p30","upload_speed_mbps":50},"expected":{"total_bitrate_mbps":45,"file_size_mb":30375,"file_size_gb":30.375,"file_size_gib":28.289,"size_per_hour_gb":20.25,"upload_seconds":4860,"upload_time":"1:21:00"},"url":"https://tttkmbb.com/api/v1/calculate/video-file-size?duration_minutes=90&preset=2160p30&upload_speed_mbps=50"}],"faq":[{"q":"Why is the file smaller than the calculator says?","a":"Most encoders use variable bitrate, so static scenes use far less than the target; the estimate is an upper bound for constant-bitrate encoding at the given rate."},{"q":"Mbit/s or MB/s?","a":"Bitrates are in megabits per second; divide by 8 for megabytes per second. 8 Mbit/s is 1 MB/s, i.e. 60 MB per minute."}],"tags":["video file size calculator","video size per minute","4k video file size","bitrate to file size","upload time"],"related":[{"calculator_id":"download-time","reason":"Transfer time for a known file size."},{"calculator_id":"data-storage","reason":"Convert MB, GiB, TB and other units."},{"calculator_id":"aspect-ratio","reason":"Frame dimensions for a resolution."}],"links":{"html":"https://tttkmbb.com/everyday/video-file-size","markdown":"https://tttkmbb.com/everyday/video-file-size.md","json":"https://tttkmbb.com/everyday/video-file-size.json","api":"https://tttkmbb.com/api/v1/calculate/video-file-size","schema":"https://tttkmbb.com/api/v1/calculators/video-file-size","openapi":"https://tttkmbb.com/openapi.json","mcp":"https://tttkmbb.com/mcp"},"version":"v1","updated_at":"2026-09-24"},"timestamp":"2026-09-24T01:48:18Z"}