🔄 Conversion Methods
Learn step-by-step how to convert between different number systems. Choose a conversion type below to see instructions and examples.
📤 Converting FROM Decimal
1
Divide by Target Base
Divide your decimal number by the target base (2, 8, or 16).
2
Record the Remainder
Write the remainder; it becomes a digit of your answer.
3
Repeat with Quotient
Use the quotient as the new number; continue until it’s 0.
4
Read Bottom to Top
Read remainders from last to first.
Example: 25 → Binary
25 ÷ 2 = 12 r 1
12 ÷ 2 = 6 r 0
6 ÷ 2 = 3 r 0
3 ÷ 2 = 1 r 1
1 ÷ 2 = 0 r 1
Answer: 11001
📥 Converting TO Decimal
1
Identify the Base
Know if the source is base 2, 8, or 16.
2
Number the Positions
From right to left: 0, 1, 2, …
3
Calculate Each Term
digit × base^position
4
Add Them Up
Sum the terms to get decimal.
Example: 1A3₁₆ → Decimal
1×16² + 10×16¹ + 3×16⁰ = 256 + 160 + 3 = 419
🔄 Converting Between Non-Decimal Bases
1
Convert to Decimal
Use the “To Decimal” method.
2
Convert from Decimal
Use the “From Decimal” method to the target base.
3
Shortcuts
Binary↔Hex group by 4 bits; Binary↔Octal group by 3 bits.
4
Practice
Start two-step; add shortcuts later.
Example: FF₁₆ → Binary
Answer: 11111111₂
Shortcut: F = 1111; FF = 11111111