Computer Science Calculators
Computer science calculators for algorithm complexity, Amdahl's law, master theorem, binary search steps, Bloom filters, RAID, and Shannon entropy.
Hamming Distance Calculator
Calculate Hamming distance between two equal-length strings: count of differing positions. Works for binary, hex, ASCII, and DNA sequences.
Password Entropy Calculator
Calculate password entropy in bits from length and character pool. See total combinations, a strength rating, and estimated crack time for four attackers.
Cache Hit Ratio Calculator
Calculate cache hit and miss rates from access counts. Includes effective memory access time (EMAT) speedup over a no-cache baseline for performance analysis.
TCP Throughput Calculator (Mathis Formula)
Calculate TCP throughput from MSS, RTT, and packet loss using the Mathis formula. Compare window-limited vs loss-limited rate with bandwidth-delay product.
Boolean Algebra Calculator
Evaluate Boolean expressions with AND, OR, NOT, NAND, NOR, XOR for three variables. Verify De Morgan, absorption, distribution, and identity laws.
Channel Capacity Calculator (Shannon-Hartley Theorem)
Calculate the maximum error-free data rate of a channel with the Shannon-Hartley theorem C = B·log2(1 + S/N). Enter bandwidth and signal-to-noise ratio.
Image File Size Calculator
Calculate an image file size from width, height, and bit depth. Shows the uncompressed size plus PNG and JPEG estimates, megapixels, and bits per pixel.
Amdahl's Law Speedup Calculator
Calculate parallel speedup using Amdahl's and Gustafson's laws. Enter the parallel fraction and processor count to find theoretical maximum speedup.
Bloom Filter False Positive Calculator
Calculate false positive rate of a Bloom filter from bit array size, element count, and hash functions. Includes optimal k recommendation and memory estimate.
Floating-Point Precision Calculator
Compare float16, float32, and float64 precision, range, and machine epsilon. See how many decimals each format represents and where rounding errors appear.
Hash Collision Birthday Paradox Calculator
Calculate hash collision probability from hash size in bits and number of stored values. Find how many items trigger a 50% collision chance for any width.
Big-O Algorithm Complexity Comparison
Compare operations count for O(1), O(log n), O(n), O(n log n), and O(n²) at any input size. See exactly how fast each complexity class grows.
Binary Search Step Counter
Calculate the maximum and average comparisons binary search needs for any sorted array size. Enter n and see how O(log n) performs versus linear search.
Cache AMAT Calculator
Calculate Average Memory Access Time for a two-level cache hierarchy. Enter L1 and L2 hit times, miss rates, and main memory latency to find AMAT.
Shannon Information Entropy Calculator
Calculate Shannon entropy for up to four symbols. Enter frequencies or counts to find information content in bits, maximum entropy, and coding efficiency.
Download Time Calculator
Estimate how long it takes to download any file at different internet speeds. Enter file size in MB or GB and connection speed to get the result.
RAID Storage Calculator
Calculate usable storage and fault tolerance for RAID 0, 1, 5, 6, and 10. Compare all five configurations side by side for any number of drives.
Master Theorem Calculator
Enter a, b, and d for T(n) = aT(n/b) + O(n^d) to determine Big O complexity. Shows which case applies, the critical exponent, and algorithm efficiency class.
Sorting Algorithm Step Counter
Compare operation counts for bubble, insertion, selection, merge, and quicksort. Enter array size n to see step estimates and Big-O efficiency class.