Hex to Decimal

Hex to decimal on a calculator

Use the keypad to see how a programmer calculator works: type in HEX and read the DEC line. The steps for real calculators are below.

HEX0
DEC0
OCT0
BIN0

You can also type on your keyboard: 0-9, A-F, Backspace and Escape. For any length of value, use the hex to decimal converter.

Which calculators convert hex to decimal

CalculatorHex modeWhere to find it
Casio fx-991ES PLUS, fx-570ES PLUSYesBASE-N mode
Casio fx-991MS, fx-570MSYesBASE-N mode
Casio fx-991CW, fx-570CW (ClassWiz)YesBase-N app in the Menu
TI-30X Pro MathPrintYesNumber base mode and CONVR menu
TI-83 Plus, TI-84 PlusNoNeeds a downloaded program
Windows CalculatorYesProgrammer mode
Mac CalculatorYesProgrammer view
Phone calculators (Android, iPhone)NoUse a browser converter

Key steps for each calculator

Pick a calculator. Each panel lists the key presses, and the picture shows the same keys for a value you type. Key legends differ between models, so check the manual for yours.

Casio scientific calculators (BASE-N mode)

Enter BASE-N mode, press HEX, type the value, press =, then press DEC. The steps below match the fx-991ES PLUS and fx-570ES PLUS.

  1. Press MODE and choose BASE-N. The calculator starts in decimal.
  2. Press the HEX key.
  3. Type the value. The letters A to F have their own keys in this mode, printed in the BASE-N colour.
  4. Press = to enter the value.
  5. Press the DEC key. The display shows the decimal value.

For 1A2B, the display shows 6699 after step 5. A value that has already been calculated converts with the same DEC key.

Limits of BASE-N mode

BASE-N works with whole numbers, and the calculator cuts off any fraction. It uses 32-bit values, so hex from 80000000 to FFFFFFFF reads as negative: FFFFFFFF shows −1 in decimal. The decimal range is −2,147,483,648 to 2,147,483,647. For unsigned or longer values, use the hex to decimal converter.

ClassWiz models (fx-991CW and fx-570CW)

  1. Press MENU, select the Base-N app and press EXE.
  2. Press the mode key to cycle through Decimal, Hexadecimal, Binary and Octal, or pick Hexadecimal.
  3. Type the value, using CATALOG for the letters A to F. Letters typed from the variable list become variables, not hex digits.
  4. Press =, then use the mode key and choose Decimal.

Windows Calculator

  1. Open Calculator, open the menu at the top left and choose Programmer. The keyboard shortcut is Alt + 3 or Alt + 4, depending on the version.
  2. Click HEX, or press F5.
  3. Type the value with the number keys and the A to F keys.
  4. Read the decimal value on the DEC line. The calculator shows HEX, DEC, OCT and BIN together.
KeyAction
F5HEX
F6DEC
F7OCT
F8BIN

Mac Calculator

  1. Open Calculator and choose View › Programmer, or press Command + 3.
  2. Click 16 to enter the number in hexadecimal.
  3. Type the value, then click 10 to read it in decimal.

TI calculators

The TI-83 Plus and TI-84 Plus have no built-in number base converter. Texas Instruments points users to downloadable programs. The TI-30X Pro MathPrint has a number base mode and a conversion menu: set the base, or mark the value with the hex designator from the TYPE menu, then convert with the decimal option in the CONVR menu.

Without a hex mode, the method in the next section works on any calculator, including these.

Convert on a basic calculator

A calculator with no hex mode still converts hex: multiply the running total by 16 and add each digit, left to right. This is Horner's method, and it needs only × and +.

1A2B:  1 × 16 + 10 = 26
       26 × 16 + 2 = 418
       418 × 16 + 11 = 6,699

Replace the letters first: A = 10, B = 11, C = 12, D = 13, E = 14 and F = 15. The same steps work in an exam, as shown in how to convert hex to decimal by hand.

Frequently asked questions

How do you convert hex to decimal on a scientific calculator?
Enter BASE-N mode, press HEX, type the value, press =, then press DEC. For 1A2B, the display shows 6699.
Does the TI-84 convert hex to decimal?
No. The TI-84 Plus has no built-in number base converter. Use a downloaded program, a calculator with BASE-N mode, or the hex to decimal converter on this site.
Why does my Casio show a negative number for a hex value?
BASE-N mode reads hex values from 80000000 to FFFFFFFF as negative, because it uses 32-bit two's complement. FFFFFFFF shows −1, so use the signed hex to decimal page to check results.
Can a phone calculator convert hex to decimal?
No. The standard Android and iPhone calculators have no hex mode. Use the keypad on this page or the main converter in your phone's browser.
How do you convert hex to decimal without a hex mode?
Multiply the total by 16 and add each digit from left to right. 2AF becomes 2 × 16 + 10 = 42, then 42 × 16 + 15 = 687.