LogicGates.org Open the simulatorSimulator

Digital logic tools

Forty-one calculators for the things you actually have to work out, from truth tables, simplification and Karnaugh maps to logic proofs, number bases, text encodings, and the bits inside subnets, floats, IDs and file formats. Each one shows its working, and all of them are free and run in your browser, with nothing uploaded.

Boolean algebra and circuits

Logic statements and sets

Numbers and binary arithmetic

Text and encodings

Programming and networking

Which one do I want?

If you have And you want Use
An expression every input combination listed Truth table generator
A long expression the shortest equivalent Boolean algebra calculator
Two expressions to know whether they match Boolean algebra calculator
A homework K-map the groups drawn and named Karnaugh map solver
A truth table minterms, maxterms, SOP or POS Sum of products calculator
A circuit design it rebuilt from one gate type NAND and NOR converter
A counter or encoder a one-bit-at-a-time sequence Gray code converter
A number it in another base, or in two's complement Binary converter
An IP address and a prefix its network, broadcast and host range Subnet calculator
A network and some host counts a subnet for each, without overlaps VLSM calculator
A long IPv6 address its shortest correct form IPv6 expand and compress
A model in FP16 or FP8 what one number turns into FP16, BF16, FP8 and FP4 converter
A C struct its size and where the padding goes Struct padding calculator
A UUID, ULID or ObjectId its version and when it was made UUID decoder and generator
A Discord or Twitter/X ID the moment it was created Snowflake ID decoder
A file with a doubtful extension what its first bytes say it is File signature checker
Some text or a link a QR code, and how it is built QR code generator
Bytes for a display seven-segment, dot-matrix or Nixie patterns as C, Arduino or Verilog Display designer
An old punch card or paper tape text punched onto it, or holes read back as text Punch card generator
A picture from bitwise operators the image x ^ y or x & y draws, and why Bitwise pattern generator
A class to teach a printable question sheet with answers Worksheet generator
An idea to build and run it The simulator

The expression tools share one engine

The same parser and minimiser sits behind every tool here that takes an expression, so what you type into one means exactly the same thing in the next. (The number, encoding and programming tools work on bits and bytes rather than expressions, so each has its own engine.) It accepts whichever notation you use — a·b, a&b, a∧b, ab — and the simplification is Quine-McCluskey, the same algorithm whether you see it as algebra or as groups on a map.

Open the simulator