Loadingβ¦
Loadingβ¦
Convert whole numbers between binary, octal, decimal, hex and any base from 2 to 36, see two's complement, and do arithmetic and bitwise operations in any base.
Also covers: Binary calculator Β· Hex calculator Β· Decimal to binary Β· Base converter
Prefixes 0b, 0o, 0x and _ separators are accepted.
Conversions
1111 1111377255ff730000 0000 1111 1111A + B
1 0000
Octal
20
Decimal
16
Hexadecimal
10
Prefixes like 0x and 0b are understood; there's no size limit.
Or use the second panel to add, multiply, AND, OR, XOR or shift numbers written in binary, octal, decimal or hex.
Repeatedly divide by 2 and read the remainders from the last to the first: 13 β 1101. This tool does it instantly for numbers of any size.
The standard way computers store negative integers: in 8 bits, β1 is 11111111. The tool shows it for any bit width.
Base 16 needs 16 digits, so aβf stand for 10β15. One hex digit is exactly four binary digits, which is why programmers use it.
Calc
A fast online calculator with a keypad, keyboard input, brackets, percentages, square roots, and a history of your calculations. Exact decimals: 0.1 + 0.2 = 0.3.
Calc
Free online scientific calculator: sin, cos, tan and inverses in degrees or radians, logs, powers, roots, factorials, Ο and e, with history and 34-digit precision.
Percent
Seven percentage calculators in one: percent of a number, what percent, percentage change, increase or decrease by a percent, percentage difference, and reverse percentages.
Ratio
Simplify ratios (including decimals), solve proportions like 3 : 4 = x : 20, and divide an amount in a given ratio, with the working shown.
Fractions
Add, subtract, multiply and divide fractions and mixed numbers exactly. Get the simplest form, mixed number, decimal (with repeating digits), and percent.
Powers
Raise any number to any power: exact results for whole-number powers (even huge ones like 2ΒΉβ°β°β°), plus negative, fractional and decimal exponents.