Hex calculator

Calculate with hexadecimal integers or convert between base 16 and decimal.

Hexadecimal result
10A

Exact whole-number arithmetic.

Breakdown & share
Hexadecimal
10A
Decimal
266
Binary
100001010
Estimates only.

Your inputs

Example values. Change any of them.

How it’s worked out

See how we got 10A

A positional numeral represents the sum of its digits times successive powers of its base. Arithmetic uses exact integers. Division reports integer quotient and remainder.

  1. Apply + to the two integers.
  2. In decimal, the result is 266.

About this calculator

Hexadecimal uses 0–9 and A–F. An optional 0x prefix is accepted.

Worked example

Hexadecimal result · 10A

A positional numeral represents the sum of its digits times successive powers of its base. Arithmetic uses exact integers. Division reports integer quotient and remainder.

  1. Apply + to the two integers.
  2. In decimal, the result is 266.

Formula sources

Reference checked November 22, 2026.