Skip to main content
Number Base Converter - Base to Base Calculator & Decimal Converter
Base to Base Converter • Number Base Translation Calculator

Number Base Converter & Calculator

Free online number base converter, base to base converter, and base conversion calculator. Convert decimal to base 2, calculate binary octal conversion calculator values, and use our decimal to floating point converter with full step-by-step arithmetic.

Binary (Base 2)
11111111
Octal (Base 8)
377
Decimal (Base 10)
255
Hexadecimal (Base 16)
FF
Base 32
7V
Base 36
73
Convert Decimal to Arbitrary Base N (Base 2 – 36)
193 (Duodecimal Base 12)
Decimal to Floating Point Converter (IEEE 754 Single 32-Bit)
Sign: 0 (+)
Exp: 10000110
Mant: 11111110000000000000000
Hex representation: 0x437F0000
Step-by-Step Base Conversion Calculator (Repeated Division)

Complete Guide: How to Convert Base Numbers & Converting to Base 10

Welcome to the definitive number base converter and base to base calculator. Throughout history and computer science, civilizations and computing architectures have used varying radix systems: ancient Babylonians used sexagesimal (base 60), Mayans used vigesimal (base 20), digital electronics use binary (base 2), and modern humans standardly use the denary decimal system (base 10). When working with computer architectures, bitmasks, memory addressing, or cryptography, using an accurate number base conversion calculator and decimal to base n converter is vital.

Mathematical Principles: Converting Bases Calculator

Any integer N in base b can be expressed through positional polynomials:

Value = dn×bn + dn-1×bn-1 + ... + d1×b1 + d0×b0

To convert from base to base:

  1. Convert Source Base to Base 10: Multiply each digit by the source base raised to its zero-indexed position from right to left.
  2. Convert Decimal to Target Base: Repeatedly divide the decimal number by the target base, writing down the remainders until the quotient reaches 0. Reading remainders from last to first gives the final result.

Standard Number Bases Comparison Table

Base (Radix) System Name Allowed Digits Typical Technology Application
Base 2 Binary 0, 1 Logic gates, machine code, bitwise arithmetic
Base 8 Octal 0 – 7 Unix file permissions (e.g. chmod 755), legacy mainframes
Base 10 Decimal (Denary) 0 – 9 Human arithmetic, currency, SI measurements
Base 16 Hexadecimal 0 – 9, A – F RAM memory addresses, CSS hex colors, byte inspection
Base 36 Hexatrigesimal 0 – 9, A – Z Compact URL shorteners, alphanumeric serial keys

Decimal to Floating Point Converter (IEEE 754 Standard)

In modern computing (C, C++, Java, JavaScript, Python), floating-point numbers are represented using the IEEE 754 standard. A 32-bit single-precision float contains:

  • 1 Sign Bit: 0 for positive, 1 for negative.
  • 8 Exponent Bits: Stores the exponent with an offset bias of +127.
  • 23 Mantissa Bits: Stores the significant fractional binary bits with an implicit leading 1.

Frequently Asked Questions (FAQ)

What is a decimal to decimal converter?
A decimal to decimal converter standardizes, formats, or validates decimal notation across differing regional formats (e.g. converting European comma decimals 12,50 to standard dot notation 12.50, or scientific notation 1.25e1 to standard base 10 integer forms).
Why does hexadecimal use letters A through F?
Because base 16 requires 16 unique single-digit symbols. The digits 0 through 9 provide ten symbols, so the first six Latin letters are borrowed: A = 10, B = 11, C = 12, D = 13, E = 14, and F = 15.
Can this calculator convert negative numbers between bases?
Yes. For base conversions, negative numbers preserve their negative sign across bases (e.g. -255 in decimal is -FF in hex and -11111111 in binary). In our IEEE 754 floating point inspector, negative numbers set the leading Sign bit to 1.
Copied to clipboard!