gizmobench
BrowseDaily

Bytes to KB Converter

Bytes to KB is one division, and the number you divide by depends on which KB you mean: 1,024 bytes to the binary KB, properly the kibibyte (KiB), which some software labels KB, and 1,000 bytes to the decimal kilobyte (kB) that the SI defines and drive makers print. This page opens with Byte in the From box and Kibibyte in the To box, ahead of whatever pair the converter last remembered, so 1,024 bytes reads 1 KiB, 4,096 bytes reads 4 KiB and 1,048,576 bytes reads 1,024 KiB, which is one mebibyte. The decimal answer is never hidden behind a setting: the list under the headline prints the same byte count in bits, kB, MB, GB, TB, KiB, MiB, GiB and TiB together, so 5,000 bytes shows as 4.8828125 KiB and as exactly 5 kB on one screen. Nothing in this category is tucked behind a switch, so every one of those units is on the page at once. The swap button between the two boxes reverses the pair into kibibytes to bytes, where 1 KiB is 1,024 B.

To0.0009765625
Category
Digital storage
Base unit
byte

kB, MB, GB and TB use powers of 1,000; KiB, MiB, GiB and TiB use powers of 1,024. One byte is eight bits; labels used by other software may differ.

Results round to 12 significant digits using the listed unit definitions. Input must have a finite numeric magnitude and at most 512 significant digits. Type a single decimal or scientific number; a matching From unit suffix is accepted. Commas and grouped spaces separate thousands; decimal commas, fractions and compound measurements are refused.

1 B in every digital storage unit

  • Bitbit
    8
  • KilobytekB
    0.001
  • MegabyteMB
    0.000001
  • GigabyteGB
    1e-9
  • TerabyteTB
    1e-12
  • KibibyteKiB
    0.0009765625
  • MebibyteMiB
    9.53674316406e-7
  • GibibyteGiB
    9.31322574615e-10
  • TebibyteTiB
    9.09494701773e-13
Selectable complete conversion

Common questions

How many bytes are in a KB?
A decimal kilobyte (kB) is exactly 1,000 bytes; a binary kibibyte (KiB) is exactly 2^10 = 1,024 bytes. An external KB label can be ambiguous, so check its byte count or documented convention. Both units are labeled separately here. Examples: 2,048 B is 2 KiB, 4,096 B is 4 KiB, 10,000 B is 9.765625 KiB and 1,048,576 B is 1,024 KiB or exactly 1 MiB.
What is the formula for bytes to KB?
KiB = bytes / 1,024 for the binary reading, and kB = bytes / 1,000 for the decimal one. This page arrives with the binary reading in the To box, and choosing Kilobyte (kB) in that menu moves the headline to the decimal one, though you do not have to: both already appear in the list under the answer. Going the other way, bytes = KiB x 1,024 and bytes = kB x 1,000, and the swap button between the boxes sets that direction up for you.
Worked example: how many KB is 5,000 bytes?
4.8828125 KiB, and exactly 5 kB in decimal. Type 5,000 into the From box, with or without the comma, and 5e3 is read the same way. The list underneath gives the rest of the same size, including 40,000 bits and 0.005 MB. Other sizes work out the same way: 2,500 B is 2.44140625 KiB, 1,500,000 B is 1,464.84375 KiB and 1,000,000 B is 976.5625 KiB, 1,000 kB and exactly 1 MB.
What is 1 byte in KB?
0.0009765625 KiB, which is 1 divided by 1,024, and 0.001 kB in decimal. Neither needs exponential notation, because both stay above a millionth. From there, 100 B is 0.09765625 KiB, 500 B is 0.48828125 KiB and 1,000 B is 0.9765625 KiB, which is the whole disagreement in one line: a thousand bytes is one decimal kilobyte but only 0.9765625 binary ones.
Why does the menu say Kibibyte rather than KB?
KiB is the explicit binary unit and kB the explicit decimal unit. This page opens on bytes to KiB and also lists decimal kB, so you can compare either convention. For equal numeric counts, a KiB has 2.4% more bytes than a kB, a MiB has 4.8576% more bytes than an MB, and a GiB has 7.3741824% more bytes than a GB. Those percentages compare the sizes of the units; they do not mean data was lost when the same bytes are expressed with a smaller binary count.
Is kb with a small b the same as KB?
A kilobit is 1,000 bits, while a kilobyte is 1,000 bytes and a kibibyte 1,024 bytes. One byte is eight bits: 1,000 B = 8,000 bits = 8 decimal kilobits, and 1,024 B = 8,192 bits. The Bit row lists raw bits; kilobits are not a separate menu entry. For rates, preserve the time unit too: bit/s divided by eight gives byte/s. A file size in bytes and a transfer rate per second are different quantities and cannot be compared without a duration.
Can I convert KB back to bytes here?
Yes. The swap button between the two boxes reverses the pair, so the page becomes kibibytes to bytes: 1 KiB gives 1,024 B, 2 KiB gives 2,048 B, half a kibibyte gives 512 B and 1,024 KiB gives 1,048,576 B. To work in decimal kilobytes instead, choose Kilobyte (kB) in the From menu after swapping, where 1 kB is 1,000 B and 1 KiB is 1.024 kB.
How are the smallest rows printed?
Results are shown to twelve significant digits with trailing zeros dropped, and anything below a millionth switches to exponential notation rather than a run of leading zeros. So 1,024 B reads 1.024e-9 TB, 9.53674316406e-7 GiB and 9.31322574615e-10 TiB in the list, while the rows a person actually reads stay decimal: 1.024 kB, 0.001024 MB and 0.0009765625 MiB. Digits are grouped with commas for display, and Copy result copies the figure without them, as does the Copy button on each row.
Why does the page open on bytes and kibibytes when I last converted something else?
This focused page opens on Byte and Kibibyte, while preserving the main converter’s saved unit pair. When browser storage is usable, a saved value and uncommon-unit preference can travel between pages. The value’s suffix must still match the current From unit. Valid deliberate scalar edits can save those fields after a short delay; invalid or incomplete drafts do not overwrite the saved record. Unusable or conflicting records are kept with an explanation until you use Forget saved settings, which keeps the current conversion on screen. Your input and converted values are calculated in the browser and are not uploaded by the converter. The definitions arrive with the page, so conversion needs no external data lookup and keeps working offline after the page has loaded. The core conversion needs no account.

Results round to 12 significant digits using the listed unit conventions. Many factors are exact definitions; psi and parsec use rounded coefficients. Temperature includes scale offsets. Days and weeks are fixed-duration units, and unit conversion does not determine calendar dates, ambient pressure or a software label’s convention.