{"uid":"cap_pwQQjwP0APMDXYqj2vESy","slug":"video-bitrate-file-size-calculator-1fab2f1f","name":"Video Bitrate & File Size Calculator","description":"File size from video bitrate and duration (MB, GB, GiB), bits per pixel, or the bitrate that hits a target size.","url":"https://video-calc.x402tookit.com/video-bitrate-size?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["seconds"],"properties":{"fps":{"type":"number","description":"Frames per second"},"width":{"type":"integer","description":"Frame width, with height and fps to compute bits per pixel"},"height":{"type":"integer","description":"Frame height"},"seconds":{"type":"number","description":"Duration in seconds"},"audioKbps":{"type":"number","description":"Audio bitrate in kbps when solving for target size (default 0)"},"bitrateMbps":{"type":"number","description":"Total bitrate in megabits per second (use this or targetSizeMB)"},"targetSizeMB":{"type":"number","description":"Target file size in decimal megabytes, to get the bitrate"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"sizeGB":{"type":["null","number"]},"sizeMB":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"seconds":{"type":["null","number"]},"sizeGiB":{"type":["null","number"]},"sizeMiB":{"type":["null","number"]},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"bitsPerPixel":{"type":["null","number"]},"sizePerMinuteMB":{"type":["null","number"]},"totalBitrateMbps":{"type":["null","number"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9M6lLgdcKoJ6Wjaif7HNw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates video file size from bitrate and duration, bits per pixel, or the bitrate needed to hit a target file size.","exampleAgentPrompt":"How big will a 90-minute video file be if I encode it at 8 Mbps total bitrate — give me the size in MB and GB.","exampleUseCases":[{"title":"Estimating storage for a video project","prompt":"I'm encoding a 2-hour documentary at 15 Mbps. How many gigabytes will the final file be?"},{"title":"Finding bitrate for upload file size limit","prompt":"I need to deliver a 45-minute video under 4 GB — what total bitrate should I use for encoding, assuming no separate audio track?"},{"title":"Checking bits per pixel for encoding quality","prompt":"My video is 1920x1080 at 24 fps and I'm encoding at 5 Mbps. What's the bits-per-pixel value for that stream, and how large will a 60-second clip be?"}],"resultDescription":"Returns file size in MB, GB, GiB, and MiB; total bitrate in Mbps; bits per pixel; size per minute in MB; and a plain-language summary. If solving for target size, returns the required bitrate. Includes optional disclaimer and degraded flag.","failureModes":["Missing required 'seconds' parameter returns an error","Omitting both bitrateMbps and targetSizeMB leaves the calculation underdetermined","Negative or zero values for duration or bitrate may produce invalid results","Very large or very small values may yield impractical outputs without explicit error"],"whenToPreferThis":"Use this endpoint when you need fast, precise video file size or bitrate calculations without setting up local tooling. Ideal for pre-production storage planning, upload size compliance checks, or encoding workflow automation where an agent needs to compute sizing on the fly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:19:42.856Z","isFirstParty":false,"canonicalSlug":"video-bitrate-file-size-calculator-1fab2f1f"}