Skip to main content

Math calculator

Binary / Octal / Decimal / Hex Calculator

Perform exact whole-number arithmetic directly in binary, octal, decimal, or hexadecimal.

Operation

Base arithmetic result

Enter values to calculate

Inputs and outputs stay in the selected base. Division reports a whole-number quotient and remainder.

Supported bases

Choose binary (2), octal (8), decimal (10), or hexadecimal (16). Input digits are validated against the selected base before calculation.

Division behavior

Division uses whole-integer quotient and remainder, which avoids pretending that a repeating fractional value is an exact integer-base result.

Exact integer math

Calculations use BigInt rather than floating-point Number arithmetic, so long integer inputs are not rounded within the stated input limit.

Frequently asked questions

Are results saved or uploaded?

The calculation runs in your browser. Tooliyapa does not require an account to use this calculator.

Should I verify an important result?

Yes. For financial, health, academic, engineering, legal, or other consequential decisions, verify the inputs, assumptions, and result against an appropriate authoritative source or qualified professional.