Pretvornik shranjevanja podatkov

Pretvori digitalno shranjevanje med bitji, bajti, KB, MB, GB, TB in binarnimi enotami.

Rezultat —
Pretvorba —

Rezultati posodabljajo, ko tipkate.

Ti je ta kalkulator dal pravi odgovor?

O tem kalkulatorju

A data storage converter changes a digital size between bits and bytes and their multiples, converting through the byte as a common base. It covers both the decimal SI units — kilobyte, megabyte, gigabyte, terabyte and petabyte, each a power of 1,000 — and the binary IEC units — kibibyte, mebibyte, gibibyte and so on, each a power of 1,024.

Keeping the two families apart is the whole point: 1 KB is 1,000 bytes but 1 KiB is 1,024 bytes, and the gap widens at each step, reaching about 10% by the terabyte. There are always 8 bits in a byte, whichever family you use.

Worked example: to convert 500 megabytes to gigabytes in SI units, divide by 1,000, giving 0.5 GB. To see why a "1 TB" drive shows as about 931 GiB, divide 1,000,000,000,000 bytes by 1,073,741,824, the number of bytes in a gibibyte. A results table lists the size in every unit at once, handy for sizing downloads, disks and bandwidth.

Pogosta vprašanja

Je kilobajt 1000 ali 1024 bajtov?

It depends on the unit. The SI kilobyte (KB) is 1,000 bytes, while the binary kibibyte (KiB) is 1,024 bytes. Storage is usually sold in decimal units and reported by some software in binary ones, which is why a "1 TB" drive shows as ~931 GiB.

Koliko bitov je v bajtu?

V bajtu je 8 bitov. Hitrost omrežja se običajno citira v bitih na sekundo, tako da 100 Mbps povezave prenosov največ približno 12,5 MB na sekundo.

Koliko megabajtov je v gigabajtu?

V desetičnih enotah SI, 1 GB = 1.000 MB. V binarnih enotah 1 GiB = 1,024 MiB.

Zakaj moj hard disk kaže manj prostora kot oglaševal?

Manufacturers sell drives in decimal units (a "1 TB" drive is 1,000,000,000,000 bytes), but many operating systems report size in binary units. Dividing by 1,073,741,824 turns that 1 TB into about 931 GiB, so no space is actually missing.

Kako lahko pretvorim megabite v megabajte?

Razdelite megabit s 8, ker je bajt 8 bitov. Priključek 100 Mbps zato prenese največ 12,5 megabitov na sekundo, in ta pretvornik podatkov shranjevanje obravnava bitov in bajtov s tem 8-do-1 razmerjem.

Kakšna je razlika med megabajtom in mebibajtom?

A megabyte (MB) is 1,000,000 bytes, while a mebibyte (MiB) is 1,048,576 bytes (1,024²). The binary mebibyte is about 4.9% larger.

❤️ Ljubezen Calculator.Free? Delite jo.

𝕏  X Facebook Reddit
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/data-storage/

curl

curl "https://calculator.free/api/v1/data-storage/?amount=1&from=mb&to=gb"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/data-storage/?" + new URLSearchParams({
    "amount": "1",
    "from": "mb",
    "to": "gb"
  }));
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.