How the Number Base Converter (Binary, Octal, Decimal, Hex) works
Each digit is multiplied by a power of the base; converting to binary repeatedly divides by 2.
Binary ↔ octal ↔ decimal ↔ hex with steps.
Formulas and rates last reviewed · How we check
Calculating…
For education only: Results are rough estimates, not a substitute for professional design, building codes or site checks. Consult a qualified engineer (a structural engineer for buildings, a licensed electrician for wiring) before buying materials or starting work.
Each digit is multiplied by a power of the base; converting to binary repeatedly divides by 2.
255 in decimal
255 in binary: 1111 1111
11111111 (8 bits), FF in hex and 377 in octal.
Replace each hex digit with its 4-bit binary value: F = 1111, A = 1010.
Yes, prefixes like 0x and 0b are ignored.
No practical limit: it uses big-integer arithmetic.
Network, broadcast, host range and mask from any IPv4 address and CIDR.
Convert 14 data storage units instantly, with quick reference tables.
X% of Y, what percent, % change and add/subtract percentages in one tool.
Roots, discriminant, vertex and graph.