Ad
Ad
Math & Statistics
Decimal Base Converter
Convert a decimal integer into binary, octal, and digit counts.
Inputs
01,023
Calculation Results
Binary (Base 2 Representation)
1,11,11,111
Octal (Base 8 Representation)
377
Bits Required
8
Formula & Mathematical Explanation
Decimal numbers can be represented in other bases (such as base 2 for binary and base 8 for octal) by repeatedly dividing by the target base and reading the remainders in reverse. The minimum bits required is the binary logarithm rounded down plus one.
Ad
Ad