NumForge LogoNumForge
Explore
NumForge 2.0 • 137 Hardware-Grade Digital Tools

Precision number tools. Engineered for zero latency.

Convert between binary, hex, and base-N. Calculate two’s complement, simulate logic gates, and dissect IEEE-754 floats with full step-by-step proofs. 100% in-browser and private.

Featured

Popular Converters & Calculators

Browse Complete Directory (137) →
Number SystemHardware-Grade

Decimal to Binary

Convert decimal integers (base 10) into pure binary bit patterns with repeated division by 2 steps.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Binary to Decimal

Translate base-2 binary strings into standard base-10 decimal numbers using positional powers of 2.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Binary ToolsHardware-Grade

Binary Addition Calculator

Add two binary numbers with step-by-step column-by-column carry bits and sum bits.

Binary Tools • arithmetic0ms
#binary#arithmetic
Open Tool →
Hexadecimal ToolsHardware-Grade

Hex to Decimal

Convert hexadecimal strings into base-10 decimal numbers using positional powers of 16.

Hexadecimal Tools • base-converter0ms
#hexadecimal#base-converter
Open Tool →
Complement ToolsHardware-Grade

2's Complement Calculator

Compute the 2’s complement for signed binary numbers across 8, 16, 32, and 64-bit architectures.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Digital Electronics ToolsHardware-Grade

Bitwise AND Calculator

Compute bitwise AND (&) between two binary numbers to mask, clear, and isolate specific bits.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Coding & Computer Number ToolsHardware-Grade

ASCII to Binary Converter

Convert plain text and ASCII characters into 8-bit binary byte sequences.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Base Conversion ToolsHardware-Grade

Any Base → Any Base Converter

Convert any number between any source base (2 to 36) and any target base (2 to 36).

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Number Representation ToolsHardware-Grade

IEEE 754 Converter

Convert decimal real numbers into IEEE-754 32-bit Single Precision and 64-bit Double Precision formats.

Number Representation Tools • float0ms
#number-representation#float
Open Tool →
Complete Suite

Explore All 137 Dedicated Tools

Every tool features its own independent route, step-by-step mathematical proofs, and client-side calculations.

Number SystemHardware-Grade

Decimal to Binary

Convert decimal integers (base 10) into pure binary bit patterns with repeated division by 2 steps.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Binary to Decimal

Translate base-2 binary strings into standard base-10 decimal numbers using positional powers of 2.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Decimal to Octal

Convert base-10 decimal numbers into octal notation (base 8) with successive division by 8.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Octal to Decimal

Convert base-8 octal strings into standard decimal values using powers of 8.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Decimal to Hexadecimal

Convert base-10 decimal numbers into hexadecimal notation (0-9, A-F) with repeated division by 16.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Hexadecimal to Decimal

Convert hexadecimal strings (0-9, A-F) into decimal numbers using positional powers of 16.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Binary to Octal

Convert binary sequences into octal by grouping bits into 3-bit triplets from right to left.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Octal to Binary

Convert octal numbers into binary by expanding each octal digit into its 3-bit binary triplet.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Binary to Hexadecimal

Convert binary bit patterns into hexadecimal format by grouping bits into 4-bit nibbles.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Hexadecimal to Binary

Translate hexadecimal characters (0-9, A-F) into pure 4-bit binary nibbles.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Octal to Hexadecimal

Convert octal numbers to hexadecimal format using binary as an intermediate grouping bridge.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Number SystemHardware-Grade

Hexadecimal to Octal

Convert hexadecimal strings into octal notation via 4-bit to 3-bit binary regrouping.

Number System • base-converter0ms
#number-system#base-converter
Open Tool →
Binary ToolsHardware-Grade

Binary Addition Calculator

Add two binary numbers with step-by-step column-by-column carry bits and sum bits.

Binary Tools • arithmetic0ms
#binary#arithmetic
Open Tool →
Binary ToolsHardware-Grade

Binary Subtraction Calculator

Subtract one binary number from another with column borrow tracking and Two’s Complement verification.

Binary Tools • arithmetic0ms
#binary#arithmetic
Open Tool →
Binary ToolsHardware-Grade

Binary Multiplication Calculator

Multiply binary numbers with partial products, shift-and-add rows, and step-by-step proofs.

Binary Tools • arithmetic0ms
#binary#arithmetic
Open Tool →
Binary ToolsHardware-Grade

Binary Division Calculator

Divide binary numbers with step-by-step long division, quotient, and remainder tracking.

Binary Tools • arithmetic0ms
#binary#arithmetic
Open Tool →
Binary ToolsHardware-Grade

Binary to Gray Code Converter

Convert natural binary numbers to reflected Gray code using bitwise shift and XOR logic.

Binary Tools • encoding0ms
#binary#encoding
Open Tool →
Binary ToolsHardware-Grade

Gray Code to Binary Converter

Convert reflected Gray code back to standard natural binary using sequential XOR cascade.

Binary Tools • encoding0ms
#binary#encoding
Open Tool →
Binary ToolsHardware-Grade

Binary to BCD Converter

Convert binary integers into 8421 Binary-Coded Decimal (BCD) 4-bit nibbles.

Binary Tools • encoding0ms
#binary#encoding
Open Tool →
Binary ToolsHardware-Grade

BCD to Binary Converter

Convert 8421 Binary-Coded Decimal (BCD) nibbles back to standard positional binary.

Binary Tools • encoding0ms
#binary#encoding
Open Tool →
Binary ToolsHardware-Grade

Binary to Excess-3 Converter

Convert binary numbers into Excess-3 (XS-3 / Stibitz) self-complementing code.

Binary Tools • encoding0ms
#binary#encoding
Open Tool →
Binary ToolsHardware-Grade

Excess-3 to Binary Converter

Convert Excess-3 (XS-3) code nibbles back into standard natural binary.

Binary Tools • encoding0ms
#binary#encoding
Open Tool →
Binary ToolsHardware-Grade

Binary Bit Calculator

Analyze binary strings: count set bits (Hamming weight), total length, leading/trailing zeros, and parity.

Binary Tools • bitwise0ms
#binary#bitwise
Open Tool →
Binary ToolsHardware-Grade

Binary Fraction Converter

Convert fractional binary numbers into decimal fractions and vice versa with negative powers of 2.

Binary Tools • float0ms
#binary#float
Open Tool →
Binary ToolsHardware-Grade

Binary Floating-Point Converter

Dissect real decimal numbers into binary floating-point scientific notation (significand and exponent).

Binary Tools • float0ms
#binary#float
Open Tool →
Binary ToolsHardware-Grade

Binary Number Validator

Verify if a string is a valid binary sequence and inspect character legality, length, and format.

Binary Tools • validator0ms
#binary#validator
Open Tool →
Decimal ToolsHardware-Grade

convert decimal fraction to binary

Convert continuous decimal fractions (e.g. 0.625) into binary fractions using repeated multiplication by 2.

Decimal Tools • float0ms
#decimal#float
Open Tool →
Decimal ToolsHardware-Grade

Decimal to BCD Converter

