Skip to content

Hamming Code ECC Bits Calculator

Find the minimum number of parity bits a single-error-correcting Hamming code needs to protect a given number of data bits, plus the total code-word length and the parity overhead.

Inputs

Data bits

Results

Enter a value to see results.

Results

r = \min\{\, r \in \mathbb{Z}^{+} : 2^{r} \ge m + r + 1 \,\} = \min\{\, r : 2^{r} \ge 8 + r + 1 \,\} = ?
n = m + r = 8 + ? = ?
O = \dfrac{r}{n} = \dfrac{?}{?} = ?

Embed this calculator

Preview

Paste this code into your page to show the calculator.

Share this calculation

Anyone who opens this link sees your values already filled in.

200+ calculators · 10 languages · 100% free

Was this calculator helpful?

No

How can we improve this calculator?