Programmer Calculator

Binary, octal, decimal and hex with bitwise operations.

HEX0x0
DEC0
OCT0o0
BIN0b0

Operates on 64-bit signed integers. Bitwise AND, OR, XOR, NOT and shifts work in every base; switch base any time to read the same value differently.

About the Programmer Calculator

Binary, octal, decimal and hex with bitwise operations. It sits in the Developer section of NWS Calc, a free collection of calculators that run entirely in your browser. There is no signup, no paywall and no tracking — open the page, enter your numbers, get an answer.

Frequently asked questions

Is the Programmer Calculator free to use?
Yes. Every calculator on NWS Calc is completely free, with no signup, no usage limits and no ads.
Does my data leave my device?
No. The Programmer Calculator runs entirely in your browser using JavaScript. Nothing you type is uploaded, logged or stored on a server.
Can I use the Programmer Calculator on my phone?
Yes. The page is fully responsive and works in any modern mobile or desktop browser — there is nothing to install.
What else is in Developer?
Bases, bitwise math, timestamps, data sizes and aspect ratios. You can browse the full Developer category for related calculators.

Related calculators