NAND Calculator

Updated: Sep 4, 2018

Online calculator for bitwise NAND operation on numbers in Binary, Octal, Decimal, Hex & Ascii format.

Multiple input numbers (even greater than 2) are supported by applying bitwise operations successively on the intermediate results.

Input: Paste numbers below (at least two, 1 per line or separated by space, comma or semi-colon)


Binary Result:
The result of NAND operation in Binary
Octal Result:
The result of NAND operation in Octal
Decimal Result:
The result of NAND operation in Decimal
Hex Result:
The result of NAND operation in Hex
Ascii Result:
The result of NAND operation in Ascii
Input Base:
The base of the input numbers either explicitly specified or automatically detected

About NAND Calculation

NAND is a digital logic gate that outputs false or 0 only when the two binary bit inputs to it are 1 or HIGH.

You can remember the above result using one of these logics too:-

  • Reverse of AND operation which returns true only when both inputs are true
  • Returns true unless both inputs are true

NAND is the complement of an AND gate. A unique property of NAND gate is that any other boolean function can implemented by combining multiple NAND gates. Checkout the Truth Table below for more information on the results.

What can you do with this tool?

Well, simply put it you can use it to calculate NAND online. The tool supports inputs in the common numerical bases Binary, Octal, Decimal, Hex & even ASCII. That means you can also NAND hex values or NAND strings in ASCII. This is done by first converting the inputs into their Binary equivalents then performing the NAND operation on them. Finally, the results are returned in all of the above numerical bases so that you can pick whichever ones you want.

Intermediate Calculation

The intermediate results are shown in a tabular format which can help you diagnose any problems you encountered while doing a manual NAND operation. In this table, your inputs are shown in their original form. If the input base is not binary then each translation of the inputs to binary is also shown in a different column.

Input Base
Choose the base of the input numbers
Auto Detect
In this mode, number base is automatically detected based on the input provided
Binary (base 2)
NAND two binary numbers
1000 ⊼ 1111 = 111
Octal (base 8)
NAND two octal numbers
1000 ⊼ 7777 = 6777
Decimal (base 10)
NAND two decimal numbers
1000 ⊼ 9999 = 15607
Hex (base 16)
NAND two hex numbers
1000 ⊼ FFFF = EFFF
Ascii (base 256)
NAND two ascii strings
a ⊼ B = ?
Auto Cleansing
If selected, automatic cleansing is performed on the data

NAND Truth Table

Boolean Operations
Bit Operations


Mar 25, 2018
Tool Launched

Created: Mar 25, 2018
Online Tool Designed For: Windows, OS X, Android, iOS, Linux