Number Base Converter
See how a decimal number is represented in different bases. Shows remainders for base-2, base-8, and base-16 analysis.
Rem 2
1
Rem 87
Rem 1615
Log16 Val2
Number Base Conversion
Method: Repeated Division
To convert decimal to base b: 1. Divide n by b, record the remainder 2. Replace n with the quotient 3. Repeat until n = 0 4. Read remainders from bottom to top
Common Bases
Example Calculation
Analyze the number 255 in different bases.
- 01255 in binary: 11111111 (8 binary digits)
- 02255 in octal: 377 (last digit: 255 mod 8 = 7)
- 03255 in hex: FF (last digit: 255 mod 16 = 15 = F)
- 04Bits needed: floor(log2(255))+1 = 8
Frequently Asked Questions
Learn More
How to Calculate Percentages - Complete Guide
Learn how to calculate percentages step by step. Covers finding a percentage of a number, percentage change, reverse percentages, and real-world applications.