Convert standard base-10 decimal numbers into 8421 Binary-Coded Decimal (BCD) 4-bit nibbles.

Decimal Tools • encoding0ms
#decimal#encoding
Open Tool →
Octal ToolsHardware-Grade

Octal Arithmetic Calculator

Perform addition, subtraction, multiplication, and division directly on base-8 octal numbers.

Octal Tools • arithmetic0ms
#octal#arithmetic
Open Tool →
Octal ToolsHardware-Grade

Octal Number Validator

Verify if a number string is a valid base-8 octal representation and check for illegal digits (8 and 9).

Octal Tools • validator0ms
#octal#validator
Open Tool →
Hexadecimal ToolsHardware-Grade

Hex to Binary

Convert hex characters into 4-bit binary nibbles instantly with zero latency.

Hexadecimal Tools • base-converter0ms
#hexadecimal#base-converter
Open Tool →
Hexadecimal ToolsHardware-Grade

Binary to Hex

Convert binary strings into hexadecimal notation by grouping into 4-bit nibbles.

Hexadecimal Tools • base-converter0ms
#hexadecimal#base-converter
Open Tool →
Hexadecimal ToolsHardware-Grade

Hex to Decimal

Convert hexadecimal strings into base-10 decimal numbers using positional powers of 16.

Hexadecimal Tools • base-converter0ms
#hexadecimal#base-converter
Open Tool →
Hexadecimal ToolsHardware-Grade

Decimal to Hex

Convert decimal integers into hexadecimal strings with successive division by 16.

Hexadecimal Tools • base-converter0ms
#hexadecimal#base-converter
Open Tool →
Hexadecimal ToolsHardware-Grade

Hex to Octal

Convert hexadecimal strings into octal format via 4-bit to 3-bit binary regrouping.

Hexadecimal Tools • base-converter0ms
#hexadecimal#base-converter
Open Tool →
Hexadecimal ToolsHardware-Grade

Octal to Hex

Convert octal numbers into hexadecimal format using 3-bit to 4-bit binary regrouping.

Hexadecimal Tools • base-converter0ms
#hexadecimal#base-converter
Open Tool →
Hexadecimal ToolsHardware-Grade

Hexadecimal Addition

Add hexadecimal numbers with column carries, base-16 wrapping, and step-by-step proofs.

Hexadecimal Tools • arithmetic0ms
#hexadecimal#arithmetic
Open Tool →
Hexadecimal ToolsHardware-Grade

Hexadecimal Subtraction

Subtract hexadecimal numbers with column borrows of 16 and step-by-step proofs.

Hexadecimal Tools • arithmetic0ms
#hexadecimal#arithmetic
Open Tool →
Hexadecimal ToolsHardware-Grade

Hexadecimal Multiplication

Multiply hexadecimal numbers with base-16 partial products and step-by-step proofs.

Hexadecimal Tools • arithmetic0ms
#hexadecimal#arithmetic
Open Tool →
Hexadecimal ToolsHardware-Grade

Hexadecimal Division

Divide hexadecimal numbers with step-by-step base-16 long division, quotient, and remainder.

Hexadecimal Tools • arithmetic0ms
#hexadecimal#arithmetic
Open Tool →
Hexadecimal ToolsHardware-Grade

Hexadecimal Number Validator

Verify if a string is a valid base-16 hexadecimal representation and check allowable characters.

Hexadecimal Tools • validator0ms
#hexadecimal#validator
Open Tool →
Complement ToolsHardware-Grade

1's Complement Calculator

Calculate the 1’s complement of binary numbers by inverting every bit (bitwise NOT).

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

2's Complement Calculator

Compute the 2’s complement for signed binary numbers across 8, 16, 32, and 64-bit architectures.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

9's Complement Calculator

Calculate the 9’s complement of decimal numbers by subtracting each digit from 9.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

10's Complement Calculator

Calculate the 10’s complement of decimal numbers by taking the 9’s complement and adding 1.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

1's ↔ 2's Complement Converter

Convert seamlessly between 1’s complement and 2’s complement representations with step-by-step proofs.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

Signed Binary Calculator

Analyze signed binary numbers across Signed Magnitude, 1’s Complement, and 2’s Complement formats.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

Sign-Magnitude Converter

Convert signed decimal numbers to Sign-Magnitude binary format and decode sign-magnitude bits.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

1's Complement Representation

Inspect how positive and negative numbers map to bit patterns under 1’s Complement notation.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

2's Complement Representation

Visualize 2’s complement bit mappings, negative weighting of the MSB, and asymmetric range limits.

Complement Tools • complement0ms
#complement#complement
Open Tool →
Complement ToolsHardware-Grade

Signed Integer Range Calculator

Calculate exact minimum and maximum limits for signed integers across custom and standard bit widths.

Complement Tools • range0ms
#complement#range
Open Tool →
Digital Electronics ToolsHardware-Grade

Bit Calculator

Calculate storage sizes, bandwidth rates, bit combinations, and binary data units.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

Bit to Byte Converter

Convert data quantities between bits (b) and bytes (B) with exact fractions and decimal equivalents.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

Byte to KB/MB/GB/TB Converter

Convert storage sizes across Bytes, Kilobytes, Megabytes, Gigabytes, and Terabytes (both 1000 and 1024 standards).

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

Binary Bit Shift Calculator

Simulate logical and arithmetic bit shifts (left, right, zero-fill) on binary registers.

Digital Electronics Tools • shift0ms
#digital-electronics#shift
Open Tool →
Digital Electronics ToolsHardware-Grade

Left Shift Calculator

Compute bitwise left shifts (<<) to multiply binary numbers by powers of 2.

Digital Electronics Tools • shift0ms
#digital-electronics#shift
Open Tool →
Digital Electronics ToolsHardware-Grade

Right Shift Calculator

Compute bitwise right shifts (>>) to divide binary numbers by powers of 2.

Digital Electronics Tools • shift0ms
#digital-electronics#shift
Open Tool →
Digital Electronics ToolsHardware-Grade

Arithmetic Shift Calculator

Compute arithmetic right shifts with sign-bit preservation (replicated MSB) for signed integers.

Digital Electronics Tools • shift0ms
#digital-electronics#shift
Open Tool →
Digital Electronics ToolsHardware-Grade

Logical Shift Calculator

Compute logical bit shifts (left and zero-fill right) for unsigned integers and raw bit patterns.

Digital Electronics Tools • shift0ms
#digital-electronics#shift
Open Tool →
Digital Electronics ToolsHardware-Grade

Rotate Left Calculator

Compute circular bit rotation left (ROL) where bits falling off the MSB wrap around to the LSB.

Digital Electronics Tools • shift0ms
#digital-electronics#shift
Open Tool →
Digital Electronics ToolsHardware-Grade

Rotate Right Calculator

Compute circular bit rotation right (ROR) where bits falling off the LSB wrap around to the MSB.

Digital Electronics Tools • shift0ms
#digital-electronics#shift
Open Tool →
Digital Electronics ToolsHardware-Grade

Bitwise AND Calculator

