This octal converter turns any decimal whole number into octal, the base eight number system that once underpinned early computing and still turns up today in Unix and Linux file permission codes, such as chmod 755. Octal uses only the digits 0 to 7, and because each octal digit lines up neatly with exactly three binary digits, it became a compact, human-readable stand-in for long strings of binary on older systems, a habit that has stuck around in programming and system administration. To use the calculator, enter a decimal whole number, including negatives if needed, into the single input field. As you type, the tool instantly converts your figure and displays the resulting octal value as the main result, with the equivalent binary and hexadecimal representations shown alongside for quick comparison. This means you get three number bases from one entry, which is handy for checking your own manual working, setting file permissions correctly, or exploring how the same quantity looks across different counting systems. The conversion works by repeatedly dividing the decimal number by 8 and reading the remainders in reverse order, as set out in the worked example and formula below. It suits students learning number systems, programmers wanting a fast cross-check, and anyone curious how computers represent numbers, and it assumes you enter a whole number using the standard integer conversion method.
To convert to octal, repeatedly divide by 8 and record the remainders, then read them from last to first. Each octal digit represents three binary bits.
64 divided by 8 is 8 remainder 0, and 8 divided by 8 is 1 remainder 0, so 64 is 100 in octal. That is 1000000 in binary and 40 in hex. Enter 64 to confirm.
Base eight, using digits 0 to 7. Each octal digit equals three binary bits.
Most visibly in Unix and Linux file permissions, such as chmod 755.
100, because 64 is 8 squared.
This calculator is for students, programmers and anyone exploring number theory.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland by SiteHost New Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-08-15 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.