BCD Converter

Convert decimal numbers to BCD (8421 or Excess-3) and back, with a live digit-by-digit breakdown.

Encoding

Decimal → BCD

BCD → Decimal

Result

Enter a value above and click Convert.

Digit Breakdown

No conversion yet.

Quick Reference

Dec 8421 XS-3

Summary

Convert decimal numbers to BCD (8421 or Excess-3) and back, with a live digit-by-digit breakdown.

How it works

  1. Enter a decimal number or a BCD binary string in the input fields.
  2. Select encoding: 8421 (standard BCD) or Excess-3.
  3. For decimal to BCD, each digit is independently encoded as a 4-bit binary group.
  4. For Excess-3, each decimal digit has 3 added before encoding as 4-bit binary.
  5. The breakdown table shows each digit and its corresponding 4-bit group.
  6. Click Convert to see the full BCD result and copy it.

Use cases

  • Study digital electronics and logic circuit design.
  • Verify BCD encodings for microcontroller and FPGA coursework.
  • Convert display driver values for 7-segment LED circuits.
  • Debug BCD arithmetic in embedded systems.
  • Learn the difference between standard BCD and Excess-3 encoding.
  • Quickly check BCD representations during exam preparation.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu