Whiteboard
The whiteboard is the heart of our platform. See how you can work with it.
Explore the tools of our whiteboard
Find out what you can do with PhiBoard
Knowledge base
Courses, exercises with worked solutions and printable sheets. Everything you need to learn and teach maths.
Who it is for
Students, teachers, tutors and schools each use PhiBoard their own way. See how the whiteboard fits yours.
Our missionContact
PhiBoardKnowledge base · From Zero to Engineer
10

From Zero to Engineer

Number systems: binary, octal, duodecimal and hexadecimal

Place values as powers of the base, the symbols each system uses, and converting a number written in binary, octal, duodecimal or hexadecimal into a decimal number.

The decimal system is not the only one possible - it is simply the one we are used to. Every system rests on the same principle: a place value is a power of the base. The base and the set of symbols change, everything else stays. This lesson shows four such systems and one conversion method that works in all of them.

Number systems - the decimal number system

2765,323
place values10310^{3}10210^{2}10110^{1}10010^{0}10−110^{-1}10−210^{-2}10−310^{-3}
10001000100100101011110\tfrac{1}{10}1100\tfrac{1}{100}11000\tfrac{1}{1000}

The place values are powers of 10, hence the decimal number system.

The binary number system (base 2)

1011,101
place values232^{3}222^{2}212^{1}202^{0}2−12^{-1}2−22^{-2}2−32^{-3}
8844221112\tfrac{1}{2}14\tfrac{1}{4}18\tfrac{1}{8}

The place values are powers of 2.

Converting a binary number to a decimal number

a)1011.1012=11.62510\text{a)}\quad 1011.101_{2} = 11.625_{10}
1⋅8+0⋅4+1⋅2+1⋅1+1⋅12+0⋅14+1⋅18=11+12+18=1158=11.625\begin{aligned}&1 \cdot 8 + 0 \cdot 4 + 1 \cdot 2 + 1 \cdot 1 + 1 \cdot \tfrac{1}{2} + 0 \cdot \tfrac{1}{4} + 1 \cdot \tfrac{1}{8} \\&= 11 + \tfrac{1}{2} + \tfrac{1}{8} = 11\tfrac{5}{8} = 11.625\end{aligned}
b)1101.0112=13.37510\text{b)}\quad 1101.011_{2} = 13.375_{10}
1⋅8+1⋅4+0⋅2+1⋅1+0⋅12+1⋅14+1⋅18=13+14+18=1338=13.375\begin{aligned}&1 \cdot 8 + 1 \cdot 4 + 0 \cdot 2 + 1 \cdot 1 + 0 \cdot \tfrac{1}{2} + 1 \cdot \tfrac{1}{4} + 1 \cdot \tfrac{1}{8} \\&= 13 + \tfrac{1}{4} + \tfrac{1}{8} = 13\tfrac{3}{8} = 13.375\end{aligned}

The small subscripts 2 and 10 indicate the bases of the two number systems.

The octal number system (base 8)

The octal number system uses the following symbols: 0, 1, 2, 3, 4, 5, 6, 7.

357,321
place values828^{2}818^{1}808^{0}8−18^{-1}8−28^{-2}8−38^{-3}
6464881118\tfrac{1}{8}164\tfrac{1}{64}1512\tfrac{1}{512}

The place values are powers of 8.

Converting an octal number to a decimal number

a)357.3218=239.40810\text{a)}\quad 357.321_{8} = 239.408_{10}
3⋅64+5⋅8+7⋅1+3⋅18+2⋅164+1⋅1512=192+40+7+38+132+1512=239209512=239.408\begin{aligned}&3 \cdot 64 + 5 \cdot 8 + 7 \cdot 1 + 3 \cdot \tfrac{1}{8} + 2 \cdot \tfrac{1}{64} + 1 \cdot \tfrac{1}{512} \\&= 192 + 40 + 7 + \tfrac{3}{8} + \tfrac{1}{32} + \tfrac{1}{512} \\&= 239\tfrac{209}{512} = 239.408\end{aligned}

correct to three decimal places

b)263.4528=179.58210\text{b)}\quad 263.452_{8} = 179.582_{10}
2⋅64+6⋅8+3⋅1+4⋅18+5⋅164+2⋅1512=128+48+3+12+564+1256=179149256=179.582\begin{aligned}&2 \cdot 64 + 6 \cdot 8 + 3 \cdot 1 + 4 \cdot \tfrac{1}{8} + 5 \cdot \tfrac{1}{64} + 2 \cdot \tfrac{1}{512} \\&= 128 + 48 + 3 + \tfrac{1}{2} + \tfrac{5}{64} + \tfrac{1}{256} \\&= 179\tfrac{149}{256} = 179.582\end{aligned}

correct to three decimal places

The duodecimal number system (base 12)

The duodecimal number system uses the following symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, X, Λ.

2X5,136
place values12212^{2}12112^{1}12012^{0}12−112^{-1}12−212^{-2}12−312^{-3}
144144121211112\tfrac{1}{12}1144\tfrac{1}{144}11728\tfrac{1}{1728}

The place values are powers of 12.

Converting a duodecimal number to a decimal number

