Multi-Base Calculator

Binary · Octal · Decimal · Hex · Base 32 · Base 64

Number base

Choose the base you want to work in
Base 2 · Binary
0
Base 2 · Binary
Conversions All bases at once
Binary keypad

Only 0 and 1 are valid in binary. The operators below work in this base.

Calculate and convert between number bases

This free multi-base calculator works in binary, octal, decimal, hexadecimal, base 32, base 64 and custom bases from 2 to 36. It shows the same value in every base at once, keeps large integers exact and changes the keypad to match the base you are using.

Exact with large integers

Integer conversion and arithmetic use exact arithmetic, so a long binary result is the real value and not a rounded approximation. Long numbers scroll horizontally instead of pushing the keypad down.

A keypad for the selected base

Binary shows 0 and 1; octal shows 0–7; hexadecimal shows 0–F; base 32 shows 0–9 and A–V; base 64 shows its 64 symbols. Custom bases show only the digits they use.

Arithmetic and bitwise logic

Add, subtract, multiply, divide and take modulo in the selected base. AND, OR, XOR and NOT work on integer values. Decimals are available in every base except base 64.

Does the calculator work offline?

Yes. After the first load, the app and its assets are cached by a service worker, so the calculator keeps working without a connection. It can be installed as a PWA on Android, iOS, Windows, macOS and Linux.

Can it handle very large binary numbers?

Yes. Integer values are not limited to 32 or 64 bits for conversion and basic arithmetic. Very long results stay in a single scrollable line, so the keypad does not move or overflow.

What does Base 64 mean in this calculator?

Base 64 is a positional number base that uses the 64 symbols 0–9, A–Z, a–z, + and /. It is not MIME Base64 encoding or decoding of files and text. Base 64 here works with integers only; use another base for fractions.

Can I use decimals in every base?

Decimals work in binary, octal, decimal, hexadecimal, base 32 and custom bases. Base 64 is integer-only. Fractional results are shown with up to eight digits after the point.

Does it send my calculations anywhere?

No. Every calculation runs in your browser. There is no account and no calculation is uploaded. The app is free and has no advertising.

Multi-Base Calculator help

How it works

Bases and digits

Keyboard shortcuts

In base 64, + and / are also digits. The physical keyboard treats them as operators; use the two symbol keys in the digit pad when you need those digits.

Limits