Base Converter

Convert between binary, decimal, octal and hex.

Result

Decimal42
Binary101010
Octal52
Hex2A

Base Converter — FAQs

How do I convert binary to decimal?

Each bit is worth 2^position: 101010 = 32 + 8 + 2 = 42.

How do I convert decimal to binary?

Divide by 2 repeatedly and record remainders bottom-up — 13 = 1101.

What is a byte vs a bit?

A bit is a single 0/1; a byte is 8 bits — one ASCII character.

Need a Custom Tool Built?

We build calculators, estimators and internal tools for businesses in the UK and North America.

Get a Quote

Embed this Base Converter on your site

Free to use — paste this snippet into any webpage. It auto-resizes and includes a small attribution link. Add ?theme=dark to the iframe URL for dark mode.