a)2X5.13612=413.10810\text{a)}\quad 2X5.136_{12} = 413.108_{10}
2⋅144+10⋅12+5⋅1+1⋅112+3⋅1144+6⋅11728=288+120+5+112+3144+1288=41331288=413.108\begin{aligned}&2 \cdot 144 + 10 \cdot 12 + 5 \cdot 1 + 1 \cdot \tfrac{1}{12} + 3 \cdot \tfrac{1}{144} + 6 \cdot \tfrac{1}{1728} \\&= 288 + 120 + 5 + \tfrac{1}{12} + \tfrac{3}{144} + \tfrac{1}{288} \\&= 413\tfrac{31}{288} = 413.108\end{aligned}

correct to three decimal places

b)3Λ4.26512=568.21110\text{b)}\quad 3\Lambda 4.265_{12} = 568.211_{10}
3⋅144+11⋅12+4⋅1+2⋅112+6⋅1144+5⋅11728=432+132+4+16+124+51728=5683651728=568.211\begin{aligned}&3 \cdot 144 + 11 \cdot 12 + 4 \cdot 1 + 2 \cdot \tfrac{1}{12} + 6 \cdot \tfrac{1}{144} + 5 \cdot \tfrac{1}{1728} \\&= 432 + 132 + 4 + \tfrac{1}{6} + \tfrac{1}{24} + \tfrac{5}{1728} \\&= 568\tfrac{365}{1728} = 568.211\end{aligned}

correct to three decimal places

The hexadecimal number system

The hexadecimal number system uses the following symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F.

2A7,3E2
place values16216^{2}16116^{1}16016^{0}16−116^{-1}16−216^{-2}16−316^{-3}
256256161611116\tfrac{1}{16}1256\tfrac{1}{256}14096\tfrac{1}{4096}

The place values are powers of 16.

Converting a hexadecimal number to a decimal number

a)2A7.3E216=679.24310\text{a)}\quad 2A7.3E2_{16} = 679.243_{10}
2⋅256+10⋅16+7⋅1+3⋅116+14⋅1256+2⋅14096=512+160+7+316+7128+12048=6794972048=679.243\begin{aligned}&2 \cdot 256 + 10 \cdot 16 + 7 \cdot 1 + 3 \cdot \tfrac{1}{16} + 14 \cdot \tfrac{1}{256} + 2 \cdot \tfrac{1}{4096} \\&= 512 + 160 + 7 + \tfrac{3}{16} + \tfrac{7}{128} + \tfrac{1}{2048} \\&= 679\tfrac{497}{2048} = 679.243\end{aligned}

correct to three decimal places

b)3C4.21F16=964.13310\text{b)}\quad 3C4.21F_{16} = 964.133_{10}
3⋅256+12⋅16+4⋅1+2⋅116+1⋅1256+15⋅14096=768+192+4+18+1256+154096=9645434096=964.133\begin{aligned}&3 \cdot 256 + 12 \cdot 16 + 4 \cdot 1 + 2 \cdot \tfrac{1}{16} + 1 \cdot \tfrac{1}{256} + 15 \cdot \tfrac{1}{4096} \\&= 768 + 192 + 4 + \tfrac{1}{8} + \tfrac{1}{256} + \tfrac{15}{4096} \\&= 964\tfrac{543}{4096} = 964.133\end{aligned}

correct to three decimal places

PhiBoard is a free online whiteboard for maths

This lesson is part of it. On the board itself you can draw a number line, a graph or a figure, write a formula and solve a problem together with a teacher or a friend - live, in the browser. Our app is completely free.

Create a free account
See what the board can do

Frequently asked questions

How do you convert a binary number to a decimal number?

Multiply each digit by its place value, that is by the appropriate power of two, and add the results. For 1011.101 that gives 8 + 2 + 1 + 1/2 + 1/8, which is 11.625.

What symbols does the hexadecimal system use?

The digits 0 to 9 and the letters A to F, where A stands for ten and F for fifteen. That way each position holds sixteen different values using a single character.

What does the small subscript next to a number mean?

The base of the system the number is written in. The notation 1011₂ = 11₁₀ reads: the number 1011 in base two is 11 in base ten.

Why does the duodecimal system need extra symbols?

Because a single position has to hold twelve values, and there are only ten digits from 0 to 9. The two missing ones are written with the separate symbols X and Λ, standing for ten and eleven.

A lesson from the PhiBoard knowledge base: phiboard.com/en/knowledge-base/from-zero-to-engineer/number-systems. On the lesson page you will also find games and practice exercises - free and without an account.
PhiBoard

A modern, interactive board for study and work. Create, teach and collaborate - completely free.

PhiBoard

ToolsCapabilities

Mobile app

For schoolsOur goalNews

FAQ

Contact

Documents

TermsPrivacy policy

office@phiboard.com

Support the project

© 2026 PhiBoard. All rights reserved.

Online math whiteboardOnline tutoring whiteboardWhiteboard for teachersFunction graphs online

We Use Cookies

To improve the quality of our services, we use cookies. Cookies help us tailor our website to your preferences, analyze how you use the site, and provide a better user experience. By accepting cookies, you consent to their use for optimizing functionality and content on the site.

We use cookies to keep the site working and to improve it. Choose which ones you accept.

Number systems: binary, octal, duodecimal and hexadecimal | PhiBoard