Compute bitwise AND (&) between two binary numbers to mask, clear, and isolate specific bits.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

Bitwise OR Calculator

Compute bitwise OR (|) between two binary numbers to set and combine bit flags.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

Bitwise XOR Calculator

Compute bitwise XOR (^) to toggle bits, compute parity, and implement basic encryption.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

Bitwise NOT Calculator

Compute bitwise NOT (~) to invert all bits in an operand across 8, 16, 32, and 64-bit registers.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

NAND Calculator

Compute the universal NAND logic operation (NOT AND) with full truth tables and proofs.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

NOR Calculator

Compute the universal NOR logic operation (NOT OR) with full truth tables and circuit proofs.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Digital Electronics ToolsHardware-Grade

XNOR Calculator

Compute the XNOR logic operation (Exclusive NOR / Equivalence gate) with complete truth tables.

Digital Electronics Tools • bitwise0ms
#digital-electronics#bitwise
Open Tool →
Coding & Computer Number ToolsHardware-Grade

ASCII to Binary Converter

Convert plain text and ASCII characters into 8-bit binary byte sequences.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Binary to ASCII Converter

Decode 8-bit binary byte sequences back into readable ASCII text characters.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

ASCII to Hex Converter

Convert text characters into hexadecimal byte sequences (0x00 to 0xFF).

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Hex to ASCII Converter

Convert hexadecimal byte strings back into readable ASCII text characters.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Unicode to Hex Converter

Convert Unicode characters, emojis, and symbols to hex codepoints (U+XXXX) and UTF-8 hex bytes.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Unicode to Binary Converter

Convert Unicode characters into raw UTF-8 binary bit patterns with leading continuation markers.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

RGB to Hex Converter

Convert Red, Green, and Blue decimal color channels (0-255) into web-standard 6-character hex color codes.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Hex to RGB Converter

Convert 6-digit and 3-digit hex color strings into decimal RGB channels (0-255) with live color preview.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

IPv4 to Binary Converter

Convert dotted-decimal IPv4 addresses (e.g. 192.168.1.1) into 32-bit binary bitstreams.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Binary to IPv4 Converter

Convert 32-bit binary bitstreams back into standard dotted-decimal IPv4 addresses.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

MAC Address to Binary

Convert 48-bit Ethernet hardware MAC addresses into binary bitstreams.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

MAC Address to Hex

Normalize and format MAC address representations across colon, hyphen, Cisco dot, and raw hex formats.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Unix Timestamp to Binary/Hex

Convert Unix epoch timestamps into 32-bit and 64-bit binary and hexadecimal representations with UTC date.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Hex Color Converter

Convert hex colors to RGB, HSL, CMYK, and 24-bit integer values with live color palette swatch.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Character to ASCII to Binary

Step-by-step conversion of single characters to decimal ASCII codes and 8-bit binary bytes.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Coding & Computer Number ToolsHardware-Grade

Character to ASCII to Hex

Step-by-step conversion of single characters to decimal ASCII codes and 2-digit hexadecimal bytes.

Coding & Computer Number Tools • encoding0ms
#coding-computer-number#encoding
Open Tool →
Base Conversion ToolsHardware-Grade

Base 2 Converter

Convert numbers into and out of binary (base 2) across all common and custom radices.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-3 Converter

Convert numbers into and out of ternary (base 3) using digits 0, 1, and 2 with powers of 3.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-4 Converter

Convert numbers into and out of quaternary (base 4) notation using digits 0, 1, 2, and 3.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-5 Converter

Convert numbers into and out of quinary (base 5) using digits 0, 1, 2, 3, and 4.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-6 Converter

Convert numbers into and out of senary (base 6) using digits 0 through 5.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-7 Converter

Convert numbers into and out of septenary (base 7) using digits 0 through 6.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-8 Converter

Convert numbers into and out of octal (base 8) notation across all computing radices.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-9 Converter

Convert numbers into and out of nonary (base 9) using digits 0 through 8.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-10 Converter

Convert standard decimal numbers into any other radix from base 2 to base 36.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-11 Converter

Convert numbers into and out of undecimal (base 11) using digits 0-9 and letter A.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-12 Converter

Convert numbers into and out of duodecimal (base 12) using digits 0-9, A, and B.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-13 Converter

Convert numbers into and out of tridecimal (base 13) using digits 0-9 and letters A, B, C.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-14 Converter

Convert numbers into and out of tetradecimal (base 14) using digits 0-9 and A, B, C, D.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-15 Converter

Convert numbers into and out of pentadecimal (base 15) using digits 0-9 and A through E.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-16 Converter

Convert numbers into and out of hexadecimal (base 16) across any custom radix.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Any Base → Any Base Converter

Convert any number between any source base (2 to 36) and any target base (2 to 36).

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Base Conversion ToolsHardware-Grade

Base-N Number Validator

Verify if a number string is mathematically valid for any chosen radix (base 2 through 36).

Base Conversion Tools • validator0ms
#base-conversion#validator
Open Tool →
Base Conversion ToolsHardware-Grade

Custom Base Converter

Configure arbitrary custom radices with user-defined alphabets and symbol sets.

Base Conversion Tools • base-converter0ms
#base-conversion#base-converter
Open Tool →
Number System ArithmeticHardware-Grade

Binary Calculator

All-in-one binary arithmetic calculator for addition, subtraction, multiplication, and division.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number System ArithmeticHardware-Grade

Octal Calculator

All-in-one octal calculator for addition, subtraction, multiplication, and division in base 8.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number System ArithmeticHardware-Grade

Hexadecimal Calculator

Complete hexadecimal calculator for addition, subtraction, multiplication, and division in base 16.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number System ArithmeticHardware-Grade

Base-N Addition

Add two numbers in any arbitrary radix from base 2 to base 36 with column carry tracking.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number System ArithmeticHardware-Grade

Base-N Subtraction

Subtract numbers in any arbitrary radix from base 2 to base 36 with column borrow tracking.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number System ArithmeticHardware-Grade

Base-N Multiplication

Multiply numbers in any arbitrary radix (base 2 to 36) with base-N partial products.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number System ArithmeticHardware-Grade

Base-N Division

Divide numbers in any radix (base 2 to 36) with step-by-step long division, quotient, and remainder.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number System ArithmeticHardware-Grade

Base-N Modulo Calculator

Compute modulo remainders (A mod B) directly in any base from base 2 to base 36.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number System ArithmeticHardware-Grade

Base-N Power Calculator

Calculate exponentiation (A^B) directly in any base from base 2 to base 36.

Number System Arithmetic • arithmetic0ms
#number-system-arithmetic#arithmetic
Open Tool →
Number Representation ToolsHardware-Grade

Signed Number Calculator

Evaluate signed integers across 8, 16, 32, and 64-bit Two’s Complement representations.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

Unsigned Number Calculator

Calculate unsigned integer capacity, binary bit patterns, and maximum values from 0 to 2^n - 1.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

Integer Range Calculator

Calculate signed and unsigned limits for any register width from 1 to 128 bits.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

4-bit Number Range Calculator

Analyze the 4-bit nibble register range: signed -8 to +7 and unsigned 0 to 15.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

8-bit Number Range Calculator

Analyze 8-bit byte register limits: signed -128 to +127 and unsigned 0 to 255.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

16-bit Number Range Calculator

Analyze 16-bit word limits: signed -32,768 to +32,767 and unsigned 0 to 65,535.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

32-bit Number Range Calculator

Analyze 32-bit dword limits: signed ±2.14 billion and unsigned 0 to 4.29 billion.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

64-bit Number Range Calculator

Analyze 64-bit qword limits: signed ±9.22 quintillion and unsigned 0 to 18.44 quintillion.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

Two's Complement Range Calculator

Calculate the asymmetric signed range [-2^(n-1) to +2^(n-1)-1] for any bit width n.

Number Representation Tools • range0ms
#number-representation#range
Open Tool →
Number Representation ToolsHardware-Grade

Floating Point Representation Calculator

Analyze real numbers in computer memory: sign bit, biased exponent, and significand fraction.

Number Representation Tools • float0ms
#number-representation#float
Open Tool →
Number Representation ToolsHardware-Grade

IEEE 754 Converter

Convert decimal real numbers into IEEE-754 32-bit Single Precision and 64-bit Double Precision formats.

Number Representation Tools • float0ms
#number-representation#float
Open Tool →
Number Representation ToolsHardware-Grade

IEEE 754 to Decimal

Convert 32-bit and 64-bit IEEE 754 binary or hex bit patterns back into real decimal numbers.

Number Representation Tools • float0ms
#number-representation#float
Open Tool →
Number Representation ToolsHardware-Grade

Decimal to IEEE 754

Convert real decimal numbers directly into IEEE 754 Single Precision and Double Precision bit patterns.

Number Representation Tools • float0ms
#number-representation#float
Open Tool →
Number Representation ToolsHardware-Grade

Float32 Converter

Specialized 32-bit Single Precision IEEE 754 float converter with exact rounding error analysis.

Number Representation Tools • float0ms
#number-representation#float
Open Tool →
Number Representation ToolsHardware-Grade

Float64 Converter

Specialized 64-bit Double Precision IEEE 754 float converter with 53-bit significand analysis.

Number Representation Tools • float0ms
#number-representation#float
Open Tool →
Educational Number System ToolsHardware-Grade

Number System Quiz

Test your understanding of binary, octal, decimal, and hexadecimal with interactive questions.

Educational Number System Tools • quiz0ms
#educational#quiz
Open Tool →
Educational Number System ToolsHardware-Grade

Binary Conversion Quiz

Practice and test binary to decimal, hex, and octal conversions with instant score tracking.

Educational Number System Tools • quiz0ms
#educational#quiz
Open Tool →
Educational Number System ToolsHardware-Grade

Hexadecimal Quiz

Master hexadecimal conversions, letters A through F, and 4-bit nibble mappings.

Educational Number System Tools • quiz0ms
#educational#quiz
Open Tool →
Educational Number System ToolsHardware-Grade

Octal Quiz

Test your base-8 knowledge: 3-bit triplets, octal arithmetic, and Unix permission modes.

Educational Number System Tools • quiz0ms
#educational#quiz
Open Tool →
Educational Number System ToolsHardware-Grade

Complement Quiz

Test your understanding of 1’s, 2’s, 9’s, and 10’s complements and signed register ranges.

Educational Number System Tools • quiz0ms
#educational#quiz
Open Tool →
Educational Number System ToolsHardware-Grade

Base Conversion Practice

Interactive practice generator: solve dynamically generated base conversion problems with hints and proofs.

Educational Number System Tools • quiz0ms
#educational#quiz
Open Tool →
Educational Number System ToolsHardware-Grade

Binary Arithmetic Practice

Practice binary addition, subtraction, multiplication, and division with instant solution checking.

Educational Number System Tools • quiz0ms
#educational#quiz
Open Tool →
Educational Number System ToolsHardware-Grade

Random Number System Generator

Generate random numbers in binary, octal, decimal, or hexadecimal across custom bit widths.

Educational Number System Tools • generator0ms
#educational#generator
Open Tool →
Educational Number System ToolsHardware-Grade

Step-by-Step Conversion Solver

Universal multi-radix solver showing every mathematical step, division table, and expansion row.

Educational Number System Tools • base-converter0ms
#educational#base-converter
Open Tool →
Educational Number System ToolsHardware-Grade

Number System Formula Sheet

Comprehensive reference of all mathematical formulas, complement equations, and radix conversion algorithms.

Educational Number System Tools • cheatsheet0ms
#educational#cheatsheet
Open Tool →
Educational Number System ToolsHardware-Grade

Number System Cheat Sheet

Quick-reference lookup tables: powers of 2, hex/octal/binary mapping, ASCII codes, and logic gates.

Educational Number System Tools • cheatsheet0ms
#educational#cheatsheet
Open Tool →
Directory

12 Core Engineering Categories

Every category has its own dedicated hub page with focused tools and deep educational context.

Category 112 Tools

Number System

Fundamental positional conversions between binary, decimal, octal, and hexadecimal.

Category 32 Tools

Decimal Tools

Tools for transforming base-10 decimal numbers and decimal fractions into binary and BCD.

Category 48 Tools

Octal Tools

Base-8 transformations, octal arithmetic calculators, and radix validators.

Category 511 Tools

Hexadecimal Tools

Hex conversions, base-16 arithmetic, nibble mappings, and hex validators.

Category 610 Tools

Complement Tools

1’s, 2’s, 9’s, and 10’s complements, signed binary, and sign-magnitude calculators.

Category 918 Tools

Base Conversion Tools

Convert between any arbitrary bases from Base 2 up to Base 36 and custom radices.

Category 109 Tools

Number System Arithmetic

Multi-radix calculators for Base-N addition, subtraction, multiplication, division, modulo, and power.

Category 1211 Tools

Educational Number System Tools

Interactive quizzes, arithmetic practice solvers, random generators, formula & cheat sheets.

Architecture

Engineered for Speed, Privacy & Precision

0ms Client-Side Calculations

Every formula runs directly in browser memory via ECMAScript BigInt. Results recalculate immediately with zero network latency.

Step-by-Step Educational Derivations

NumForge surfaces the underlying math: successive division tables, powers-of-radix expansions, carry propagation, and truth tables.

100% Privacy & Zero Tracking

Your inputs, keys, and values are never sent over the network. Zero cookies, zero tracking scripts, and offline-capable.

Knowledge Base

Computer Architecture & Number Systems

View All 7 Guides →
Radix Conversion6 min read

How to convert decimal to hexadecimal?

Converting decimal integers and fractions to hexadecimal is a foundational skill in systems programming, reverse engineering, and digital circuit design. This guide details both the successive division-by-16 method and the fast binary-intermediate method.

Step-by-step proofsRead Guide →
Radix Conversion6 min read

How to convert a decimal to binary?

Translating base-10 decimal numbers into base-2 binary strings is the core gateway between human mathematics and silicon hardware logic. Learn the mechanics of repeated division and positional weighting.

Step-by-step proofsRead Guide →
Computer Architecture7 min read

What is a number system?

A number system is a structured mathematical framework for expressing quantities through a consistent set of symbols. Learn the distinction between non-positional and positional notation and how radix weights power modern computation.

Step-by-step proofsRead Guide →
Computer Architecture7 min read

What is the difference between binary, decimal, octal, and hexadecimal?

Binary, Decimal, Octal, and Hexadecimal form the quartet of number systems powering all computer hardware and software. Discover their technical differences, positional column weights, and direct bit-grouping shortcuts.

Step-by-step proofsRead Guide →
Digital Electronics8 min read

How is binary addition performed in digital electronics?

Binary addition is the elemental operation of digital computing. Every subtraction, multiplication, and division operation in a microprocessor is ultimately built on adder circuits. Understand the silicon logic of addition.

Step-by-step proofsRead Guide →
Complements5 min read

What is 11111111 in 2s complement?

In an 8-bit Two’s Complement signed binary system, the bit pattern 11111111 represents decimal -1. Explore the mathematical proofs, MSB negative weighting, and modular arithmetic behind this fundamental value.

Step-by-step proofsRead Guide →
Complements8 min read

What do you mean by 2's complement?

Two’s Complement is the universal standard used by modern microprocessors to represent signed integers and execute subtraction. Discover why it replaced Signed Magnitude and One’s Complement.

Step-by-step proofsRead Guide →
Engineering Documentation

The Complete Engineering Guide to NumForge: Number Systems, Computer Arithmetic & Digital Logic

An authoritative reference on radix representation, arithmetic logic unit (ALU) design, signed integer limits, and floating-point encodings.

1. The NumForge Architecture: Deterministic Client-Side Engineering & Zero-Latency Execution

In modern electrical engineering, computer architecture, and embedded systems development, numeric accuracy and computational speed are paramount. NumForge (numforge.online) was engineered to serve as an authoritative, ad-free digital workbench for students, academic researchers, FPGA designers, and software engineers. Unlike conventional online calculators that rely on slow remote server roundtrips, intrusive tracking scripts, or standard double-precision floating-point approximations, NumForge operates under an uncompromising principle: 100% deterministic client-side execution. Powered by native ECMAScript BigInt primitives, our algorithms guarantee exact precision on numbers of arbitrary bit widths without the standard IEEE-754 precision cutoff at 53 bits. Every formula, truth table, and binary arithmetic proof is computed locally within your browser sandbox with 0ms network latency and complete data privacy.

2. Positional Radix Transformations: Converting Base 10, Base 2, Base 8, and Base 16

Positional notation forms the bedrock of computational mathematics. A real number N expressed in an integer radix r (≥ 2) is evaluated as a weighted summation of its constituent digits:

N = dnrn + dn-1rn-1 + … + d1r1 + d0r0 + d-1r-1 + … + d-mr-m

NumForge delivers specialized conversion engines designed to simplify transformations across fundamental computing radices:

  • Decimal to Binary Conversion (Base 10 to Base 2): Transforming decimal integers into pure binary bit patterns is accomplished through the successive division by 2 algorithm. By continuously dividing the quotient by 2 and recording remainders (0 or 1), the binary sequence is revealed by reading remainders from bottom to top. Our decimal to binary converter displays every division step, quotient-remainder table, and formatted 4-bit nibbles.
  • Binary to Decimal Conversion (Base 2 to Base 10): Using the positional powers of two expansion, each binary digit is paired with its weight (20 = 1, 21 = 2, 22 = 4, 23 = 8, 24 = 16, up to 263). Our binary to decimal calculator visualizes each term in the summation, providing an instant step-by-step verification solver.
  • Hexadecimal and Octal Converters: Because 24 = 16, four binary bits correspond to one hexadecimal digit (0–9, A–F). Our binary to hex converter and hex to binary converter perform direct 4-bit nibble groupings without decimal intermediaries. Similarly, since 23 = 8, our binary to octal converter and octal to binary converter map 3-bit triplets directly. For cross-radix tasks, our octal to hex converter and hex to octal converter bridge the two bases via binary restructuring. Furthermore, our universal base-N converter allows arbitrary radix transformations between any base from Base 2 to Base 36 (including ternary base 3, quaternary base 4, and duodecimal base 12).

3. Binary Computer Arithmetic: Addition, Subtraction, Multiplication & Long Division

At the hardware level of an Arithmetic Logic Unit (ALU), silicon logic gates execute fundamental binary math. NumForge provides interactive calculators for core binary arithmetic:

  • Binary Addition: Adding binary numbers follows fundamental rules: 0 + 0 = 0, 0 + 1 = 1, 1 + 0 = 1, and 1 + 1 = 0 with a carry bit of 1. Our binary addition calculator traces carry propagation across columns, illustrating how full adders cascade carries.
  • Binary Subtraction: Subtracting binary numbers introduces borrowing across columns (0 − 1 = 1 with a borrow of 1 from the next higher bit). Our binary subtraction calculator illustrates borrow flags and column alignment.
  • Binary Multiplication & Division: Multiplying binary numbers uses partial product accumulation based on binary shifts and adds. Binary division performs repeated subtraction through restoring or non-restoring long division algorithms, calculating exact quotients and remainders.

4. Signed Number Representations, Complements & Integer Register Limits

Representing negative values in digital circuits requires specialized signed binary number formats. NumForge allows side-by-side comparison across all major signed representation schemes:

  • Signed Magnitude: Allocates the most significant bit (MSB) as a sign flag (0 for positive, 1 for negative) with remaining bits representing magnitude. While intuitive, it suffers from redundant dual zeros (+0 and −0) and requires separate adder-subtractor circuits.
  • One’s Complement Calculator: Inverts every bit using bitwise NOT. While simple, it retains dual-zero ambiguity and requires an end-around carry step in addition.
  • Two’s Complement Calculator: The universal standard in modern microprocessors. Formed by taking the One’s Complement and adding 1 to the least significant bit (LSB). Two's complement eliminates negative zero and allows subtraction to be computed as A − B ≡ A + (~B + 1) using standard addition circuitry. NumForge also calculates Nine's and Ten's complements for decimal systems via our 2's complement calculator.
  • Integer Range Calculator: An n-bit Two’s Complement register spans an asymmetric signed integer range from −2n-1 to +2n-1 − 1, whereas unsigned ranges span from 0 to 2n − 1. NumForge provides exact limit calculations:
    • 4-bit range: Signed −8 to +7; Unsigned 0 to 15
    • 8-bit range (Byte): Signed −128 to +127; Unsigned 0 to 255
    • 16-bit range (Word): Signed −32,768 to +32,767; Unsigned 0 to 65,535
    • 32-bit range (Dword): Signed −2,147,483,648 to +2,147,483,647; Unsigned 0 to 4,294,967,295
    • 64-bit range (Qword): Signed −9,223,372,036,854,775,808 to +9,223,372,036,854,775,807

5. Digital Logic Gate Synthesis & Bitwise Operations

All microprocessors decompose into elementary Boolean logic gates governed by Boolean algebra:

  • Logic Gates Simulator: Test elementary gates including AND, OR, XOR, NOT, NAND, NOR, and XNOR. NAND and NOR serve as universal gates capable of synthesizing any digital circuit. Our bitwise AND calculator and logic tools generate complete multi-variable truth tables and schematic diagrams.
  • Bitwise Operations & Shifts: Our binary bit calculator provides interactive clickboards for Bitwise AND, OR, XOR, and NOT masks. It supports logical left shift, arithmetic right shift, and circular bit rotations, alongside storage conversions from bits to bytes, kilobytes, megabytes, and gigabytes.

6. Real Numbers, Binary Fractions & IEEE-754 Floating-Point Standards

Finite registers cannot store continuous real numbers without discrete approximations:

  • Binary Fraction Converter: Convert decimal fractions to binary using repeated multiplication by 2. Understand fractional powers of two (2-1 = 0.5, 2-2 = 0.25, 2-3 = 0.125) and observe why fractions like 0.1 produce non-terminating repeating binary patterns via our binary fraction converter.
  • IEEE-754 Floating-Point Converter: Dissect decimal numbers into Single Precision (32-bit Float32) and Double Precision (64-bit Float64) formats. View the 1-bit Sign, Biased Exponent (bias 127 for float, 1023 for double), and Normalized Mantissa / Significand. Our IEEE-754 converter exposes rounding deltas, subnormal boundaries, and special representations (+∞, −∞, NaN).

7. Specialized Digital Encodings: Gray Code, BCD, Excess-3 & ASCII

Beyond standard positional integers, computer systems employ diverse digital encodings:

  • Gray Code to Binary: Reflected Gray code guarantees that only a single bit toggles between consecutive numerical states. This unit-distance property eliminates race conditions in mechanical rotary encoders. Use our Gray code converter to translate between natural binary and Gray representations.
  • Binary Coded Decimal (8421 BCD) & Excess-3: BCD encodes each decimal digit into its own 4-bit nibble, facilitating clock displays and financial calculators. Excess-3 (XS-3) adds 3 (0011) to each BCD digit, simplifying 9's complement arithmetic. Our BCD converter supports both formats.
  • Text & System Encodings: Translate ASCII characters into binary and hex, parse Unicode codepoints, convert RGB color codes to hex, and map dotted-decimal IPv4 addresses to 32-bit binary bitstreams with our multi-radix text tools like ASCII to binary converter.

8. Number System Formulas, Conversion Cheat Sheets & Academic Verification

NumForge is built as a complete pedagogical resource. Every tool features integrated mathematical formulas, lookup tables, and step-by-step proofs. Whether you are validating homework exercises, checking bitwise register masks in C or Rust firmware, or preparing for computer science examinations, NumForge delivers instant, transparent, and mathematically rigorous solutions. Explore our Number System Formula Sheet and Number System Cheat Sheet.

FAQ

Frequently Asked Questions

40 items
FundamentalsQ1

What is a number system?

A number system (or numeral system) is a mathematical framework for representing numbers using a consistent set of symbols (digits) and defined rules. It establishes how numerical quantities are expressed, stored, and calculated. Most modern systems are positional number systems, where the numerical value of a digit is determined by both its face value and its position relative to the radix point (such as binary, octal, decimal, and hexadecimal).

FundamentalsQ2

What are the different types of number systems?

Number systems are broadly categorized into: 1) Positional Number Systems, where digit values depend on their position and base (Binary [Base 2], Octal [Base 8], Decimal [Base 10], Hexadecimal [Base 16], and arbitrary Base-N); 2) Non-Positional Systems, where symbols possess fixed values regardless of placement (such as Roman or Egyptian numerals); 3) Signed Systems for representing positive and negative numbers in computing (Signed Magnitude, 1’s Complement, and 2’s Complement); 4) Floating-Point Systems for real numbers (IEEE-754 Single and Double precision); and 5) Specialized Encodings (Gray code, BCD, Excess-3, and ASCII).

FundamentalsQ3

What is the difference between binary, decimal, octal, and hexadecimal?

The primary difference lies in their radix (base) and the number of distinct digit symbols they utilize: Binary (Base 2) uses only 2 symbols (0 and 1) and forms the basis of computer hardware. Octal (Base 8) uses 8 digits (0 through 7) and groups binary bits by threes (2^3 = 8). Decimal (Base 10) uses 10 digits (0 through 9) and is the universal standard for human mathematics. Hexadecimal (Base 16) uses 16 alphanumeric symbols (0–9 and A–F) and groups binary bits by fours (2^4 = 16), making it the primary shorthand for byte values and memory addresses in software engineering.

ConversionsQ4

How do you convert decimal to binary?

To convert a decimal integer to binary, apply the successive division by 2 algorithm: 1) Divide the decimal number by 2; 2) Record the integer quotient and the remainder (0 or 1); 3) Repeat the division using the quotient until it equals 0; 4) Read the recorded remainders in reverse order (from bottom to top, least significant bit to most significant bit). For fractional decimal values, repeatedly multiply the fractional part by 2 and record the resulting integer bits (0 or 1) from top to bottom.

ConversionsQ5

How do you convert binary to decimal?

To convert a binary number to decimal, use positional power-of-two expansion: 1) Write down the binary digits and assign each a positional weight starting with 2^0 = 1 for the rightmost bit, 2^1 = 2, 2^2 = 4, 2^3 = 8, 2^4 = 16, doubling for each step to the left; 2) Multiply each binary digit (0 or 1) by its respective power of two; 3) Sum all products together to obtain the decimal value. For fractional binary bits to the right of the radix point, multiply by negative powers of two (2^-1 = 0.5, 2^-2 = 0.25, 2^-3 = 0.125).

ConversionsQ6

How do you convert decimal to hexadecimal?

To convert a decimal integer to hexadecimal, perform repeated division by 16: 1) Divide the decimal value by 16; 2) Record the remainder (0 through 15). For remainders from 10 to 15, replace them with hex characters A (10), B (11), C (12), D (13), E (14), or F (15); 3) Continue dividing the integer quotient by 16 until the quotient reaches 0; 4) Read the remainders from bottom to top to assemble the hexadecimal string.

ConversionsQ7

How do you convert hexadecimal to decimal?

To convert hexadecimal to decimal, expand each character by its positional power of 16: 1) Convert any letter digits to their decimal numerical equivalents (A=10, B=11, C=12, D=13, E=14, F=15); 2) Assign weights starting from the rightmost digit with 16^0 = 1, 16^1 = 16, 16^2 = 256, 16^3 = 4,096, etc.; 3) Multiply each digit value by its corresponding power of 16; 4) Sum all products together to determine the decimal result.

ConversionsQ8

How do you convert binary to octal?

Because 2^3 = 8, exactly three binary bits correspond to one octal digit: 1) Group the binary sequence into sets of 3 bits, starting from the right (least significant bit) toward the left; 2) Pad the leftmost group with leading zeros if it contains fewer than 3 bits; 3) Convert each 3-bit binary triplet into its single octal digit equivalent (000=0, 001=1, 010=2, 011=3, 100=4, 101=5, 110=6, 111=7); 4) Concatenate the octal digits.

ConversionsQ9

How do you convert octal to binary?

To convert an octal number to binary: 1) Take each digit of the octal number individually; 2) Replace each octal digit with its exact 3-bit binary equivalent (0=000, 1=001, 2=010, 3=011, 4=100, 5=101, 6=110, 7=111); 3) Concatenate all 3-bit binary groups into a single binary string, discarding any non-essential leading zeros.

ConversionsQ10

How do you convert binary to hexadecimal?

Because 2^4 = 16, exactly four binary bits (one nibble) correspond to one hexadecimal character: 1) Partition the binary bits into groups of 4 starting from the right (least significant bit) and moving left; 2) Add leading zeros to the leftmost nibble if it has fewer than 4 bits; 3) Map each 4-bit nibble into its corresponding hex symbol (0000=0 through 1001=9, 1010=A, 1011=B, 1100=C, 1101=D, 1110=E, 1111=F); 4) Join the hex symbols together.

ConversionsQ11

How do you convert hexadecimal to binary?

To convert hexadecimal to binary: 1) Separate each hexadecimal digit in the string; 2) Replace each hex character with its direct 4-bit binary nibble (e.g., 3 = 0011, A = 1010, F = 1111), making sure to include leading zeros within each 4-bit group; 3) Combine the nibbles into a continuous binary bitstream.

ConversionsQ12

How do you convert octal to hexadecimal?

The most direct and accurate approach to convert octal to hexadecimal is to use binary as an intermediate bridge: 1) Convert each octal digit into its 3-bit binary triplet (e.g., 75_8 -> 111 101_2); 2) Regroup the resulting binary bitstream into 4-bit nibbles starting from the rightmost bit (e.g., 0011 1101_2); 3) Convert each 4-bit nibble into its corresponding hexadecimal character (0011 = 3, 1101 = D -> 0x3D).

ConversionsQ13

How do you convert hexadecimal to octal?

To convert hexadecimal to octal, bridge through binary: 1) Expand each hexadecimal digit into its 4-bit binary nibble (e.g., 2F_16 -> 0010 1111_2); 2) Re-partition the entire binary stream into 3-bit triplets starting from the right (e.g., 000 101 111_2); 3) Translate each 3-bit group into its equivalent octal digit (000=0, 101=5, 111=7 -> 57_8).

FundamentalsQ14

What is binary and why is it used in computers?

Binary is a base-2 numeral system that represents numeric values using only two symbols: 0 and 1. Computers utilize binary because physical electronic hardware (transistors, logic gates, and silicon memory cells) naturally operates with maximum reliability in two distinct electrical states: OFF (0 volts / low voltage) and ON (typically +3.3V or +5V / high voltage). Binary drastically simplifies circuit engineering, reduces vulnerability to electrical noise, and avoids the unreliability of distinguishing 10 separate analog voltage thresholds.

FundamentalsQ15

Why is hexadecimal used in computing?

Hexadecimal (base 16) is used in computer engineering as a human-readable shorthand for raw binary. Since 16 is 2^4, one hex digit corresponds to exactly 4 bits (a nibble), and two hex digits correspond to an 8-bit byte (from 0x00 to 0xFF). This makes memory addresses (such as 0x7FFF5FBFF), assembly instructions, color codes (#0066CC), MAC addresses, and UUIDs concise, readable, and far less prone to transcription errors than 32-bit or 64-bit binary strings.

FundamentalsQ16

What is the difference between a bit and a byte?

A bit (binary digit) is the smallest fundamental unit of data in computing, storing a single binary state: either 0 or 1. A byte is a group of 8 contiguous bits. A byte can represent 2^8 = 256 distinct permutations (from 0 to 255 unsigned, or -128 to +127 signed). The byte serves as the universal addressable unit of memory storage across modern computer hardware.

FundamentalsQ17

What is a base in a number system?

The base (or radix) of a number system specifies the total number of unique digit symbols, including zero, available to represent numbers. In a positional numeral system, the base also serves as the scaling factor for each positional column, where the i-th column has a weight of base^i.

FundamentalsQ18

What digits are used in binary, octal, decimal, and hexadecimal?

The allowable digits are: Binary (Base 2): 0, 1; Octal (Base 8): 0, 1, 2, 3, 4, 5, 6, 7; Decimal (Base 10): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9; Hexadecimal (Base 16): 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, along with letters A (10), B (11), C (12), D (13), E (14), and F (15).

Arithmetic & ComplementsQ19

What is 1's complement?

One's Complement (1's complement) of a binary number is obtained by inverting every bit: swapping all 1s to 0s and all 0s to 1s (the bitwise NOT operation). In signed 1's complement arithmetic, negative numbers are represented by inverting all bits of their positive counterparts. However, 1's complement suffers from having two distinct zeros (+0 as all zeros and -0 as all ones), requiring end-around carry logic during arithmetic.

Arithmetic & ComplementsQ20

What is 2's complement?

Two's Complement (2's complement) is the universal mathematical standard for representing signed integers in computer hardware. It is calculated by taking the 1's complement of a binary number (inverting every bit) and adding 1 to the least significant bit (LSB): Two's Complement = ~X + 1. It allows processors to execute subtraction using the identical digital adder circuitry as addition (A - B = A + (~B + 1)).

Arithmetic & ComplementsQ21

What is the difference between 1's complement and 2's complement?

The critical differences are: 1) Calculation: 1's complement is pure bit inversion (~X), whereas 2's complement is bit inversion plus one (~X + 1); 2) Zero representation: 1's complement has dual zeros (+0 and -0), causing mathematical ambiguity, whereas 2's complement has a single, unique zero (00000000); 3) Hardware complexity: 2's complement eliminates the need for end-around carry correction during addition; 4) Range: An n-bit 2's complement register spans -2^(n-1) to +2^(n-1) - 1, representing one extra negative value than 1's complement.

Arithmetic & ComplementsQ22

How do you perform binary addition?

Binary addition follows four fundamental column rules: 0 + 0 = 0; 0 + 1 = 1; 1 + 0 = 1; and 1 + 1 = 0 with a carry-out of 1 (10_2). When an incoming carry bit is present, 1 + 1 + 1 = 1 with a carry-out of 1 (11_2). Beginning at the least significant bit on the right, add corresponding bits column by column, propagating carry bits to the left.

Arithmetic & ComplementsQ23

How do you perform binary subtraction?

Binary subtraction can be performed using two methods: 1) Direct Borrow Method: 0 - 0 = 0, 1 - 0 = 1, 1 - 1 = 0, and 0 - 1 = 1 after borrowing 1 from the next higher non-zero column (where the borrowed bit has a weight of 2); 2) Two’s Complement Method (Standard ALU): Convert the subtrahend B into its Two’s Complement (~B + 1) and add it to the minuend A: A + (~B + 1). Any carry generated beyond the register size is ignored.

Digital Logic & ArchitectureQ24

What are bitwise AND, OR, XOR, and NOT operations?

Bitwise operations evaluate operands bit by bit in parallel: Bitwise AND (&) returns 1 only when both bits are 1 (used for masking and clearing bits); Bitwise OR (|) returns 1 if either bit is 1 (used for setting flags); Bitwise XOR (^) returns 1 if the input bits differ (used for toggling bits, parity checks, and cryptography); Bitwise NOT (~) inverts every bit (0 becomes 1, and 1 becomes 0).

Encodings & StandardsQ25

What is Gray code?

Gray code (reflected binary code) is an unweighted binary numeral system in which two successive values differ by only one single bit position (known as the unit-distance property). This prevents race conditions and spurious intermediate switching states in digital encoders, optical shaft sensors, and asynchronous FIFO memory buffers.

Encodings & StandardsQ26

What is BCD (Binary-Coded Decimal)?

Binary-Coded Decimal (BCD, specifically 8421 BCD) is a digital encoding scheme where each decimal digit (0 through 9) is represented by its own 4-bit binary nibble (0000 to 1001). Bit patterns from 1010 to 1111 (10 to 15) are invalid in BCD. BCD is widely used in electronic displays (digital clocks, voltmeters) and financial accounting systems to eliminate floating-point decimal rounding errors.

Encodings & StandardsQ27

What is Excess-3 code?

Excess-3 (XS-3 or Stibitz code) is an unweighted, self-complementing digital code derived by adding 3 (binary 0011) to each decimal digit’s 8421 BCD representation. It is self-complementing because taking the 1’s complement of an Excess-3 number directly produces the 9’s complement of the decimal digit, simplifying subtraction circuits in early digital ALUs.

Arithmetic & ComplementsQ28

What is a signed number in binary?

A signed binary number is an encoding format designed to represent both positive and negative quantities. In fixed-width computer registers, the most significant bit (MSB, leftmost bit) indicates the sign: 0 denotes positive and 1 denotes negative. Modern processors format signed numbers in Two’s Complement representation.

Arithmetic & ComplementsQ29

What is the difference between signed and unsigned numbers?

Unsigned numbers treat all bits as pure numerical magnitude and can only represent non-negative integers (0 to 2^n - 1). Signed numbers allocate the most significant bit (MSB) as a sign flag and format negative values via Two’s Complement, spanning from -2^(n-1) to +2^(n-1) - 1. For an 8-bit byte, unsigned spans 0 to 255, while signed spans -128 to +127.

Encodings & StandardsQ30

What is IEEE 754 floating-point representation?

IEEE 754 is the international technical standard for representing real (fractional) numbers in computer hardware. It splits bits into three fields: Sign bit (1 bit), Biased Exponent (8 bits for Single Precision Float32 with bias 127; 11 bits for Double Precision Float64 with bias 1023), and Normalized Significand/Mantissa (23 bits for Float32; 52 bits for Float64). The real value is evaluated as (-1)^Sign * (1.Mantissa) * 2^(Exponent - Bias).

Arithmetic & ComplementsQ31

How many values can an 8-bit number represent?

An 8-bit binary number can represent exactly 2^8 = 256 unique discrete states or values, regardless of whether it is interpreted as unsigned integer (0 to 255), signed Two’s Complement integer (-128 to +127), an ASCII character, or a bitfield.

Arithmetic & ComplementsQ32

What is the range of an 8-bit signed integer?

In standard Two’s Complement representation, an 8-bit signed integer ranges from -128 to +127 (inclusive). The negative limit is -2^(8-1) = -128, and the positive limit is +2^(8-1) - 1 = +127.

Arithmetic & ComplementsQ33

What is the range of an 8-bit unsigned integer?

An 8-bit unsigned integer ranges from 0 to 255 (inclusive). The minimum value is 0 (binary 00000000) and the maximum value is 2^8 - 1 = 255 (binary 11111111).

ConversionsQ34

How are hexadecimal numbers related to binary numbers?

Hexadecimal and binary have an exact power-of-two mathematical relationship: 16 = 2^4. Consequently, each hexadecimal digit corresponds directly to a unique 4-bit binary group (nibble). For example, hex 0 is 0000, 9 is 1001, A is 1010, and F is 1111. Converting between them requires no arithmetic division, only 4-bit grouping.

ConversionsQ35

How are octal numbers related to binary numbers?

Octal and binary share a direct power-of-two relationship: 8 = 2^3. Thus, each octal digit (0 through 7) maps exactly to a 3-bit binary triplet (e.g., octal 0 = 000, octal 4 = 100, octal 7 = 111). Conversion between octal and binary is executed by clustering bits into groups of three.

ConversionsQ36

Can a number be converted between any two bases?

Yes. Any real number can be converted between any two integer radices A and B (where A, B >= 2). In computational mathematics, the universal procedure converts the base A number to decimal (base 10) by positional polynomial expansion, and then converts the decimal value to base B via repeated division (for the integer part) and repeated multiplication (for the fractional part).

FundamentalsQ37

How can I check whether a number is valid for a particular base?

A number string is valid in base N if and only if every single character belongs to the allowable alphabet for that base and its numeric value is strictly less than N (0 <= digit < N). For instance, 102 is invalid in binary (contains 2), 789 is invalid in octal (contains 8 and 9), and 1G is invalid in hexadecimal (G is outside A-F).

ConversionsQ38

How are fractional numbers converted between different bases?

To convert fractional numbers: 1) From Base N to Decimal: Multiply each digit to the right of the radix point by negative powers of the base (sum of digit * N^-position); 2) From Decimal to Base N: Repeatedly multiply the fractional part by N. The integer part of each product forms the next fractional digit in base N, and the remaining fraction is multiplied again until it reaches zero or the desired precision.

Digital Logic & ArchitectureQ39

Where are binary, octal, decimal, and hexadecimal numbers used?

Binary is used in physical CPU registers, logic gates, memory storage, and network headers. Octal is used in Unix/Linux file permissions (e.g., chmod 755), legacy computer architectures, and aviation transponder codes. Decimal is used in human commerce, finance, and everyday science. Hexadecimal is used in computer memory addresses (pointers), assembly code, web color codes (#FFFFFF), MAC addresses, IPv6 addresses, and cryptographic hash digests.

Digital Logic & ArchitectureQ40

Why are number systems important in computer science and digital electronics?

Number systems bridge physical silicon hardware and abstract software computation. They govern how discrete voltage levels model logical data, how arithmetic logic units (ALUs) execute calculations at billions of operations per second, how memory addresses are referenced, and how floating-point numbers are approximated without precision loss. Mastering number systems is essential for embedded systems, compiler construction, low-level systems programming, networking, and cybersecurity.

Zero Latency • 100% In-Browser Execution

High-precision number tools. Designed for modern engineering.

No user logins, no server roundtrips, and zero tracking. Calculate conversions, simulate logic circuits, and analyze IEEE floats directly in your browser.

Free and open for researchers, engineers, and computer science students.