Network mathematics · Local calculator

Network Unit Converter

A storage panel reporting MiB and a specification reporting MB may describe the same file with different numbers. Convert the size to a shared unit before comparing storage limits or preparing a transfer estimate.

Inputs

Result

Converted size
1073.741824 MB

SI prefixes scale by 1000 and IEC prefixes by 1024. Display rounds to six decimal places.

In this guide12 sections

Introduction

A storage panel reporting MiB and a specification reporting MB may describe the same file with different numbers. Convert the size to a shared unit before comparing storage limits or preparing a transfer estimate.

Formula and calculation

Convert between network size units
target value = source value × source factor / target factor

Each unit maps to an exact integer number of bits. SI prefixes use factors of 1,000 and IEC prefixes use factors of 1,024; the displayed ratio is rounded to six fractional digits.

factor · bits per unit
number of bits represented by one unit

Method and concepts

An octet contains eight bits. Decimal prefixes step by factors of 1000, so one MB contains 1,000,000 bytes. Binary prefixes step by 1024, so one MiB contains 1,048,576 bytes. Converting through bits gives a common basis for both byte units and bit units.

  1. Enter the amount with its original unit. Preserve the lowercase b for bit and uppercase B for byte when reading the source label.
  2. Select the target unit. Multiply the source amount by bits per source unit, then divide by bits per target unit to verify the result.

Network units, bandwidth and transfer time diagram

  1. File size in MiB
  2. Bytes × 8
  3. Bits ÷ sustained bit/s
  4. Transfer seconds
Convert the numerator before dividing. The units cancel to seconds.

Worked examples

Express a 64 MiB object in decimal units

  1. Multiply 64 by 1,048,576 to obtain 67,108,864 bytes.
  2. Divide by 1,000,000 for 67.108864 MB. The number rises because a megabyte is smaller than a mebibyte.
  3. Multiply the exact byte count by eight for 536,870,912 bits. Use that count with a link rate in bits per second.

Network units, bandwidth and transfer time: Budget time for a 250 MiB update

  1. Convert 250 MiB to 262,144,000 bytes, then multiply by eight to get 2,097,152,000 bits.
  2. At a constant 100,000,000 bit/s the ideal duration is 20.97152 seconds, about 20.97 seconds.
  3. If the measured application rate is 80 Mbit/s, the same calculation gives 26.2144 seconds. A separate connection setup or disk delay can add time to the user's wait.

Reference table

Network Unit Converter reference
UnitBytesBits
1 kB1,0008,000
1 KiB1,0248,192
1 MB1,000,0008,000,000
1 MiB1,048,5768,388,608

Reading the result

The underlying quantity stays constant across the outputs. If an intermediate decimal display is rounded, use the original value and unit for your next calculation. A result in bytes describes a size. Adding a time denominator is a separate operation.

Common mistakes

  • Treating 100 Mb as 100 MB introduces a factor of eight.
  • Assuming all software uses the label MB consistently can shift an estimate. Check the reporting tool’s unit definition when its display is ambiguous.

Frequently asked questions

Why is 1 GB less than 1 GiB?

One GB is 1,000,000,000 bytes. One GiB is 1,073,741,824 bytes. A billion-byte object occupies about 0.9313 GiB.

Can a result include a fraction of a byte?

A unit equivalence can be fractional. One bit is 0.125 byte. A byte-addressed file needs a whole number of bytes for storage.

What does a 12 MB/s file copy use in bit/s?

With decimal MB/s it delivers 96 Mbit/s of file data. The link may carry additional bytes for headers and retransmissions.

Does twice the link rate halve every task's completion time?

Only the rate-limited part scales that way. Setup, server processing and waiting for requests and replies may contribute much of a small task's duration.

Why is a megabyte not the same as a megabit?

A byte is eight bits. Decimal prefixes define 1 MB as 1,000,000 bytes and 1 Mb as 1,000,000 bits, so confusing the symbols changes a transfer estimate by a factor of eight.

What is the difference between MB and MiB?

MB uses a decimal factor of 1,000,000 bytes; MiB uses a binary factor of 1,048,576 bytes. State the unit system when reporting sizes.

Will an advertised bit rate equal download throughput?

Usually not. Protocol headers, acknowledgments, retransmissions, shared capacity, server limits, and storage can reduce application payload throughput.

Why does a transfer-time estimate need a rate and a size?

Time is data quantity divided by transfer rate after both are expressed in compatible units. The result assumes the entered average rate is sustained for the transfer.

Is 1 GB always the same number of bytes as 1 GiB?

No. A decimal gigabyte is 1,000,000,000 bytes, while a binary gibibyte is 1,073,741,824 bytes. Read the prefix used by the application or storage device.

Why do download tools show a lower rate than an access link's advertised rate?

The advertised rate is often a link capacity in bits per second. Application data is affected by protocol overhead, contention, server limits, congestion, and unit conversions.

What is goodput?

Goodput is useful application payload delivered per unit time, excluding retransmitted or protocol-overhead data. It can be lower than throughput measured at a lower layer.

Does multiplying bytes by eight give an exact download time?

It gives the bit quantity for the payload. Divide by a sustained payload rate in bits per second for an ideal estimate; real transfers also experience overhead, rate variation, and setup delays.

Why do network rates use bits per second while files use bytes?

Network link rates conventionally describe bits transmitted per second, while file sizes commonly count bytes. Multiply bytes by eight before comparing them with a bit rate.

What is the difference between a decimal and binary prefix?

Decimal prefixes use powers of 1,000, while binary prefixes use powers of 1,024. For example, MB and MiB do not represent the same byte count.

Can a transfer calculator predict an exact completion time?

No. It estimates payload divided by an assumed sustained rate. Rate changes, protocol overhead, congestion, server speed, storage, and setup all affect real elapsed time.

What is link utilization?

It is the fraction of a link's capacity occupied over an interval. High utilization can increase queueing delay and loss, depending on buffering and traffic patterns.

Why should a data unit label include the prefix and case?

Symbols such as Mb, MB, MiB, and Mbit/s distinguish bits, bytes, and decimal or binary scales. Case and prefix alter the quantity substantially.

Further learning and references