12

From Zero to Engineer

Converting a decimal number to another number system

Dividing by the base with remainders converts the integer part, and multiplying by the base converts the part after the point. Worked examples for the binary, octal and duodecimal systems.

The previous lessons went one way: from another system to decimal. Now we go back. Divide the integer part by the base until nothing is left, then read the remainders from the bottom up. Multiply the part after the point by the base and take the whole part of each result - those are the digits after the point. Both ladders are mechanical: nothing to guess and no place values to remember.

Conversion from the decimal system to another number system

Binary form

remainder
245: 21
122: 20
61: 21
30: 20
15: 21
7: 21
3: 21
1: 21
0
24510=111101012245_{10} = 11110101_{2}

Octal form

remainder
524: 84
65: 81
8: 80
1: 81
0
52410=10148524_{10} = 1014_{8}

Duodecimal form

remainder
897: 129
74: 122
6: 126
0
89710=62912897_{10} = 629_{12}

Converting a fraction in the decimal system to octal and duodecimal form

0.526· 8
4.208· 8
1.664· 8
5.312· 8
2.496
we multiply only the fractional part
0.52610=0.415280.526_{10} = 0.4152_{8}
0.306· 12
3.672· 12
8.064· 12
0.768· 12
9.216
we multiply only the fractional part
0.30610=0.3809120.306_{10} = 0.3809_{12}

Convert to the octal system

492.73110=754.56628492.731_{10} = 754.5662_{8}
remainder
492: 84
61: 85
7: 87
0
49210=7548492_{10} = 754_{8}
0.731· 8
5.848· 8
6.784· 8
6.272· 8
2.176
we multiply only the fractional part
0.73110=0.566280.731_{10} = 0.5662_{8}

Convert to the duodecimal system

384.42610=280.514212384.426_{10} = 280.5142_{12}
remainder
384: 120
32: 128
2: 122
0
38410=28012384_{10} = 280_{12}
0.426· 12
5.112· 12
1.344· 12
4.128· 12
1.536· 12
6.432
we multiply only the fractional part
0.42610=0.5142120.426_{10} = 0.5142_{12}

The fifth digit decides how the fourth is rounded: 6 is half of twelve, so 0.51416 is written as 0.5142.

Frequently asked questions

How do you convert a decimal number to binary?

Divide it by 2 until the quotient is zero, writing down the remainders. Read from the bottom up they give the answer: dividing 245 by 2 repeatedly gives remainders 1, 0, 1, 0, 1, 1, 1, 1, that is 11110101 in binary.

Why are the remainders read from the bottom up?

Because the first remainder belongs to the smallest place, the units, and each next one to a place higher up. The last remainder is therefore the leftmost digit of the answer.

How do you convert the part after the point?

Multiply it by the base of the system. The whole part of the result is the first digit after the point, and the fractional part goes into the next multiplication. For 0.526 and base 8 the successive products are 4.208, 1.664, 5.312 and 2.496, that is 0.4152 in octal.

When do you stop multiplying the fractional part?

When the fractional part becomes zero, or when you have as many digits as you need. The expansion is often non-terminating, so you usually compute one extra digit and round the last one.

Previous

Converting numbers from other systems to decimal - an alternative method

Next

Octal as an intermediate step: from decimal to binary and hexadecimal

PhiBoard

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

Coming soon to

Google Play

Download on the

App Store

PhiBoard

Tools

Capabilities

Knowledge base

Support

FAQ

Our mission

Contact

More

Our goalFor schoolsNews

Documents

TermsPrivacy policy

office@phiboard.com

Support the project

© 2026 PhiBoard. All rights reserved.

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.

Converting a decimal number to another number system | PhiBoard