Bitwright Hex Calculator

In-app purchases
Content rating
Everyone
0+
Downloads
Content rating
Everyone
In-App Purchases
Learn more
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image
Screenshot image

About this app

Bitwright is a programmer's calculator for firmware and embedded engineers, PLC and SCADA technicians decoding Modbus registers, network technicians, computer science students and CTF players. It works like a hardware calculator: a beige chassis, real keys and a fourteen-segment display that draws the hex digits A to F, with the word size and sign mode on the display.

BASES AND WORDS
• Hex, decimal and binary on their own keys and octal under Shift; changing the base never changes the bits
• Word sizes of 8, 16, 32 and 64 bits; unsigned, two's complement or one's complement; a smaller word truncates and says so, a larger one sign-extends a signed number
• Arithmetic wraps at the word size and lights C and V for carry and signed overflow (0xFF + 1 at 8 bits is 0 with carry)
• Division truncates toward zero as in C, MOD follows the sign of the dividend, and divide by zero says DIV 0
• Copy a result with its 0x, 0o or 0b prefix; paste hex, binary, octal, decimal or an IP address back in

LOGIC AND SHIFTS
• AND, OR, XOR, NOT and NEG at any word size (DEAD AND BEEF is 9EAD)
• Shift left and right, arithmetic shift right, rotate left and right, with the count typed after the key (= alone shifts by 1) and the last bit shifted out in the carry

BIT TOOLS
• Masks: the low n bits set (type n), the high-bit mask or the byte mask
• Test any bit, get the value with that bit set or cleared, or flip a bit in place
• Count the one bits, leading zeros and trailing zeros, or find the highest set bit; reverse the bits of a word
• Byte orders named by their pattern, as Modbus tools name them: DCBA (all bytes reversed), CDAB (word swap) and BADC (byte swap) for 32-bit values; at 64 bits the word swap reverses the four 16-bit registers (GHEFCDAB)

MODBUS AND CRC
• Build a list of up to 256 bytes: type a byte and press Byte, or push the bytes of the word; backspace removes the last one
• CRC-16 Modbus (request 01 03 00 00 00 0A: CDC5, sent as C5 CD), CRC-16 CCITT-FALSE, CRC-32 and CRC-8 SMBUS, plus SUM8, XOR8, LRC and the byte count

FLOATS
• IEEE 754 binary16, binary32 and binary64: type a decimal and get its bits (3.14 as a 32-bit float is 4048F5C3), or read the bits of a register as a decimal value
• NaN and infinity are shown as text; floats are bit patterns here, not arithmetic

SUBNETS
• IPv4 and CIDR: type a dotted address and a prefix and get the network, broadcast, netmask, wildcard, first and last host and the host count (192.168.1.10/24: network 192.168.1.0)
• A /31 has 2 hosts (RFC 3021, point-to-point links) and a /32 has 1, a single host

WORKS THE WAY YOU DO
• 10 memories, a tape of your calculations and a key guide
• Tables: ASCII, powers of two, CRC parameters with check values, and CIDR masks; pick a row to type its value
• Export a job strip: the tape, stamped with date and time, ready to attach to a ticket or work order, as text or PDF

FREE TO TRY, THEN UNLOCK ONCE
Free to try: every feature for 7 days. Then unlock Pro once — no subscription, no ads, works offline. Bases, word size and sign mode, arithmetic, logic, shifts and rotates, memory, tape, tables, copy and paste stay free; masks, bit tools, byte swaps, floats, subnets, CRC and job strip export need Pro.

PRIVATE BY DESIGN
Works offline, no account, no data collected.

How it's calculated: the methods and tables behind every result, at https://wrightcalc.app/bitwright/

Questions or feedback: support@wrightcalc.app

Results follow the word size and sign mode shown on the display. Check anything that matters against a second source. The developer accepts no liability for loss or damage arising from use.
Hex, binary, word sizes, bit tools, floats, Modbus CRC and subnets. Offline.
Updated on
Oct 29, 2026

Data safety

Safety starts with understanding how developers collect and share your data. Data privacy and security practices may vary based on your use, region, and age. The developer provided this information and may update it over time.
  • No data shared with third parties
    Learn more about how developers declare sharing
  • No data collected
    Learn more about how developers declare collection

What’s new

Pro is now a yearly subscription with a 7-day free trial in Google Play. No sign-in, no account.