MTMasterTool

Binary Decimal Hex Converter

Calculate binary decimal hex instantly in your browser.

Loading calculator…

What this tool does

Calculate binary decimal hex instantly in your browser. Arbitrary-precision integer conversion, signed magnitude (not two's complement).

How to use the Binary Decimal Hex Converter

  1. Enter or select integer digits.
  2. Enter or select input base.
  3. Read the calculated result; change any measurement to compare alternatives.

Formula

parse integer in selected radix, output radices 2, 10 and 16
value
Integer digits
base
Input base

Arbitrary-precision integer conversion, signed magnitude (not two's complement).

Worked example

For binary decimal hex converter, the following measurements illustrate the exact method: Integer digits: 255; Input base: 10.

Inputs

  • Integer digits255
  • Input baseDecimal

Result

  • Decimal255
  • Binary11111111
  • HexadecimalFF

Results explained

Decimal
Decimal from the formula above. Arbitrary-precision integer conversion, signed magnitude (not two's complement).
Binary
Binary from the formula above. Arbitrary-precision integer conversion, signed magnitude (not two's complement).
Hexadecimal
Hexadecimal from the formula above. Arbitrary-precision integer conversion, signed magnitude (not two's complement).

Frequently asked questions

parse integer in selected radix, output radices 2, 10 and 16

Arbitrary-precision integer conversion, signed magnitude (not two's complement).

Where mathematically meaningful, yes. Fields specify permitted ranges and undefined operations display an error.

Exact integer calculations use safe integers; decimal calculations use browser floating point, so small rounding differences can occur.

All values remain in your browser and are never uploaded.