A numeral system, or base, is simply the set of symbols and place values we use to write numbers, and this converter translates a number from any base into any other, from 2 right up to 36. Enter your number, choose the base it is written in and the base you want it in, and it returns the converted value, along with a handy panel showing the same number in the four bases people use most: binary, octal, decimal and hexadecimal. Everything updates as you type. We grow up using base 10, the decimal system with digits 0 to 9, because we have ten fingers, but it is only one choice among many. Computers run on base 2, binary, where every value is built from just 0s and 1s mirroring the on-off states of their circuits, and programmers lean heavily on base 16, hexadecimal, which uses 0 to 9 then A to F and packs four binary digits into one symbol, making long strings of bits readable. Octal, base 8, plays a similar shortening role. Converting between them is really one idea: read the number to find its true value, then rewrite that value using the digit set of the target base. For bases above 10 the extra digits are the letters A onwards, so hexadecimal F stands for fifteen. The converter validates that your digits are legal for the base you chose, so it will not let a 2 sneak into a binary number. That makes the tool genuinely useful for computer science and digital electronics students learning number systems and checking homework, for programmers working with colour codes, memory addresses, bitmasks and file formats, and for anyone curious about how the same value looks in different bases. The system and a worked example are explained clearly below.
The converter reads the number using its from-base to work out its value, then rewrites that value in the to-base. Digits above 9 use the letters A (ten) through Z (thirty-five). Each position in a base-b number is worth b times the position to its right, which is how the value is built up and broken down.
The decimal number 255 has the value two hundred and fifty-five. In binary it is 11111111, eight ones, because 255 is one less than 256, which is 2 to the power 8. In hexadecimal it is FF, since 255 is 15 times 16 plus 15, and 15 is written F. In octal it is 377.
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.
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 via 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
Reviewed and maintained. Last reviewed 2026-06-05 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2019 to 2026 Calculate.co.nz. All rights reserved.