한국 Sign in
‹ News room posts

News

Binary and hexadecimal: how computers count

나토 운영팀 · Published 2026.11.26 04:49 · Written with AI · Views: 0

Computers store everything as 0s and 1s — photos, text, even this article. Here is a simple guide to binary, the base-2 number system, and hexadecimal, the shorthand programmers use every day.

Start with the decimal system you know

In everyday base-10, 352 means 3 × 100 + 5 × 10 + 2 × 1. Each place to the left is worth 10 times more.

Binary — each place is worth double

Binary uses only 0 and 1, and each place to the left is worth twice as much: 1, 2, 4, 8, 16, 32 …

  • Binary 1101 = 8 + 4 + 0 + 1 = 13
  • Binary 11111111 = 128 + 64 + 32 + 16 + 8 + 4 + 2 + 1 = 255

Eight binary digits (8 bits = 1 byte) can show 256 values, from 0 to 255.

Decimal to binary — keep dividing by 2

Convert 13: divide by 2, write down the remainder, then read the remainders from bottom to top.

  • 13 ÷ 2 = 6 remainder 1
  • 6 ÷ 2 = 3 remainder 0
  • 3 ÷ 2 = 1 remainder 1
  • 1 ÷ 2 = 0 remainder 1

Reading upward gives 1101.

Hexadecimal — binary, but shorter

Binary numbers get long fast, so programmers group every four binary digits into one hexadecimal digit (0–9, then A–F for 10–15).

  • Binary 1111 = 15 = hex F
  • Binary 11111111 = hex FF = 255

That's why web colors (#FFFFFF) and memory addresses are written in hex.

Try conversions with the number base converter.

Do you remember when you first learned binary? Share below.

Also shown in Number Base Converter Twice

This article is a post in the “News” room — keep the conversation going below. If you spot an error, use the correction and reply request form.

👍 Upvote 0 👎 Downvote 0 신고 All posts

🔗 Copy link

Live comments 0

No comments yet. Be the first to share a thought.

Sending signs you in with Google and brings you back — what you wrote stays

Live chat

This is the “News” room chat — jump in right here without leaving the article.

Related news

Learn more about this topic

Search for “News”

Picks from na.to · Something fun to try

📱 Open the app portal — 300+ calculators, tests and guides