QuantarizmQuantarizm
Calculators
Formula Library
Converters
Articles
QuantarizmQuantarizmMaking Numbers Meaningful.

Free math calculators, unit converters, and formula references — with clear steps.

Product

  • Calculators
  • Math
  • Financial
  • Formula Library
  • Converters
  • Articles

Company

  • About
  • Contact
Legal
  • Privacy Policy
  • Terms
  • Disclaimer
  • Cookies

© 2026 Quantarizm

Free tools · No account required

HomeCalculatorsConvertersFormula Library
Home/Formula Library/Number base conversion

Number base conversion

Change how an integer is written without changing its value.

Encodings & numbers

  • Number base conversion
  • Roman numerals
  • ASCII and Unicode code points
  • Scientific notation
  • IPv4 address forms

Formula

Read digits in the source base, then rewrite the same integer in the target base

Explanation

Interpret the source string as a polynomial in the source radix, then emit digits for the target radix by repeated division. Digits must be valid for the chosen base (e.g. A–F only in hex).

Variables

  • source baseradix of the input (2, 8, 10, 16, …)
  • target baseradix of the output
  • valuethe same non-negative integer in either writing

When to use

Programming, digital logic, and encoding/decoding binary or hex literals.

Use this formula

Converters

  • Number SystemsNumber systems conversion with precise factors.→
  • BinaryBinary conversion with precise factors.→
  • HexadecimalHexadecimal conversion with precise factors.→
  • OctalOctal conversion with precise factors.→

Related formulas

  • Roman numeralsMap Roman symbols (I, V, X, L, C, D, M) with subtractive pairs (IV, IX, XL, …)
  • ASCII and Unicode code pointsMap characters to Unicode/ASCII code points (and the reverse)
  • IPv4 address formsTreat IPv4 as a 32-bit integer (or dotted octets) and convert between forms

Other categories

  • General
  • Statistics
  • Cooking & apparel
  • Data & digital
  • Electricity & magnetism
  • Date & time
Formula Library→

Popular

  • Percentage proportion
  • Arithmetic and weighted mean
  • Exponentiation
  • Fraction arithmetic
Formula Library→