Calculators & Converters

    Convert Decimal 45 to Hex

    (45)10 = (?)16. Decimal 45 in hex conversion provides the detailed information on what is the hexadecimal equivalent of (45)10 and the step-by-step work for how to convert the decimal 45 to its equivalent hex (base-16) number manually.

    (45)10 in hex is equivalent to:
    4510 = 2D16

    Hence,
    (2D)16 is the hex equivalent of (45)10

    where,
    4510 is the given decimal number,
    10 in 4510 represents the base-10 or decimal number system,
    2D16 is the hex equivalent of the decimal 45,
    16 in 2D16 represents the base-16 or hexadecimal number system.

    Important Notes: (45)10 in Hex
    The below are some of the important notes to be remembered while converting the (base-10) decimal number 45 into a (base-16) hexadecimal equivalent.

    1. The initial or first remainder while performing 45 MOD-16 operation is a Least Significant Bit (LSB).
    2. The last remainder while performing 45 MOD-16 operation is a Most Significant Bit (MSB).
    3. Find the equivalent hex number for each remainders of 45 MOD-16 operation before arranging the numbers from MSB to LSB to find the hex equivalent.
    4. The remainders of 45 MOD-16 operation in hex equivalents should be written from MSB to LSB to form the hex equivalent for the given decimal number (45)10.

    For decimal values other than 45, use this below tool:

    How-to: What is (45)10 in hex?

    The below step-by-step solution shows how to convert (45)10 to its equivalent hexadecimal number. Represent each remainders of 45 MOD-16 operation in hex equivalents and arranging them from MSB to LSB produces the hex equivalent of 45.



    Solved Example:
    What is the hex equivalent of 45?

    step 1 Observe the input parameters, values and what to be found:

    Input values:
    Decimal Number = (45)10

    What to be found:
    What is the hexadecimal value of decimal number 45?
    (45)10 = (?)16

    step 2 Perform successive MOD-16 operation for decimal 45 until the quotient becomes 0, and mark the initial remainder as LSB and the final remainder as MSB as like the below:

    Successive MOD-16 Operation for 45
    45 MOD-16     45 / 16 = 2  Remainder is 13 → LSB
    2 MOD-16     2 / 16 = 0  Remainder is 2 → MSB

    step 3 Use the below table to find the equivalent hex representation for each remainders of successive 45 MOD-16 operation:
    Decimal: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
    Hex: 1 2 3 4 5 6 7 8 9 A B C D E F

    Decimal 13 in hex is D → LSB
    Decimal 2 in hex is 2 → MSB


    step 4 Write the remainders of 45 MOD-16 operation in hex equivalents from MSB to LSB produces the equivalent hex (base-16) number for decimal (base-10) 45:
    = 2D
    (45)10 = (2D)16

    Therefore,
    the hex equivalent of 45 is (2D)16.
    getcalc.com Calculators