c+CalcLantern

Number-base converter

Convert a nonnegative integer between binary, decimal, and hexadecimal.

How this works

Converts exact nonnegative whole numbers using positional notation.

Example

Using the example inputs, decimal is 255.

Integer
255
Input base
Decimal
Decimal
255

Scope and assumptions

No fractional or signed numbers; input length is limited to 128 characters.

OpenStax mathematics

Related calculators

GCF & LCM

Scientific calculator

Fraction arithmetic

Scientific notation

Significant-figure rounding

BUILT FOR CLARITY

Useful tools. Honest answers.

An original collection of calculators for everyday estimates and learning.

Calculations run in your browser. This site does not send your inputs to a server or serve advertising. Optional analytics runs only after you allow it. Results are estimates within each tool’s stated scope, not professional advice.

Financial, health and building-related tools have specific limitations. Check important decisions with a qualified professional. No live currency rates, tax tables or current price feeds are connected.