Data Storage Converter
U beddelaan kaydinta digital u dhexeeya bits, bayt, KB, MB, GB, TB iyo unugyada binary.
Natiijooyinka cusbooneysiinta sida aad ku qorto.
Ku saabsan Kalkaaliyahan
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.
Su'aalaha badanaa la isweydiiyo
Ma kilobyte waa 1000 ama 1024 bayt?
Waa ku xiran tahay midabka. SI kilobyte (KB) waa 1,000 bayt, halka binary kibibyte (KiB) waa 1,024 bayt. Storage waa caadi ahaan lagu iibiyo unit decimal iyo warbixin ka soo baxay qaar ka mid ah software in binary kuwa, taas oo ah sababta oo ah "1 TB" drive muujinaya sida ~ 931 GiB.
Imisa bits ayaa ku jira byte?
Waxaa jira 8 bits in byte. xawaaraha network waxaa caadi ahaan lagu sheegay in bits per second, sidaas darteed xiriirka 100 Mbps wareejiyaan ugu badan ee ku saabsan 12.5 MB per second.
Immisa megabytes ayaa ku jira gigabyte?
In tirada si degmo unugyada, 1 GB = 1,000 MB. In unugyada binary, 1 GiB = 1,024 MiB.
Maxaa drive adag ii muujiyaan meel ka yar sida la oggolaaday?
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.
Sidee baan u beddeli karaa megabits in megabytes?
Qayb megabits by 8, sababtoo ah byte waa 8 bits. A 100 Mbps xiriirka sidaas daraaddeed u gudbiyaa ugu badan oo ku saabsan 12.5 megabytes daqiiqada, iyo this xogta kaydinta Converter ku dhaqmaa bits iyo bytes la 8-to-1 ratio.
Maxay tahay farqiga u dhexeeya megabyte iyo mebibyte?
A megabyte (MB) waa 1,000,000 bayts, halka mebibyte (MiB) waa 1,048,576 bayts (1,024²). The binary mebibyte waa ku saabsan 4.9% ka weyn.
API — isticmaal xisaabinta ka code
Wici xisaabinta sida free JSON endpoint - key ma loo baahan yahay. Dib u soo dir qiimaha goobta hoos ku qoran sida parameters su'aal ama JSON. Wax kasta oo aad ka maqan tahay isticmaalaa default la mid ah ee boggani waa hore loo buuxiyey la; parameter aan la aqoon waa 400, marnaba ma aha zero maqan. Akhri dhammaan API xuquuqda →
Xarafka
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);
Natiijooyinka waa tirakoobka loogu talagalay tilmaamaha guud oo keliya, maaha dhaqaale, caafimaad ama talo bixin canshuur.