{"uid":"cap_2Dgf7h3lM5P7KdDqgQJHQ","slug":"data-size-unit-converter-with-transfer-time-a5a94120","name":"Data Size Unit Converter with Transfer Time","description":"Convert data sizes between bytes, KB/MB/GB/TB (decimal) and KiB/MiB/GiB/TiB (binary), and the time to transfer at a speed.","url":"https://units-convert.x402tookit.com/data-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":["value","unit"],"properties":{"unit":{"type":"string","description":"b, kb, mb, gb, tb, pb (decimal) or kib, mib, gib, tib, pib (binary)"},"value":{"type":"number","description":"The size"},"speed_mbps":{"type":"number","description":"Link speed in megabits per second for transfer time"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"gb":{"type":["null","number"]},"kb":{"type":["null","number"]},"mb":{"type":["null","number"]},"tb":{"type":["null","number"]},"gib":{"type":["null","number"]},"kib":{"type":["null","number"]},"mib":{"type":["null","number"]},"tib":{"type":["null","number"]},"asOf":{"type":["null","string"]},"bits":{"type":["null","number"]},"bytes":{"type":["null","number"]},"source":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"transferHuman":{"type":["null","string"]},"transferSeconds":{"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_mJi7mLRFC4OzxAVYxjMWg","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":"Converts a data size value between decimal (B/KB/MB/GB/TB/PB) and binary (KiB/MiB/GiB/TiB/PiB) units, and optionally calculates transfer time at a given link speed in Mbps.","exampleAgentPrompt":"How many GiB is 500 GB, and how long would it take to transfer that at 1000 Mbps?","exampleUseCases":[{"title":"Cloud storage capacity planning","prompt":"I have a 2 TB hard drive — how many GiB is that, and show me all the equivalent sizes in bytes, MB, and MiB too."},{"title":"Download time estimation","prompt":"How long would it take to transfer a 4.7 GB ISO file over a 50 Mbps connection? Give me the time in a human-readable format."},{"title":"Binary vs decimal unit confusion","prompt":"My RAM specs say 16 GiB but my OS shows 16 GB — convert 16 GiB to GB so I can see the actual difference."}],"resultDescription":"Returns the input data size expressed in all common decimal units (bytes, bits, KB, MB, GB, TB) and binary units (KiB, MiB, GiB, TiB), plus a human-readable summary. If a link speed (speed_mbps) is provided, also returns the estimated transfer time in seconds and as a human-readable string.","failureModes":["Missing required 'value' or 'unit' query parameters returns an error","Invalid unit string (not in the accepted enum) causes a validation failure","Negative or non-numeric value for 'value' may result in an error or unexpected output","Very large numbers may hit precision limits"],"whenToPreferThis":"Use this endpoint when you need to convert a data size between decimal (KB/MB/GB/TB/PB) and binary (KiB/MiB/GiB/TiB/PiB) prefixes, or when you need to estimate how long a file transfer will take at a known link speed. It is the right choice for storage planning, network throughput calculations, and resolving confusion between SI and IEC data size standards.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:44.988Z","isFirstParty":false,"canonicalSlug":"data-size-unit-converter-with-transfer-time-a5a94120"}