Scientific Converters Precise unit conversions for science & engineering.

    Loading…

    Number Base Converter

    Each base change keeps the value and rewrites the digits: 45.625 in binary is 101101.101.

    Integers or fractions, e.g. 101101.101, 2D.A or 45.625; a minus sign is allowed.

    Binary

    101101.101

    Octal
    55.5
    Decimal
    45.625
    Hexadecimal
    2D.A
    Binary grouped in fours
    10 1101.101
    Step-by-step solution
    1. Integer part: divide repeatedly by the target base and read the remainders bottom-up
    2. Fraction part: multiply repeatedly by the target base and read the integer parts top-down
    3. Shortcut: one hex digit = 4 bits, one octal digit = 3 bits

    Number Base Converter Formula

    N = Σ dᵢ·bⁱ

    integer part: repeated division; fraction: repeated multiplication by the base

    Worked Example

    The decimal number 45.625:

    1. Integer part: divide repeatedly by the target base and read the remainders bottom-up
    2. Fraction part: multiply repeatedly by the target base and read the integer parts top-down
    3. Shortcut: one hex digit = 4 bits, one octal digit = 3 bits

    Decimal: 45.625 · Hexadecimal: 2D.A · Binary grouped in fours: 10 1101.101

    GATE tip

    Number-system questions in GATE often hide an unknown base, e.g. (123)ₓ = (38)₁₀. Expand x² + 2x + 3 = 38 and solve; check with this converter using the “other base” option.

    More Digital Logic and Number Representation Calculators

    Frequently asked questions

    How do I convert binary to hexadecimal quickly?

    Group the bits in fours from the point outwards and replace each group with its hex digit: 1011 0101 = B5.

    Why does 0.1 never end in binary?

    0.1 = 1/10 and 10 has the factor 5, so the binary fraction repeats (0.000110011…); that is why 0.1 + 0.2 ≠ 0.3 exactly in floating point.

    Sources

    Last reviewed: . Factors are stored exactly and computed with 50-digit decimal arithmetic. See how we verify conversion factors.

    Cite this page

    APA

    Scientific Converters. (2026, October 15). Number Base Converter. Retrieved October 25, 2026, from https://scientificconverters.com/calculators/number-base-converter/

    IEEE

    Scientific Converters, "Number Base Converter," scientificconverters.com. Accessed: Oct. 25, 2026. [Online]. Available: https://scientificconverters.com/calculators/number-base-converter/

    Send feedback

    Found a wrong value, a missing unit or an idea? Tell us. We read every message.

    What is it about?

    We store your message, the page you were on and your email if given. See the privacy policy.