Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds
👥 Community & Social
YouTube Security VideosAnonymous Official: I'm begging you to understand this..(20.09.2026 um 21:30 Uhr)
Sichere ProgrammierungHow to Monitor Cron Jobs with a Simple HTTP Health Check(20.09.2026 um 23:14 Uhr)
Sichere ProgrammierungWhy my builds don't run on my laptop(20.09.2026 um 23:15 Uhr)
Sichere ProgrammierungDesigning offline-first when there's no server(20.09.2026 um 23:16 Uhr)
Sichere ProgrammierungSearching for Better Game Recommendations with Jev(20.09.2026 um 23:19 Uhr)
Linux Tipps & HardeningUbuntu 26.10 stops low memory from killing your desktop session(20.09.2026 um 19:55 Uhr)
YouTube Security VideosAnonymous Official: I'm begging you to understand this..(20.09.2026 um 21:30 Uhr)
Sichere ProgrammierungHow to Monitor Cron Jobs with a Simple HTTP Health Check(20.09.2026 um 23:14 Uhr)
Sichere ProgrammierungWhy my builds don't run on my laptop(20.09.2026 um 23:15 Uhr)
Sichere ProgrammierungDesigning offline-first when there's no server(20.09.2026 um 23:16 Uhr)
Sichere ProgrammierungSearching for Better Game Recommendations with Jev(20.09.2026 um 23:19 Uhr)
Linux Tipps & HardeningUbuntu 26.10 stops low memory from killing your desktop session(20.09.2026 um 19:55 Uhr)
Intelligence View
⚡ tsecurity.de Intelligence

Conversion between different number systems

Reagiere als Erste:r — dein Feedback zählt!

Hello, everyone!
Today, we will learn how the different number systems get converted. In this article, with the help of examples, you will get an idea about conversion from one base to another, including:

  • Binary to Decimal Number System
  • Decimal to Binary Number System
  • Octal to Decimal Number System
  • Hexadecimal to Decimal Number System
  • Octal to Binary Number System
  • Binary to Octal Number System
  • Binary to Hexadecimal Number System
  • Hexadecimal to Binary Number System

First of all, let me explain the concept in a little more detail. The number system is a way of writing or giving representation to numbers using symbols under certain rules. There are four types of number systems:

  • Binary - Base 2
  • Decimal - Base 10
  • Octal - Base 8
  • Hexadecimal - base 16

Binary to Decimal Number system

We want, for example, 110₂ to convert to a decimal number, which is 6. How did we do it?
Write the power of two from right to left under each digit. As you go left, the exponent begins at 0 and increases by one for each next digit.
Let's look at the example:
The rightmost 0 is the "ones" place (2⁰).
The middle 1 is the "twos" place (2¹).
The leftmost 1 is the "fours" place (2²).
For each binary digit, multiply it by its corresponding power of 2:
Then, write down the power of 2 under each binary digit, multiply them, and add

Image description

Decimal to Binary Number System
In our daily life, we use decimal numbers; as an example, let's take 12. We want to convert it into base 2; it would be 1100. In converting a decimal number to its binary form, the decimal number is repeatedly divided by 2, and the remainder obtained at every step is noted. The binary equivalent is obtained by reading the remainders from bottom to top.

Image description

Octal and Hexadecimal to Binary Number System
This process is similar to converting between decimal and binary. Instead of dividing by 2 (as in binary), you divide by 8 for octal and by 16 for hexadecimal.

Image description
331 = 14B

Image description
461 = 715

Octal and Hexadecimal to Binary Number System
To convert the number from octal into binary, each digit of the given number should be written as a three-digit binary number (triple) for octal and as a four-digit binary number for hexadecimal, and then combined. You'll see how it will work in the example.

Image description

Image description

Image description

Binary to Octal and Hexadecimal Number System
Actually, it works pretty similarly, and the above example works, too. To convert the binary number to octal or hexadecimal, you have to divide the binary number into groups of 3 digits for octal and 4 digits for hexadecimal starting from the right. If there are not enough digits in the last group on the left, fill up with leading zeros.

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Conversion between different number systems

Thematisch verwandte Begriffe: Conversion, between, different, number · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-93956 | A flaw has been found in olivier-ls PHP-FTS up to 1.1.2. Affected by thi…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel Rechts: nächster Artikel unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick