Quick guide
How to use this calculator
- Choose the direction, operation, representation, or parity convention when one is provided.
- Enter the labelled values and an explicit word size, base, polynomial, or encoding option where required.
- Read the primary result together with its alternate representations and stated convention.
Calculation method
Apply the declared binary rule
A finite normal value is (−1)^sign × 1.fraction × 2^(exponent−bias).
The calculator validates every digit against its numeral base, keeps integer and bitwise work exact with arbitrary-precision integers, and limits fixed-width operations to the selected word.
Worked example
Worked binary example
The binary32 pattern for 1.5 is 00111111110000000000000000000000.
A finite normal value is (−1)^sign × 1.fraction × 2^(exponent−bias).
Supported inputs
Precision and limits
Input interpretation
Binary-only fields accept 0 and 1. General integer fields accept decimal plus 0b, 0o, or 0x prefixes. Base conversion supports bases 2 through 36.
Word size and output
Most fixed-width tools support 1–256 bits. Results expose signedness, truncation, parity, or encoding conventions whenever those choices change the meaning.
Local privacy
Calculation runs in the browser. Entered text, bit patterns, code words, and numeric values are not sent to analytics or third parties.
Calculator-specific rule
The converter exposes the host’s correctly rounded binary32 or binary64 value, including zero, subnormal, infinity, and NaN classifications.
