How to Convert Decimal, Binary, Hex and Octal on a Scientific Calculator

Press MODE MODE 1 for BASE mode. Type your number, press =, then press the key for the base you want: x² for decimal, ^ for hexadecimal, log for binary and ln for octal. For example 25 becomes 11001 in binary, 19 in hex and 31 in octal.

Convert 25 from decimal to binaryMODEMODE125=log

Try it on the calculator. Press the keys yourself, or watch an example being keyed in:

SC-991SCIENTIFIC · 2-LINE DISPLAY
Reference coverTap an entry to insert it
Mode initializationSHIFTMODE2=
Full reset (all)SHIFTMODE3=
ContrastMODE×6 2 ◀▶

Scientific constants CONST 01–40

Unit conversions SHIFT CONST 01–40

Constants are CODATA 2002 values.
Keyboard: 0-9 . + - * / ^ ( ) , Enter Backspace Esc, arrows. S sin, C cos, T tan, L log, N ln, R root, P pi. In BASE mode a-f type hex digits. Shift+F flips the cover.

Step by step

  1. Switch to BASE mode

    MODEMODE1

    MODE MODE moves to page 2 of the mode menu and 1 selects BASE. The display shows Dec to tell you that numbers are being read as decimal.

  2. Choose the base you are typing in

    x²^logln

    The four base keys are x² for DEC, ^ for HEX, log for BIN and ln for OCT. Pressing one also clears the entry, so choose the input base before typing the number. If your number is decimal you can leave it on Dec.

  3. Type the number

    25

    Only digits that exist in the current base are accepted: 0 and 1 in binary, 0 to 7 in octal. In hex the letters A to F are the keys (–), °′″, hyp, sin, cos and tan, printed in the corner of each key. On a computer keyboard just type a to f.

  4. Press =

    =

    This stores the number as a value. Skipping it is the most common reason a conversion shows 0.

  5. Press the base you want

    log

    The converted value replaces the number, and the indicator (Dec, Hex, Bin or Oct) shows which base is displayed. 25 in binary is 11001. Press ^ for 19 in hex or ln for 31 in octal.

Quick reference

These are the conversions shown by this calculator, all done with the steps above.

DecimalBinaryOctalHex
25110013119
25511111111377FF
1000111110100017503E8
11101113B

Hex letters are typed with the keys A (–), B (°′″), C (hyp), D (sin), E (cos) and F (tan).

Hex to decimal and binary to decimal

Choose the input base first: ^ for hex or log for binary. Type the number, press =, then press x² for decimal. Hex FF becomes 255, and binary 1011 becomes 11.

MODEMODE1^tantan=x²
Convert hexadecimal FF to decimal.Result: Dec 255

Binary arithmetic and logic

Once you are in a base, ordinary arithmetic works in that base. In BIN, 101 + 11 shows 1000. The x⁻¹ key opens a logic menu with and, or, xor, xnor, Not and Neg for bitwise work.

Add the binary numbers 101 and 11.Result: Bin 1000

Limits to know about

BASE mode works with whole numbers only, so the decimal point key does nothing. Very large numbers are too long for binary: 99999 gives Math ERROR in BIN, but converts to 1869F in hex. To go back to normal calculating, press MODE then 1 for COMP.

Common mistakes and errors

The result is 0
You pressed a base key before pressing =. Type the number, press =, and only then press the target base.
A digit will not type
It does not exist in the current base. 2 to 9 are rejected in binary, and 8 and 9 in octal. Letters A to F only work in HEX.
Typing a decimal point does nothing
BASE mode only handles integers. Convert the whole part and handle the fraction separately.
Math ERROR on a big number in binary
The number is too long to display in binary. Convert it to hex or octal instead.

Frequently asked questions

How do I convert decimal to binary on a scientific calculator?

Enter BASE mode with MODE MODE 1, type the decimal number, press =, then press the log key. The display shows the binary value with a Bin indicator.

How do I convert hex to decimal?

Press ^ to select HEX, type the number using the letter keys for A to F, press =, then press x² for decimal. FF becomes 255.

Can I do arithmetic in binary or hex?

Yes. Pick the base, then calculate normally. In binary 101 + 11 = 1000.

Related guides

Find a determinant, inverse or transposeMAT mode, step by step, for 2×2 and 3×3 matrices.Solve a quadratic equationEQN mode: real, repeated and complex roots.