Data Storage Converter
تبدیل حافظه دیجیتال بین بیت، بایت، KB، MB، GB، TB و واحدهای دودویی.
نتایج در حال تایپ به روز میشود.
در مورد این ماشین حساب
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.
پرسشهای متداول
یک کیلوبایت برابر با ۱۰۰۰ یا ۱۰۲۴ بایت است؟
این بستگی به واحد دارد. SI کیلوبایت (KB) برابر با ۱۰۰۰ بایت است، در حالی که باینری کیوبایت (KiB) برابر با ۱۰۲۴ بایت است. ذخیرهسازی معمولاً در واحدهای اعشاری فروخته میشود و توسط برخی نرمافزارها در باینری گزارش میشود، که به همین دلیل یک درایو "۱ TB" به عنوان ~ ۹۳۱ GiB نمایش داده میشود.
چند بیت در یک بایت هست؟
There are 8 bits in a byte. Network speeds are usually quoted in bits per second, so a 100 Mbps link transfers at most about 12.5 MB per second.
چند مگابایت در یک گیگابایت هست؟
در واحدهای اعشاری SI، 1 GB = 1,000 MB. در واحدهای دوتایی، 1 GiB = 1,024 MiB.
چرا دیسک سخت من فضای کمتری نسبت به تبلیغات نشان میدهد؟
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.
چطور مي تونم مگابيت رو به مگابايت تبديل کنم؟
Divide megabits by 8, because a byte is 8 bits. A 100 Mbps connection therefore transfers at most about 12.5 megabytes per second, and this data storage converter treats bits and bytes with that 8-to-1 ratio.
تفاوت بین یک مگابایت و یک مگابایت چیست؟
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.
API — از این ماشین حساب از کد استفاده کنید
این محاسبهگر را به عنوان نقطه پایانی JSON آزاد فراخوانید — کلید مورد نیاز نیست. مقادیر میدان زیر را به عنوان پارامترهای پرسش یا JSON ارسال کنید. هر چیزی که حذف کنید از همان پیشفرض استفاده میکند که این صفحه با آن پر شدهاست؛ یک پارامتر ناشناخته یک ۴۰۰ است، هیچگاه یک صفر خاموش. مستندات کامل API را بخوانید →
نقطه پایانی
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);
نتایج تخمینها فقط برای راهنمایی عمومی است، نه مشاوره مالی، پزشکی یا مالیاتی.