Skip to content
Mathematics & StatisticsLocal · Stays on device

Base Conversion Calculator

Convert whole numbers and fractions between any bases from 2 to 36, with repeating digits and two’s-complement views.

  • Bases 2–36, 0b / 0o / 0x prefixes
  • Free to use
  • No sign-up or watermark
base-conversion-calculatorOn this device
Bases 2–360b / 0o / 0x prefixes
Open Base Conversion Calculator

About this tool

Type a number in any base from 2 to 36 and see it in binary, octal, decimal, hexadecimal and the target base of your choice. Whole numbers of any length convert exactly. Fractions are converted exactly too: if the expansion repeats, the repeating block is shown in brackets (0.1 in decimal is 0.0(0011) in binary); otherwise it stops after the number of digits you choose and is marked with “…”.

For whole numbers, a fixed-width table shows the signed two’s-complement bit pattern for 8, 16, 32 and 64 bits and whether the value fits as an unsigned integer — handy for programming and digital electronics. Invalid digits for the chosen base are pointed out. Everything is calculated in your browser; nothing you enter is uploaded.

  1. Input

    Your details

    Bases 2–36, 0b / 0o / 0x prefixes

  2. Processing

    Processed in this browser

    Instant, in-browser. Nothing is uploaded.

  3. Output

    Your result

    Shown instantly, ready to copy or export

Local processing pipelineBigInt exact arithmetic

How to use it

  1. 1

    Type the number and choose the base it is written in.

  2. 2

    Pick a target base, or read binary, octal, decimal and hex directly.

  3. 3

    Copy any result; check the two’s-complement table for whole numbers.

Zero-upload architecture

How to use Base Conversion Calculator for free, with no upload

Free, with no sign-up or watermark · Your details stay on your device

  1. 1

    Open Base Conversion Calculator

    Launch the app. There is nothing to install and no account to create.

  2. 2

    Work through it

    Pick a target base, or read binary, octal, decimal and hex directly.

  3. 3

    Get your result

    Copy any result; check the two’s-complement table for whole numbers.

All 31 maths tools
  • Local

    Modular Arithmetic Calculator

    Calculate sums, differences, products, powers and inverses modulo m, with the extended Euclidean table and a Chinese remainder solver.

    Open tool
  • Local

    Logarithm Calculator

    Calculate logarithms in any base, ln, log₁₀ and log₂, with change-of-base steps — or the antilog bʸ.

    Open tool
  • Local

    Scientific Calculator

    A full scientific calculator with trig in degrees or radians, logs, powers, roots, factorials, memory and history.

    Open tool
  • Local

    Descriptive Statistics Calculator

    Calculate mean, median, mode, variance, standard deviation, quartiles, outliers and skewness, with a box plot and frequency table.

    Open tool