Loadingβ¦
Loadingβ¦
Type in binary, octal, decimal, hex or any base from 2 to 36 and see the rest update β including fractions, with repeating digits shown exactly.
Also covers: Binary to decimal Β· Decimal to hex Β· Hex to binary Β· Octal converter Β· Binary fraction converter
Fractions work too: digits after the point convert exactly, and a repeating block is shown in brackets β 0.1 in decimal is 0.0(0011) in binary. Prefixes 0b, 0o and 0x are accepted. Letters AβZ stand for 10β35.
Decimal value
255.625
Bits (whole part)
8
Bytes
1
Sign
Positive
All bases 2β36
Binary, octal, decimal, hex, or a custom base from 2 to 36.
Every other field updates at once, and the panel lists the number in every base.
Add up the powers of two where there's a 1: 1011 = 8 + 0 + 2 + 1 = 11. Type it in the binary field to see it.
Yes. 0.625 in decimal is 0.101 in binary. Some fractions never end in another base: 0.1 is 0.0(0011) in binary, with the bracketed digits repeating forever.
Any size β it uses exact whole-number arithmetic (BigInt), not floating point.
The number base calculator adds, subtracts and does bitwise operations in any base and shows two's complement.
Length
Convert between miles, kilometres, feet, metres, inches, centimetres, yards and more β exact to the international yard, with a reference table and every unit at once.
Weight
Convert pounds, kilograms, ounces, grams, stones, tons, carats and troy ounces, exact to the international pound (0.45359237 kg).
Temperature
Convert Celsius, Fahrenheit, Kelvin and Rankine with the formula shown, plus an oven temperature and gas mark chart.
Area
Convert acres, hectares, square feet, square metres, square miles and more, with exact factors and a quick-reference table.
Volume
Convert litres, US and UK gallons, quarts, pints, cups, fluid ounces, cubic feet and more β US and imperial units kept separate.
Speed
Convert mph, km/h, m/s, knots and feet per second, with the exact factor and a conversion table.