Convert between binary, octal, decimal and hexadecimal the way it’s actually taught — repeated division and the place-value table, one step at a time — plus an interactive bit row and a practice mode for homework.
Browse Computer Basics lessonsRepeated division — divide by the target base, keep the remainder, repeat until 0
Click a bit to flip it. The decimal value updates live — a hands-on feel for place value, separate from the step-by-step method above.
Decimal value: 84
Solve it on paper first, then type your answer to check — this doesn’t give away the steps until you ask.
Two methods, matching what’s in the textbook: converting into decimal uses the place-value table (each digit times its column’s power of the base, summed); converting out of decimal uses repeated division (divide by the target base, keep the remainder, repeat until the quotient is 0, then read the remainders bottom to top). Converting between two non-decimal bases — binary to hex, say — runs both methods back to back through decimal, exactly like doing it by hand in two steps. The faster 4-bit binary↔hex grouping shortcut some textbooks teach later isn’t used here on purpose, so every conversion in this tool follows one consistent, showable method.