Prenosna širina / Prenosni čas kalkulator
Ocena časa za prenos iz velikosti datoteke in hitrosti povezave, s pretvorbami skozivoda.
Rezultati posodabljajo, ko tipkate.
O tem kalkulatorju
A bandwidth calculator works out how long a file takes to transfer over a connection of a given speed, and the key to getting it right is the bits-versus-bytes distinction. File sizes are quoted in bytes — KB, MB, GB, TB — while connection speeds are quoted in bits per second — Kbps, Mbps, Gbps — and a byte is 8 bits. So the download time is the file size converted to bits (× 8), divided by the effective bit rate of the link. That single factor of 8 is why a connection’s headline number never matches the download figure you watch tick by.
As a worked example, a 1 GB file over a 100 Mbps connection is 1 GB × 8 = 8,000 megabits, and 8,000 / 100 = 80 seconds at the theoretical maximum — because 100 Mbps is only about 12.5 MB per second. Add a protocol-overhead allowance for the real world (TCP/IP headers, retransmissions, shared links) and the time stretches accordingly; a 10% overhead pushes that 80 s to about 89 s. The calculator also lists the speed expressed in bps, Kbps, Mbps, Gbps and MB/s for quick cross-checks.
You can switch between decimal units (1 KB = 1,000 bytes, the convention ISPs and drive makers use) and binary units (1 KiB = 1,024 bytes, how operating systems count), which shifts the numbers by a few percent — a "1 TB" decimal drive is about 931 binary GiB. This makes the tool handy for estimating backups and large downloads, sizing an internet plan, planning video streaming or uploads, and sanity-checking why a transfer is taking as long as it is.
Pogosta vprašanja
Zakaj je moje prenose počasneje od hitrosti povezave?
Hitrosti so citirani v megabitih na sekundo, vendar se datoteke merijo v megabajtih – bajt je 8 bitov, tako da se 100 Mbps linija premika približno 12,5 MB na sekundo v najboljšem primeru. Protokol nad glavo, deljena pasovna širina in strežnik omejitve ga še naprej zmanjšajo, ki jih režijski modeli.
Kakšna je razlika med decimalnimi in binarnimi velikostmi?
Decimalne enote (ki jih uporabljajo ponudniki interneta in pogonski proizvajalci) 1 KB obravnavajo kot 1000 bajtov; binarne enote obravnavajo 1 KiB kot 1024 bajtov. Decimalni pogon "1 TB" je približno 931 binarnega GiB, zato kongres rahlo spremeni čas prenosa.
Kako pretvoriti Mbps v MB/s?
Razdelite s 8: 100 Mbps ± 8 = 12,5 MB/s. Računalnik to naredi samodejno in poroča, da je nastal čas v dnevih, urah, minutah in sekundah.
Na kaj naj postavim protokol?
Real transferji izgubijo kos na TCP/IP glave, roke in ponovni prenos. 5–10% je razumen dodatek za zdravo žično povezavo; več uporablja za Wi-Fi, mobilne ali prevlečene povezave. Obrija učinkovito hitrost in podaljša oceno.
Zakaj 1 GB ni vedno enako število bajtov?
Under the decimal convention 1 GB is 1,000,000,000 bytes, but operating systems often count in binary where 1 GiB is 1,073,741,824 bytes. Switch the byte-convention option to match how your file size was measured for an accurate transfer time.
Kako dolgo je treba prenesti veliko datoteko na mojo povezavo?
Vnesite velikost datoteke in svojo načrt hitrost in preberite čas. Na primer 25 GB igra več 100 Mbps traja približno 33 minut v najboljšem primeru, preden nad glavo – orodje razbije rezultat v dni, ure, minutes in sekunde.
Ali to meri mojo dejansko internetno hitrost?
Ne – ocenjuje prenos časa iz hitrosti, ki jo dobavljate, ne preizkusi linije. Naredite ločeno hitrost test, da najdete svoj realni pretok, nato vnesite to številko tukaj za realistično oceno časa za prenos.
API – uporabi ta kalkulator iz kode
Poišči ta kalkulator kot brezplačni končni cilj JSON – ni potreben ključ. Pošljite spodnje vrednosti polja kot parametre za poizvedovanje ali JSON. Vse, kar opustite, uporablja enako privzeto. Ta stran je napolnjena z; neznani parameter je 400, nikoli ne tiho ničlo. Preberite celoten API docs →
Končna točka
GET https://calculator.free/api/v1/bandwidth/
curl
curl "https://calculator.free/api/v1/bandwidth/?size=1&size_unit=GB&speed=100&speed_unit=Mbps"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/bandwidth/?" + new URLSearchParams({
"size": "1",
"size_unit": "GB",
"speed": "100",
"speed_unit": "Mbps"
}));
const data = await r.json();
console.log(data.results);
Rezultati so ocene za splošne smernice, ne pa za finančne, zdravniške ali davčne nasvete.