🔢 Digital / Logic Calculator
The number-crunching side of digital electronics: convert between bases, decode two's-complement signed numbers, pack BCD, simplify Boolean expressions, and work out counter / flip-flop frequency division. Built to match the Associate CET exam digital competencies.
Number Base Converter
Type a value in any base and see it in all the others instantly. Toggle individual bits in the bit view to build a number by hand — great for understanding place value.
Two's-Complement Signed Numbers
Two's complement is how computers store negative integers. Enter a signed decimal to encode it, or a binary pattern to decode it. Pick the word width below.
Boolean Expression Analyzer
Enter a Boolean expression using variables A–D. Use * or . or & for AND, + or | for OR, ! or ' or ~ for NOT, and ^ for XOR. The tool builds the full truth table and finds a simplified sum-of-products form.
A*B + A*!B simplifies to just A, since B drops out — a classic example of Boolean reduction.Counter / Flip-Flop Frequency Divider
Each flip-flop stage divides the clock frequency by 2. A chain of n stages divides by 2ⁿ and can count 2ⁿ states. You can also set a custom modulus (e.g. a divide-by-10 decade counter).