7-Segment Display Decoder Tool

Convert decimal digits into 7-segment display patterns. Enter a digit from 0 to 9 and see the activated LED segments with the complete segment code.

Segments ON: -
7-Segment Code: -
Status: -

What is a 7-Segment Display?

A 7-segment display is an electronic display device made using seven individual LED segments. By switching different segments ON or OFF, it can display decimal numbers from 0 to 9.

The seven segments are labelled as: a, b, c, d, e, f, and g.

        a

     -------

  f |       | b

     ---g---

  e |       | c

     -------

        d

How Does a 7-Segment Decoder Work?

A 7-segment decoder converts a digital input into signals that control each LED segment. Every number has a unique combination of active segments.

  1. The input decimal digit is received.
  2. The decoder checks the matching segment pattern.
  3. The required LED segments are activated.
Example:

Digit: 8


Segments ON:

a b c d e f g


Code:

1111111

7-Segment Display Digit Table

Digit Segments ON Code
0 a b c d e f 1111110
1 b c 0110000
2 a b d e g 1101101
3 a b c d g 1111001
4 b c f g 0110011
5 a c d f g 1011011
6 a c d e f g 1011111
7 a b c 1110000
8 a b c d e f g 1111111
9 a b c d f g 1111011

Applications of 7-Segment Displays

Digital clocks and timers
Electronic calculators
Digital meters
Industrial control panels

Frequently Asked Questions

A 7-segment decoder converts digital input values into signals that control the LED segments required to display a number.
A standard 7-segment display contains seven segments named a, b, c, d, e, f, and g.
A standard display can show decimal digits from 0 to 9 using different LED segment combinations.
They are commonly used in digital clocks, calculators, electronic meters, counters, and embedded electronics projects.