Binary Calculator

Convert between decimal, binary, octal and hex.

Inputs

Ready when you are

Fill in the values, then press Calculate to see your result.

Preparing today's date…

About Binary Numbers

Convert between decimal, binary, octal and hex.

Prime factorisation underpins the modular arithmetic behind public-key encryption, and the greatest common factor is what reduces a fraction to lowest terms. Binary, octal and hexadecimal are simply place-value systems running on a different base.

Number-theory answers follow from prime structure: factors, multiples, remainders and repeating cycles all come out of the way a number breaks into primes. Binary, notation and sequence questions are the same idea in another base or another form.

Binary writes numbers in powers of two with only two symbols, and digital systems store data this way at bottom. Hexadecimal shortens four binary digits into one, which is why memory addresses and colour values are usually written in it.

Whole-number results here are exact rather than rounded, so a value that looks wrong is almost always a unit or base mismatch rather than a rounding artefact.

Factors and multiples carry the structure of a number: the greatest common factor is the largest block two numbers share, and the least common multiple is the smallest in which both fit. Base conversion preserves value while changing the symbols used to write it.

Binary Calculator sits with the rest of the library's maths work, and it rests on the same whole-number arithmetic the way a textbook or an exam paper does. Its answer is only as good as the assumptions standing behind it.

The quantities it works from — value and input base — are the ones a real whole-number question actually turns on, and each carries a convention of its own, set out below.

Mathematics is the one subject here that depends on nothing local: the same theorem holds in Ohio and Osaka, and the same fraction carries the same value everywhere. What changes is how results are written — American schooling teaches decimal notation and long division, and business arithmetic runs on fractions of a dollar.

Precision and rounding are where most practical errors creep in.

More in Maths

View all