Skip to content
Trending Tools

Number Utilities

Bitwise AND, OR and XOR of two whole numbers.

  • Free
  • No sign-up
  • Runs in your browser

Enter one or two whole numbers (any size, negatives fine) to see bases, primes, arithmetic, GCD/LCM and bitwise results.

Output

Your result will appear here.

What does Number Utilities do?

Number Utilities tells you everything about one or two whole numbers of any size: binary, octal and hex, even or odd, whether they are prime, digit count and sum — and for two numbers the sum, difference, product, division with remainder, GCD, LCM and bitwise AND, OR and XOR.

What you can use

One or two whole numbers, negatives allowed (0x… and 0b… work too).

Example

Input

84 and 36

Output

GCD = 12
LCM = 252
A AND B = 4

How to use Number Utilities

  1. Step 1

    Enter the first number and, optionally, a second one.

  2. Step 2

    Press Calculate.

  3. Step 3

    Copy the results you need.

Good to know

  • AND keeps bits set in both numbers, OR in either, XOR in exactly one.
  • The GCD is the largest number that divides both; the LCM is the smallest number both divide into.

Your privacy

Everything happens in this browser tab: what you paste is converted by JavaScript on your device and never sent to our server. Closing the tab clears it. Even so, don’t paste live passwords, API keys or customer records into any website.

All Trending Tools

Frequently asked questions

Is Number Utilities free?

Yes. Number Utilities is completely free, with no sign-up, no watermark and no daily limit.

Is the data I paste sent to a server?

No. Conversion runs in JavaScript inside this browser tab and nothing you paste is sent or stored. Even so, avoid pasting live passwords, API keys or private customer data into any website.

Why do I get an error?

Almost always the input isn’t quite valid: a missing comma or quote in JSON, an unclosed tag in XML, or a tab in YAML. The error message shows where parsing stopped — fix that spot, or press “Load example” to compare with input that works.

Does it work on my phone?

Yes. It works in any modern browser on Android, iPhone, tablets and computers — nothing to install.