Number Base
Number Base converts a number between the representations a program or a datasheet uses: binary, octal, decimal, hexadecimal, Gray code and BCD. Each pair has its own page, so bcd-to-oct is a link rather than an instruction, and the any-base page covers a radix that has no dedicated pair. The bitwise group — AND, OR, NOT, NAND, NOR, XOR, XNOR, sum and product — works on binary operands directly.
The family also carries the numeric conversions that sit beside base conversion: decimal to Roman numerals and back, decimal to scientific notation and back, significant figures, rounding up and down, binary bit reversal, Fibonacci and prime sequences, and digits of pi and e. Time converts between seconds, H:M:S and a human-readable duration.
This is representation, not arithmetic tutoring. The pages do not evaluate an expression, plot a function or solve an equation; the calculator hub covers age, grade and date arithmetic, and a spreadsheet or a programming language is the right tool for general maths. Every conversion page states the base it expects and refuses a digit that is not valid in that base.
What you can do
- Convert between binary, octal, decimal, hexadecimal, Gray code and BCD.
- Use any radix when the dedicated pair does not exist.
- Run bitwise AND, OR, NOT, NAND, NOR, XOR, XNOR, sum or product on binary values.
- Convert decimal numbers to Roman numerals or scientific notation and back.
- Round to significant figures, or round up and down on demand.
- Generate Fibonacci or prime sequences, or convert seconds to H:M:S.
Popular tasks
Every tool assigned to this category is listed here. The catalog's governance-domain filter is a different axis; to page through the same branch, use the filtered catalog.
Every Number Base tool
Any Base Converter
Convert Between Arbitrary Bases in your browser, with an exact worked example. No upload, no signup.
BCD to Decimal
Convert BCD to Decimal in your browser, with an exact worked example. No upload, no signup.
BCD to Hex
Convert BCD to Hexadecimal in your browser, with a real worked example and no upload.
BCD to Octal
Convert BCD to Octal in your browser, with a real worked example and no upload.
Binary AND
Binary AND Two Numbers in your browser, with an exact worked example. No upload, no signup.
Binary NAND
Binary NAND of two binary numbers, in your browser, with a worked example.
Binary NOR
Binary NOR of two binary numbers, in your browser, with a worked example.
Binary NOT
Invert the Bits in your browser, with an exact worked example. No upload, no signup.
Binary OR
Binary OR Two Numbers in your browser, with an exact worked example. No upload, no signup.
Binary Product
Multiply Two Binary Numbers in your browser, with an exact worked example. No upload, no signup.
Reverse Binary Bits
Reverse the Bits in your browser, with an exact worked example. No upload, no signup.
Binary Sum
Add Two Binary Numbers in your browser, with an exact worked example. No upload, no signup.
Binary XNOR
Binary XNOR of two binary numbers, in your browser, with a worked example.
Binary XOR
Binary XOR Two Numbers in your browser, with an exact worked example. No upload, no signup.
Binary to Decimal Converter
Convert Binary to Decimal in your browser. Handles large integers exactly, one value per line.
Binary to Gray Code
Convert Binary values to reflected Gray code, one value per line, in your browser.
Binary to Hexadecimal Converter
Convert Binary to Hexadecimal in your browser. Handles large integers exactly, one value per line.
Binary to Octal Converter
Convert Binary to Octal in your browser. Handles large integers exactly, one value per line.
Decimal to Roman Numerals
Convert Decimal to Roman Numerals in your browser, with an exact worked example. No upload, no signup.
Decimal to Scientific
Convert Decimal to Scientific Notation in your browser, with an exact worked example. No upload, no signup.
Decrement Integer Digits
Lower every digit of an integer by one amount, stopping each at zero.
Decimal to BCD
Convert Decimal to BCD in your browser, with an exact worked example. No upload, no signup.
Decimal to Binary Converter
Convert Decimal to Binary in your browser. Handles large integers exactly, one value per line.
Decimal to Gray Code
Convert Decimal values to reflected Gray code, one value per line, in your browser.
Decimal to Hexadecimal Converter
Convert Decimal to Hexadecimal in your browser. Handles large integers exactly, one value per line.
Decimal to Octal Converter
Convert Decimal to Octal in your browser. Handles large integers exactly, one value per line.
Delete Integer Digits
Remove the digits at chosen positions from an integer and report what went.
E Digits
Print the Digits of E in your browser, with an exact worked example. No upload, no signup.
Enumerate Integers
Print an arithmetic progression of integers from a start to an end with a step.
Excel Column Index
Convert Excel column letters to numbers and back.
Fibonacci Numbers
Generate Fibonacci Numbers in your browser, with an exact worked example. No upload, no signup.
Generate Integer Pairs
Build every (x, y) pair from two integer ranges, x major.
Generate Integer Triples
Build every (x, y, z) triple from three integer ranges.
Generate Symmetric Integers
List the decimal palindromes inside an inclusive integer range.
Gray Code to Binary
Decode reflected Gray code back to Binary values in your browser.
Gray Code to Decimal
Decode reflected Gray code back to Decimal values in your browser.
Gray Code to Hexadecimal
Decode reflected Gray code back to Hexadecimal values in your browser.
Gray Code to Octal
Decode reflected Gray code back to Octal values in your browser.
Hex to BCD
Convert Hexadecimal to BCD in your browser, with a real worked example and no upload.
Hexadecimal to Binary Converter
Convert Hexadecimal to Binary in your browser. Handles large integers exactly, one value per line.
Hexadecimal to Decimal Converter
Convert Hexadecimal to Decimal in your browser. Handles large integers exactly, one value per line.
Hexadecimal to Gray Code
Convert Hexadecimal values to reflected Gray code, one value per line, in your browser.
Hexadecimal to Octal Converter
Convert Hexadecimal to Octal in your browser. Handles large integers exactly, one value per line.
H:M:S to Seconds
Convert H:M:S to Seconds in your browser, with an exact worked example. No upload, no signup.
Increment Integer Digits
Raise every digit of an integer by one amount, wrapping past 9.
Round Numbers Down
Round Numbers Down in your browser, with an exact worked example. No upload, no signup.
Round Numbers Up
Round Numbers Up in your browser, with an exact worked example. No upload, no signup.
Octal to BCD
Convert Octal to BCD in your browser, with a real worked example and no upload.
Octal to Binary Converter
Convert Octal to Binary in your browser. Handles large integers exactly, one value per line.
Octal to Decimal Converter
Convert Octal to Decimal in your browser. Handles large integers exactly, one value per line.
Octal to Gray Code
Convert Octal values to reflected Gray code, one value per line, in your browser.
Octal to Hexadecimal Converter
Convert Octal to Hexadecimal in your browser. Handles large integers exactly, one value per line.
Palindromize an Integer
Find the smallest decimal palindrome at or above an integer.
Pi Digits
Print the Digits of Pi in your browser, with an exact worked example. No upload, no signup.
Prime Numbers
List Prime Numbers in your browser, with an exact worked example. No upload, no signup.
Remove Commas from an Integer
Strip thousands separators from integers, one per line.
Replace Integer Digits
Overwrite chosen digit positions with one replacement digit.
Roman Numerals to Decimal
Convert Roman Numerals to Decimal in your browser, with an exact worked example. No upload, no signup.
Scientific to Decimal
Convert Scientific Notation to Decimal in your browser, with an exact worked example. No upload, no signup.
Seconds to H:M:S
Convert Seconds to H:M:S in your browser, with an exact worked example. No upload, no signup.
Seconds to Human Time
Describe a Duration in Words in your browser, with an exact worked example. No upload, no signup.
Significant Figures
Count significant figures and round to precision.