What is Octal Calculator?
Octal Calculator does arithmetic and bitwise operations (add, subtract, multiply, divide, remainder, AND, OR, XOR) on whole numbers written in binary, octal, decimal or hexadecimal, and shows the answer in all four bases. Only whole numbers are supported, with no size limit. Division gives the whole-number quotient and the remainder.
How It Works
- Enter two whole numbers, the operation and the number base the inputs are written in in the input fields on this page.
- Press the button to run Octal Calculator.
- Read the answer in decimal, binary, octal and hexadecimal in the result area, and copy or download it.
Common Uses
- Checking homework on number systems and binary arithmetic.
- Working out bit masks and flag combinations while programming.
- Converting a result between hex and binary without doing it by hand.
Good to Know
Choose the base of your inputs first: 1010 means ten in binary but one thousand and ten in decimal.
In more detail
Enter two numbers in the same base, choose the base (the page starts on 8) and an operation. The tool shows the result in that base and also in decimal, binary, octal and hexadecimal. Operations are add, subtract, multiply, divide with remainder, remainder, AND, OR and XOR.
Worked example
17 + 5 in base 8 is 24 (decimal 20, binary 10100, hexadecimal 14). 17 divided by 5 in base 8 is 3 remainder 0, and 777 times 777 is 776001 (decimal 261121).
Limits
A digit that does not exist in the chosen base, such as 9 in base 8, shows a message. Division is whole-number division with a remainder. Negative results are shown with a minus sign, and the binary, octal and hexadecimal lines show a negative number as a minus sign, not as two's complement.
Frequently Asked Questions
Can I change the base?
Yes. Choose 2, 8, 10 or 16.
Does it handle large numbers?
Yes, it uses exact whole-number arithmetic.
What does Octal Calculator do?
Octal Calculator does arithmetic and bitwise operations (add, subtract, multiply, divide, remainder, AND, OR, XOR) on whole numbers written in binary, octal, decimal or hexadecimal, and shows the answer in all four bases. Only whole numbers are supported, with no size limit. Division gives the whole-number quotient and the remainder.
What do I need to enter in Octal Calculator?
Two whole numbers, the operation and the number base the inputs are written in.
Is my data private in Octal Calculator?
Octal Calculator runs in your browser, so what you enter is not uploaded to MyToolDock.
Is MyToolDock Octal Calculator free to use?
Yes, MyToolDock Octal Calculator is 100% free with no registration, subscriptions, or limits. All features are fully unlocked.