Number Base Arithmetic Calculator

This number base arithmetic calculator adds, subtracts or multiplies two numbers written in a base other than ten, such as binary, octal, duodecimal or hexadecimal. Enter the two numbers, choose the operation and the base, and the calculator returns the answer in that same base, with the decimal value shown for checking. Working directly in another base is handy in computing and digital electronics, where binary and hexadecimal are everywhere, and it builds a feel for how place value works in any base. The calculator flags any digit that is not valid for the chosen base. The method, a worked example and the assumptions are below.

Calculate.co.nz is proud to be partnered with Premium Homes, a recognised leader in eco-friendly, sustainable, and energy-efficient homebuilding. With a dedicated team and award-winning experience, they create homes that prioritise health, comfort, and long-term performance. Their founders, Andrew and Kelly, set out to raise the standard of residential construction in New Zealand by combining practical building expertise with a clear commitment to doing things better for homeowners.
Calculate.co.nz partner: Premium Homes
 
Result (decimal) 
Base 

The formula

Each number is read in the chosen base, the operation is carried out, and the result is written back in that base. A digit must be less than the base, so base 2 allows only 0 and 1, base 16 allows 0 to 9 and A to F.

Worked example

In binary, 1010 + 11 means 10 + 3 in decimal, which is 13, written 1101 in binary. Enter 1010 and 11 with base 2 and plus to confirm.

Frequently asked questions

What bases can I use?

This tool offers base 2, 8, 12 and 16, the most common non-decimal bases in computing and maths.

What if I type an invalid digit?

The calculator flags it. Each digit must be smaller than the base, so 2 is not allowed in binary.

Why show the decimal too?

So you can check the result, since most people read decimal more easily than other bases.

Who this calculator is for

This calculator is for students, programmers and anyone needing a quick, reliable result.

What this calculator assumes

  • You enter valid input.
  • The standard algorithm is applied.
  • Results are rounded for display.

Formula and sources

Related calculators

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 · Privacy policy · Terms of use

Reviewed and maintained. Last reviewed 2026-06-21 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.