Computer Science calculators
These calculators cover how computers represent and move data: binary arithmetic, bitwise operations, two's complement and IEEE 754 floating point, checksums and error-correcting codes, hashing and RSA, classic algorithms (binary search trees, Huffman coding, knapsack), IP subnets and bandwidth, the z-transform, and display and color tools such as PPI, RGB to HEX conversion and contrast checking.
20 tools · Updated October 21, 2026
Which one do I need?
How numbers are stored
Computers store integers in fixed-width binary. Negative integers almost always use two's complement, where you invert the bits and add one; this lets the same addition circuit handle positive and negative values. An 8-bit signed integer therefore runs from −128 to 127, and adding 1 to 127 wraps around to −128. The Two's Complement and Bitwise calculators make these patterns visible.
Fractions use IEEE 754 floating point, which stores a sign, an exponent and a significand. A double has 53 bits of precision, about 15 to 17 decimal digits, and many decimal fractions such as 0.1 have no exact binary form. The Floating Point Converter shows the exact stored bits and the tiny error they carry.
Detecting errors and protecting data
Checksums and error-correcting codes protect data in transit and storage. A CRC detects accidental corruption such as burst errors on a network link, while a Hamming code adds parity bits that can locate and correct a single flipped bit. Neither is designed to resist deliberate tampering.
Cryptographic hashes such as SHA-256 are designed so that finding two inputs with the same output is infeasible, which makes them suitable for integrity checks and digital signatures. SHA-1 is no longer considered collision-resistant and should not be used for security. The RSA Calculator walks through key generation and encryption with small numbers to show the math, but real keys need sizes of 2048 bits or more.
Networks, displays and accessibility
A CIDR prefix such as /24 says how many leading bits identify the network. A /24 has 256 addresses, of which 254 are usable by hosts in a traditional subnet after reserving the network and broadcast addresses. The IP Subnet Calculator gives the range, mask and host count for any prefix.
On the display side, the PPI Calculator works out pixel density from resolution and screen size, the RGB to HEX Converter translates color formats, and the Color Contrast Checker tests text against WCAG guidelines, which ask for a contrast ratio of at least 4.5:1 for normal body text at level AA.