Software Engineering calculators

Algorithms, parallel speed-up, number bases. 5 free calculators that show the full working.

Key software engineering formulas

  • Big-O growth order: O(1) < O(log n) < O(n) < O(n log n) < O(n²) < O(2ⁿ) < O(n!)
  • Binary search: T(n) = O(log₂ n)
  • Comparison sort lower bound: Ω(n log n)
  • Master theorem: T(n) = a·T(n/b) + O(n^d): d > log_b a → O(n^d); d = log_b a → O(n^d log n); d < log_b a → O(n^(log_b a))
  • Amdahl's law: S = 1 / [(1 − p) + p / N]
  • Gustafson's law: S = N − (1 − p)(N − 1)
  • Number bases: value = Σ dᵢ · baseⁱ; n bits hold 0 … 2ⁿ − 1
  • Two's complement range: −2^(n−1) … 2^(n−1) − 1
  • Hash table load factor: α = n / m
  • Cache hit ratio and AMAT: h = hits / accesses, AMAT = t_hit + (1 − h) · t_miss
  • Throughput and latency: Little's law: L = λ · W
  • Availability target: 99.9 % ≈ 8.77 h/year down, 99.99 % ≈ 52.6 min/year
  • Information entropy: H = −Σ pᵢ · log₂ pᵢ
  • Cyclomatic complexity: M = E − N + 2P

Printable Software Engineering formula sheet