Decimal Hex Calculator

Live

Decimal Hex Calculator does arithmetic and bitwise operations (add, subtract, multiply, divide, remainder, AND, OR, XOR) on whole numbers written in binary, octal, decimal or hexadecimal, and shows the answer in all four bases.

Runs in your browser: what you enter is processed on your device and not uploaded to MyToolDock.

Whole numbers only, with no limit on size. Negative results are shown with a minus sign. Division shows the whole-number quotient and the remainder.

What is Decimal Hex Calculator?

Decimal Hex Calculator does arithmetic and bitwise operations (add, subtract, multiply, divide, remainder, AND, OR, XOR) on whole numbers written in binary, octal, decimal or hexadecimal, and shows the answer in all four bases. Only whole numbers are supported, with no size limit. Division gives the whole-number quotient and the remainder.

How It Works

  1. Enter two whole numbers, the operation and the number base the inputs are written in in the input fields on this page.
  2. Press the button to run Decimal Hex Calculator.
  3. Read the answer in decimal, binary, octal and hexadecimal in the result area, and copy or download it.

Worked Example

This is the real result Decimal Hex Calculator returns for the sample input shown, captured by running the tool itself.

Expression (hex or decimal)1A + 2F
Decimal: 73
Hex: 49

Common Uses

Good to Know

Choose the base of your inputs first: 1010 means ten in binary but one thousand and ten in decimal.

In more detail

Enter two numbers in the same base, choose the base (the page starts on 16) and an operation. The tool shows the result in that base and also in decimal, binary, octal and hexadecimal. Operations are add, subtract, multiply, divide with remainder, remainder, AND, OR and XOR.

A second example

FF + 1 in base 16 is 100 (decimal 256, binary 100000000, octal 400).

Limits

A digit outside the chosen base shows a message. Division is whole-number division with a remainder. Negative results are shown with a minus sign, not as two's complement.

Frequently Asked Questions

Can it work in decimal?

Yes, choose base 10.

Is the hex output upper case?

Yes.

What does Decimal Hex Calculator do?

Decimal Hex Calculator does arithmetic and bitwise operations (add, subtract, multiply, divide, remainder, AND, OR, XOR) on whole numbers written in binary, octal, decimal or hexadecimal, and shows the answer in all four bases. Only whole numbers are supported, with no size limit. Division gives the whole-number quotient and the remainder.

What do I need to enter in Decimal Hex Calculator?

Two whole numbers, the operation and the number base the inputs are written in.

Is my data private in Decimal Hex Calculator?

Decimal Hex Calculator runs in your browser, so what you enter is not uploaded to MyToolDock.

What input does Decimal Hex Calculator expect?

Decimal Hex Calculator expects: Expression (hex or decimal). For example, entering 1A + 2F is a valid starting point.

What does Decimal Hex Calculator return for a sample input?

With 1A + 2F as input, the tool outputs: Decimal: 73 Hex: 49

Is MyToolDock Decimal Hex Calculator free to use?

Yes, MyToolDock Decimal Hex Calculator is 100% free with no registration, subscriptions, or limits. All features are fully unlocked.

Where can I learn more about Decimal Hex Calculator and related workflows?

MyToolDock publishes written guides on the topic: Decimal to Hexadecimal: Computer Science Basics. Each guide links back to the tools it covers.

Related Tools

Decimal to Hex Hex to Decimal Decimal to Fraction Converter Fraction to Decimal Converter Day of the Week Calculator Base64 to Hex Converter

Guides

More in Calculator Tools · Browse all tools

Developer Scratchpad

Copied to clipboard!