Bases 2–36 · exact integers

Decimal 31 in bases 2, 8, 10, 16 and 36

Thirty-one is one less than 32, so binary is five ones: 11111₂. It is 37₈, 1F₁₆ and V₃₆.

Live conversion

Integer base converter

Runs in this browser

Up to 4096 ASCII characters; optional leading minus sign.

Enter a whole base from 2 through 36.

Quick base pairs

Switch the source and target while preserving the current valid integer.

Integer notation only: no fractions, exponents, 0x/0b prefixes, separators, whitespace, text encoding, IEEE-754 interpretation, or symbolic expressions.

Exact result

Base 10 to base 2

11111
Canonical source
31
Source digits
2

The same integer in common bases

Base 211111
Base 837
Base 1031
Base 161F
Base 36V

Value catalog

Common decimal values across five bases

Open a finite, indexable reference page for each curated decimal anchor. Calculator state itself never enters the URL.