Search

How to use calculator for binary, decimal and hexadecimal number conversions

If you have very good knowledge in binary, decimal and hexadecimal number systems and if you need to confirm whether the conversion calculations you did manually are correct or not, there is an option in Windows 10 Operating System to do the conversion calculations. You can do the binary, decimal and hexadecimal number conversions using the in-built calculator in Windows 10. This lesson explains how to use in-built calculator in Windows 10 for binary, decimal and hexadecimal number conversions.

Use the calculator program only to check whether the calculations you did manually are correct or not. Please note that learning conversion calculations only in calculator will not help you to survive job interviews and certification examinations.

I suggest you to visit the following link and learn the concepts of binary, decimal and hexadecimal number systems and binary, decimal and hexadecimal number conversions.

Open the calulator program in Windows 10 by typing calculator at search box. Click the "Calulcator" application as shown below.

open-calculator-windows-10.jpg

Once the calculator program is open, check the mode which calculator program is running. In this case, the calculator is running in "Standard" mode. In "Standard" mode, you can do only basic mathematical calculations. Please refer below image.

calculator-mode-running-standard.jpg

Change the mode to "Programmer" as shown below to do calculations using different number systems. Here we have options for doing calculations in binary, decimal, octal and hexadecimal number systems.

change-calculator-mode-to-programmer.jpg

Please refer below image. There are four number systems avaialable in "Programmer" mode of calculator available with Windows 10. The available number systems are HEX (Hexadecimal), DEC (Decimal), OCT (Octal), and BIN (Binary) number systems. You can also see that the current number system is hi-lighted with a black rectangle at its left-side. In this case, the current input number system is DEC (Decimal). Since the input number system is DEC (Decimal), calculator has its numeric input keys (0 to 9) enabled and hexadecimal alphabet keys (A to F) disabled.

You may select any available number system (HEX, DEC, OCT, or BIN) by clicking on it. When the current input is decimal number system, calculator accepts your input as a decimal number. Similarly, when HEX (Hexadecimal) or BIN (Binary) is selected, calculator considers your input as Hexadecimal or Binary number systems respectively.

calculator-options-hex-dec-oct-bin.jpg

Convert a decimal number to its equivalant hexadecimal and binary numbers

Make sure that your current input number system is DEC (decimal). Enter the number you want to convert from decimal number system to binary or hexadecimal number system. In below example, I had entered 168 in decimal input mode.

convert-from-decimal-to-binary-and-hexadecimal.jpg

You can see the conversions of the decimal number entered to equivalant binary and hexadecimal numbers, as shown in below image. From the screenshot, you can see that the binary equivalant of decimal number 168 is 10101000. Hexadecimal equivalant of decimal number 168 is A8.

decimal-converted-to-binary-hexadecimal.jpg

You can copy the converted numbers from the calculator. For example; if you want to copy the binary equivalant of decimal number 168, "1010100" to Operating System clipboard, right-click the number you want to copy and then select "Copy" from the context menu.

copy-converted-number.jpg

Convert a binary number to its equivalent decimal and hexadecimal numbers

Now select binary as the input number system by selecting "BIN" in calculator. You had already learned binary number system has only two numeric characters (0 and 1) to represent entire numbers. You can see from the below image that the calculator has only 0 and 1 input keys enabled and all other numeric inputs are disabled.

select-binary-as-input-system.jpg

Now enter the binary number you want to convert to decimal or hexadecimal. If you have a binary number in your clipboard, you can paste it to the calculator also. If you try to paste a non-binary number when BIN (binary) is selected as the calculator input, you may get an ‭‬"Invalid input‬" error. In this example, I had entered the binary number 11011000.

enter-the-binary-to-convert-to-decimal-or-hexadecimal.jpg

You can see the entered binary number (11011000) is converted to decimal, hexadecimal and octal number systems as shown below. Decimal equivalant of the binary number 11011000 is 216 and hexadecimal equivalant of the binary number 11011000 is D8.

binary-number-converted-to-decimal-and-hexadecimal.jpg

Convert a hexadecimal number to its equivalant decimal and binary numbers

Now select hexadecimal as the input number system by selecting "HEX". You had already learned hexadecimal number system has numeric characters 0 to 9 and alphabets A to F to represent entire numbers. You can see that when HEX (Hexadecimal) number system is selected, the calculator has both numeric inputs keys 0 to 9 and alphabet input keys A to F enabled. In this example, I had entered the hexadecimal number AA.

select-hexadecimal-as-input-system.jpg

You can see the entered hexadecimal number (AA) is converted to decimal, binary and octal number systems as shown below. Decimal equivalant of the hexadecimal number AA is 170 and binary equivalant of the hexadecimal number AA is 10101010.

hexadecimal-number-converted-to-decimal-and-binary.jpg

Related Tutorials
Binary Decimal and Hexadecimal numbers and conversions
What is MAC address or Layer 2 address or physical address
Broadcast MAC Address - ff:ff:ff:ff:ff:ff
IPv4 multicast MAC Addresses
IPv4 Limited broadcast address
IPv4 Directed broadcast address
Class A networks and Class A IP addresses
Class B networks and Class B IP addresses
Class C networks and Class C IP addresses
Class D multicast IP addresses
IPv4 link-local multicast addresses
IPv4 Internetwork control block multicast addresses
IPv4 Source-Specific Multicast (SSM) address reservation
IPv4 GLOP multicast addresses
Administratively scoped multicast address block or Limited scope addresses
Class C Subnetting - Part 1
Class C Subnetting - Part 2
Class B Subnetting - Part 1
Class B Subnetting - Part 2
Class A Subnetting - Part 1
Class A Subnetting - Part 1
How to find out the Network Address and Broadcast Address of a subnetted IPv4 address