# Through-hole LEDs: 3, 5, 8, 10 mm, flat-top, rectangular, RGB

> What are 5 mm and 3 mm LED dimensions?

- Category: Electronic components › Switches, relays & indicators
- Kind: Standard part
- Basis: KiCad 3D models of standard through-hole LED packages (T-1 3 mm, T-1¾ 5 mm, 8/10/20 mm, rectangular, oval)
- Page: https://xemstudio.com/objects/leds-tht/ · JSON: https://xemstudio.com/api/geometry?object=leds-tht · Plain text: https://xemstudio.com/objects/leds-tht/sheet.txt
- License: dimension sheet CC BY 4.0 (Xem Studio); files CC BY 4.0 or their publisher's license
- Use in every chat: add https://xemstudio.com/mcp as a connector (https://xemstudio.com/use-with-ai/)

**Exact dimensions.** Every file is drawn at true size with no tolerance added. The holes and pins that meet another part are listed below under Mating features, with the fit each joint needs; open those by your process's clearance before making the part.

## Notes

- 5 mm (T-1¾): Ø5.0 dome, Ø5.8 flange 1 mm thick, 8.6 mm tall body, 2.54 mm lead pitch; press fit hole Ø5.1, clip hole Ø6.2 for the flange to pass. 3 mm (T-1): Ø3.0, Ø3.8 flange, 5.3 mm tall, 2.54 pitch; hole Ø3.1.
- Flat-top 5 mm is 6 mm tall; 8 mm and 10 mm LEDs have 9 / 11.5 mm flanges. Rectangular 5 × 2 mm (7 mm tall) are the stacked bar-graph style.
- Light pipes: a printed clear-PETG rod of the LED diameter carries light 20–30 mm; a Ø5.2 hole and a 0.5 mm floor hides the LED entirely.

## Mating features (exact size; open press / slide / run / socket by your process clearance, leave designed and clamp as drawn)

| feature | exact | mates with | fit | files |
|---|---|---|---|---|
| 5 mm LED (T-1¾) leads | 2.54 pitch, 0.5 square, 25 long before trimming | PCB hole pair on 2.54 mm (0.1 in) pitch; longer lead is the anode | designed | d5.0mm* |
| 5 mm LED body | Ø5.0 dome, Ø5.8 × 1 flange, 8.6 tall (flat-top 6) | snap-in LED holder: panel hole Ø6.4 (holder maker size) | designed | d5.0mm* |
| 3 mm LED (T-1) body | Ø3.0, Ø3.8 flange, 5.3 tall, 2.54 lead pitch | snap-in LED holder: panel hole Ø4.5 (holder maker size) | designed | d3.0mm* |

## Sizes

| part | bbox_l_mm | bbox_w_mm | bbox_h_mm |
|---|---|---|---|
| d1.8mm-w3.3mm-h2.4mm | 8.6 | 3.3 | 2.4 |
| d10.0mm-3 | 18.5 | 11.0 | 10.5 |
| d10.0mm | 18.5 | 11.0 | 10.5 |
| d20.0mm | 23.0 | 21.5 | 17.8 |
| d3.0mm-3 | 10.3 | 5.5 | 3.8 |
| d3.0mm | 10.8 | 3.8 | 3.4 |
| d3.0mm-clear | 10.8 | 3.8 | 3.4 |
| d3.0mm-flattop | 9.8 | 3.8 | 3.4 |
| d3.0mm-horizontal-o1.27mm-z2.0mm | 6.9 | 5.9 | 3.5 |
| d3.0mm-horizontal-o1.27mm-z6.0mm | 9.9 | 6.9 | 3.5 |
| d3.0mm-horizontal-o3.81mm-z2.0mm | 9.4 | 5.9 | 3.5 |
| d3.0mm-horizontal-o3.81mm-z6.0mm | 9.9 | 9.4 | 3.5 |
| d4.0mm | 12.5 | 4.8 | 4.4 |
| d5.0mm-3 | 13.6 | 5.8 | 5.6 |
| d5.0mm-4-rgb | 14.1 | 5.8 | 5.4 |
| d5.0mm | 14.1 | 5.8 | 5.4 |
| d5.0mm-clear | 14.1 | 5.8 | 5.4 |
| d5.0mm-flattop | 14.1 | 5.9 | 5.5 |
| d5.0mm-horizontal-o1.27mm-z3.0mm | 10.2 | 7.9 | 5.4 |
| d5.0mm-horizontal-o1.27mm-z9.0mm | 13.9 | 10.2 | 5.4 |
| d5.0mm-horizontal-o3.81mm-z3.0mm | 12.7 | 7.9 | 5.4 |
| d5.0mm-horizontal-o3.81mm-z9.0mm | 13.9 | 12.7 | 5.4 |
| d8.0mm-3 | 16.0 | 9.0 | 8.5 |
| d8.0mm | 16.0 | 9.0 | 8.5 |
| oval-w5.2mm-h3.8mm | 12.5 | 5.2 | 3.8 |
| rectangular-w3.0mm-h2.0mm | 10.5 | 4.0 | 2.0 |
| rectangular-w5.0mm-h2.0mm | 15.1 | 5.0 | 2.0 |
| rectangular-w5.0mm-h5.0mm | 15.1 | 5.0 | 5.0 |

## Where the files are

- KiCad: [kicad-packages3D library (origin of these files)](https://gitlab.com/kicad/libraries/kicad-packages3D) — STEP, WRL — CC BY-SA 4.0 with KiCad exception

## Free STEP/STL (28 parts, CC BY-SA 4.0 (KiCad library license, with the KiCad exception), KiCad library contributors)

Index: https://xemstudio.com/files/kicad/leds-tht/index.json · license: https://xemstudio.com/files/kicad/leds-tht/LICENSE.md

- d1.8mm-w3.3mm-h2.4mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d1.8mm-w3.3mm-h2.4mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d1.8mm-w3.3mm-h2.4mm.stl) — KiCad LED_THT: LED_D1.8mm_W3.3mm_H2.4mm; bbox 8.6 × 3.3 × 2.4 mm
- d10.0mm-3: [STEP](https://xemstudio.com/files/kicad/leds-tht/d10.0mm-3.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d10.0mm-3.stl) — KiCad LED_THT: LED_D10.0mm-3; bbox 18.5 × 11.0 × 10.5 mm
- d10.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d10.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d10.0mm.stl) — KiCad LED_THT: LED_D10.0mm; bbox 18.5 × 11.0 × 10.5 mm
- d20.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d20.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d20.0mm.stl) — KiCad LED_THT: LED_D20.0mm; bbox 23.0 × 21.5 × 17.8 mm
- d3.0mm-3: [STEP](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-3.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-3.stl) — KiCad LED_THT: LED_D3.0mm-3; bbox 10.3 × 5.5 × 3.8 mm
- d3.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d3.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d3.0mm.stl) — KiCad LED_THT: LED_D3.0mm; bbox 10.8 × 3.8 × 3.4 mm
- d3.0mm-clear: [STEP](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-clear.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-clear.stl) — KiCad LED_THT: LED_D3.0mm_Clear; bbox 10.8 × 3.8 × 3.4 mm
- d3.0mm-flattop: [STEP](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-flattop.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-flattop.stl) — KiCad LED_THT: LED_D3.0mm_FlatTop; bbox 9.8 × 3.8 × 3.4 mm
- d3.0mm-horizontal-o1.27mm-z2.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-horizontal-o1.27mm-z2.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-horizontal-o1.27mm-z2.0mm.stl) — KiCad LED_THT: LED_D3.0mm_Horizontal_O1.27mm_Z2.0mm; bbox 6.9 × 5.9 × 3.5 mm
- d3.0mm-horizontal-o1.27mm-z6.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-horizontal-o1.27mm-z6.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-horizontal-o1.27mm-z6.0mm.stl) — KiCad LED_THT: LED_D3.0mm_Horizontal_O1.27mm_Z6.0mm; bbox 9.9 × 6.9 × 3.5 mm
- d3.0mm-horizontal-o3.81mm-z2.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-horizontal-o3.81mm-z2.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-horizontal-o3.81mm-z2.0mm.stl) — KiCad LED_THT: LED_D3.0mm_Horizontal_O3.81mm_Z2.0mm; bbox 9.4 × 5.9 × 3.5 mm
- d3.0mm-horizontal-o3.81mm-z6.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-horizontal-o3.81mm-z6.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d3.0mm-horizontal-o3.81mm-z6.0mm.stl) — KiCad LED_THT: LED_D3.0mm_Horizontal_O3.81mm_Z6.0mm; bbox 9.9 × 9.4 × 3.5 mm
- d4.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d4.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d4.0mm.stl) — KiCad LED_THT: LED_D4.0mm; bbox 12.5 × 4.8 × 4.4 mm
- d5.0mm-3: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-3.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-3.stl) — KiCad LED_THT: LED_D5.0mm-3; bbox 13.6 × 5.8 × 5.6 mm
- d5.0mm-4-rgb: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-4-rgb.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-4-rgb.stl) — KiCad LED_THT: LED_D5.0mm-4_RGB; bbox 14.1 × 5.8 × 5.4 mm
- d5.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm.stl) — KiCad LED_THT: LED_D5.0mm; bbox 14.1 × 5.8 × 5.4 mm
- d5.0mm-clear: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-clear.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-clear.stl) — KiCad LED_THT: LED_D5.0mm_Clear; bbox 14.1 × 5.8 × 5.4 mm
- d5.0mm-flattop: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-flattop.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-flattop.stl) — KiCad LED_THT: LED_D5.0mm_FlatTop; bbox 14.1 × 5.9 × 5.5 mm
- d5.0mm-horizontal-o1.27mm-z3.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-horizontal-o1.27mm-z3.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-horizontal-o1.27mm-z3.0mm.stl) — KiCad LED_THT: LED_D5.0mm_Horizontal_O1.27mm_Z3.0mm; bbox 10.2 × 7.9 × 5.4 mm
- d5.0mm-horizontal-o1.27mm-z9.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-horizontal-o1.27mm-z9.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-horizontal-o1.27mm-z9.0mm.stl) — KiCad LED_THT: LED_D5.0mm_Horizontal_O1.27mm_Z9.0mm; bbox 13.9 × 10.2 × 5.4 mm
- d5.0mm-horizontal-o3.81mm-z3.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-horizontal-o3.81mm-z3.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-horizontal-o3.81mm-z3.0mm.stl) — KiCad LED_THT: LED_D5.0mm_Horizontal_O3.81mm_Z3.0mm; bbox 12.7 × 7.9 × 5.4 mm
- d5.0mm-horizontal-o3.81mm-z9.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-horizontal-o3.81mm-z9.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d5.0mm-horizontal-o3.81mm-z9.0mm.stl) — KiCad LED_THT: LED_D5.0mm_Horizontal_O3.81mm_Z9.0mm; bbox 13.9 × 12.7 × 5.4 mm
- d8.0mm-3: [STEP](https://xemstudio.com/files/kicad/leds-tht/d8.0mm-3.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d8.0mm-3.stl) — KiCad LED_THT: LED_D8.0mm-3; bbox 16.0 × 9.0 × 8.5 mm
- d8.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/d8.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/d8.0mm.stl) — KiCad LED_THT: LED_D8.0mm; bbox 16.0 × 9.0 × 8.5 mm
- oval-w5.2mm-h3.8mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/oval-w5.2mm-h3.8mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/oval-w5.2mm-h3.8mm.stl) — KiCad LED_THT: LED_Oval_W5.2mm_H3.8mm; bbox 12.5 × 5.2 × 3.8 mm
- rectangular-w3.0mm-h2.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/rectangular-w3.0mm-h2.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/rectangular-w3.0mm-h2.0mm.stl) — KiCad LED_THT: LED_Rectangular_W3.0mm_H2.0mm; bbox 10.5 × 4.0 × 2.0 mm
- rectangular-w5.0mm-h2.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/rectangular-w5.0mm-h2.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/rectangular-w5.0mm-h2.0mm.stl) — KiCad LED_THT: LED_Rectangular_W5.0mm_H2.0mm; bbox 15.1 × 5.0 × 2.0 mm
- rectangular-w5.0mm-h5.0mm: [STEP](https://xemstudio.com/files/kicad/leds-tht/rectangular-w5.0mm-h5.0mm.step) · [STL](https://xemstudio.com/files/kicad/leds-tht/rectangular-w5.0mm-h5.0mm.stl) — KiCad LED_THT: LED_Rectangular_W5.0mm_H5.0mm; bbox 15.1 × 5.0 × 5.0 mm

## Questions

**What hole size for a 5 mm LED?**

Ø5.1 mm press fit in 2–3 mm of plastic; Ø6.2 if the flange must pass through; snap-in LED holders need Ø6.4 (5 mm) or Ø4.5 (3 mm).

**What is the lead spacing on a 5 mm LED?**

2.54 mm (0.1 in); leads 0.5 mm square, 25 mm long before trimming; the longer lead is the anode.

**How tall is a 5 mm LED?**

8.6 mm from the flange bottom to the dome tip (standard); flat-top 6 mm; 3 mm LEDs are 5.3 mm tall.

## Fits with

- [Panel cutouts: IEC inlet, rockers, barrel jack, USB-C, HDMI, LEDs, Neutrik D](https://xemstudio.com/objects/panel-cutouts/)
- [Tactile buttons (6 mm), DIP switches and small slide switches](https://xemstudio.com/objects/tactile-switches/)
- [CR2032 coin cell](https://xemstudio.com/objects/cr2032-coin-cell/)
- [2.54 mm pin headers, 1×2 to 2×20, vertical and right-angle](https://xemstudio.com/objects/pin-headers-2.54mm/)
- [LED panel holders and clips for 3 mm and 5 mm LEDs: mounting hole and panel thickness (VCC, Dialight, Bivar) + hole gauge](https://xemstudio.com/objects/led-panel-holders-clips-3mm-5mm/)
