The hex calculator that lives in your pocket

HexCalculator is a free calculator for iPhone and iPad built for programmers, engineers and students. Work in hexadecimal, decimal, binary or octal, run bitwise operations, and check your recent calculations in a scrollable history.

Requires iOS 16.0 or later · In English & Spanish · No ads · No data collection

HexCalculator on an iPhone showing 0x123 typed on the hexadecimal keypad

Everything a programmer's calculator should do

Hex, decimal, binary & octal

Calculate in the base you think in. Add, subtract, multiply, divide — and take the modulo — of hexadecimal, decimal, binary or octal numbers.

Bitwise operations

AND, OR, XOR, NOT, NAND, NOR, bit shifts (<<, >>) and rotations (ROL, ROR) built in — the operations you actually reach for when working with flags, masks and registers.

Word sizes: 8 to 64 bits

Pick your word size — 8, 16, 32 or 64 bits — and flip between signed and unsigned. Negative numbers use two's complement, and overflow and division by zero are caught with a clear error banner instead of silently wrong.

Operation history

Your recent operations are kept with their result in decimal, hex and binary. Scroll back, check a previous result, clear it when you're done.

Smart copy & paste

Paste 0xFF, FF, 0b1010, values with underscores or spaces — the parser understands the formats code actually uses. Siri and Shortcuts can convert numbers without even opening the app.

Private and light

Works offline, shows no ads and collects no data — the App Store privacy label is “Data Not Collected”. Fully localized in English and Spanish.

Designed for one-handed, real-world use

Scrollable history of hex additions ending in 0xD50
Scroll history: every past operation at a glance.
Binary mode with the number 0100100011 on screen
Binary mode: calculate directly with binary numbers.
HexCalculator in landscape orientation
Landscape layout, comfortable for one-handed use.

The app also includes a customizable style — pick your own colors for the keypad, operators and display — a unified display view that shows decimal, hex and binary at the same time, and a bit grid that shows every bit of the value on screen, where a tap flips the bit. There are eight alternative app icons, ASCII and RGB insights for the current value, configurable haptic and sound feedback, and long numbers scale down to fit the display instead of getting cut off.

Frequently asked questions

Is HexCalculator free?

Yes — HexCalculator is a free download on the App Store, with no ads.

Which devices does it support?

iPhone and iPad running iOS 16.0 / iPadOS 16.0 or later, in portrait and landscape.

Does it work offline?

Yes. The app performs all calculations on your device and needs no internet connection.

Does it collect any data?

No. The developer does not collect any data from the app — its App Store privacy label is “Data Not Collected”.

How are negative numbers handled?

In signed mode the app uses two's complement at the word size you choose (8, 16, 32 or 64 bits), the same representation CPUs use. You can switch to unsigned mode at any time. Our two's complement guide explains how it works.

Does it work with Siri and Shortcuts?

Yes. You can ask Siri to convert a number between bases, or use the app's actions in your own Shortcuts, without opening the app.

Which languages is the app available in?

English and Spanish — the interface is fully localized in both.