Library › Electronic components › Switches, relays & indicators ·
Through-hole LEDs: 3, 5, 8, 10 mm, flat-top, rectangular, RGB
What are 5 mm and 3 mm LED dimensions? · 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)
Also called: 5mm led dimensions, 3mm led size, led hole size, t-1 3/4, 10mm led, rgb led 5mm, rectangular led
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. Mating features
- sizes
- 28 in table
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.
Through-hole LEDs: 3, 5, 8, 10 mm, flat-top, rectangular, RGB size chart
| 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 |
Mating features
Drawn at the exact size. Open press, slide, run and socket features by your process's clearance (tolerances by process); leave designed gaps and clamp fits 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* |
Where the files are
Files below are rehosted from this library under its share-alike license, with its license and credits beside them. "verify" = check the license at the link before commercial use.
| KiCad | kicad-packages3D library (origin of these files) | STEP, WRL | CC BY-SA 4.0 with KiCad exception |
Free files
★ Free files 28 parts. From the KiCad library contributors, rehosted with their license and credits. CC BY-SA 4.0 (KiCad library license, with the KiCad exception). index.json
Use this part in your AI. Your AI gets the exact sizes and files straight from Xem and can design a mount, case or adapter around it. Direct downloads here are limited to one file every 10 minutes; through your AI they are unlimited.
Connect Xem to your AI (free, no account, about a minute)
https://xemstudio.com/mcp- Claude: Add to Claude
- ChatGPT (Plus or higher): open Connectors → Advanced → turn on Developer mode → Create → paste the address, no authentication → Create.
- Cursor: install with one click. VS Code: install with one click.
| d1.8mm-w3.3mm-h2.4mm | KiCad LED_THT: LED_D1.8mm_W3.3mm_H2.4mm; bbox 8.6 × 3.3 × 2.4 mm | STEP · STL |
| d10.0mm-3 | KiCad LED_THT: LED_D10.0mm-3; bbox 18.5 × 11.0 × 10.5 mm | STEP · STL |
| d10.0mm | KiCad LED_THT: LED_D10.0mm; bbox 18.5 × 11.0 × 10.5 mm | STEP · STL |
| d20.0mm | KiCad LED_THT: LED_D20.0mm; bbox 23.0 × 21.5 × 17.8 mm | STEP · STL |
| d3.0mm-3 | KiCad LED_THT: LED_D3.0mm-3; bbox 10.3 × 5.5 × 3.8 mm | STEP · STL |
| d3.0mm | KiCad LED_THT: LED_D3.0mm; bbox 10.8 × 3.8 × 3.4 mm | STEP · STL |
| d3.0mm-clear | KiCad LED_THT: LED_D3.0mm_Clear; bbox 10.8 × 3.8 × 3.4 mm | STEP · STL |
| d3.0mm-flattop | KiCad LED_THT: LED_D3.0mm_FlatTop; bbox 9.8 × 3.8 × 3.4 mm | STEP · STL |
| d3.0mm-horizontal-o1.27mm-z2.0mm | KiCad LED_THT: LED_D3.0mm_Horizontal_O1.27mm_Z2.0mm; bbox 6.9 × 5.9 × 3.5 mm | STEP · STL |
| d3.0mm-horizontal-o1.27mm-z6.0mm | KiCad LED_THT: LED_D3.0mm_Horizontal_O1.27mm_Z6.0mm; bbox 9.9 × 6.9 × 3.5 mm | STEP · STL |
| d3.0mm-horizontal-o3.81mm-z2.0mm | KiCad LED_THT: LED_D3.0mm_Horizontal_O3.81mm_Z2.0mm; bbox 9.4 × 5.9 × 3.5 mm | STEP · STL |
| d3.0mm-horizontal-o3.81mm-z6.0mm | KiCad LED_THT: LED_D3.0mm_Horizontal_O3.81mm_Z6.0mm; bbox 9.9 × 9.4 × 3.5 mm | STEP · STL |
| d4.0mm | KiCad LED_THT: LED_D4.0mm; bbox 12.5 × 4.8 × 4.4 mm | STEP · STL |
| d5.0mm-3 | KiCad LED_THT: LED_D5.0mm-3; bbox 13.6 × 5.8 × 5.6 mm | STEP · STL |
| d5.0mm-4-rgb | KiCad LED_THT: LED_D5.0mm-4_RGB; bbox 14.1 × 5.8 × 5.4 mm | STEP · STL |
| d5.0mm | KiCad LED_THT: LED_D5.0mm; bbox 14.1 × 5.8 × 5.4 mm | STEP · STL |
| d5.0mm-clear | KiCad LED_THT: LED_D5.0mm_Clear; bbox 14.1 × 5.8 × 5.4 mm | STEP · STL |
| d5.0mm-flattop | KiCad LED_THT: LED_D5.0mm_FlatTop; bbox 14.1 × 5.9 × 5.5 mm | STEP · STL |
| d5.0mm-horizontal-o1.27mm-z3.0mm | KiCad LED_THT: LED_D5.0mm_Horizontal_O1.27mm_Z3.0mm; bbox 10.2 × 7.9 × 5.4 mm | STEP · STL |
| d5.0mm-horizontal-o1.27mm-z9.0mm | KiCad LED_THT: LED_D5.0mm_Horizontal_O1.27mm_Z9.0mm; bbox 13.9 × 10.2 × 5.4 mm | STEP · STL |
| d5.0mm-horizontal-o3.81mm-z3.0mm | KiCad LED_THT: LED_D5.0mm_Horizontal_O3.81mm_Z3.0mm; bbox 12.7 × 7.9 × 5.4 mm | STEP · STL |
| d5.0mm-horizontal-o3.81mm-z9.0mm | KiCad LED_THT: LED_D5.0mm_Horizontal_O3.81mm_Z9.0mm; bbox 13.9 × 12.7 × 5.4 mm | STEP · STL |
| d8.0mm-3 | KiCad LED_THT: LED_D8.0mm-3; bbox 16.0 × 9.0 × 8.5 mm | STEP · STL |
| d8.0mm | KiCad LED_THT: LED_D8.0mm; bbox 16.0 × 9.0 × 8.5 mm | STEP · STL |
| oval-w5.2mm-h3.8mm | KiCad LED_THT: LED_Oval_W5.2mm_H3.8mm; bbox 12.5 × 5.2 × 3.8 mm | STEP · STL |
| rectangular-w3.0mm-h2.0mm | KiCad LED_THT: LED_Rectangular_W3.0mm_H2.0mm; bbox 10.5 × 4.0 × 2.0 mm | STEP · STL |
| rectangular-w5.0mm-h2.0mm | KiCad LED_THT: LED_Rectangular_W5.0mm_H2.0mm; bbox 15.1 × 5.0 × 2.0 mm | STEP · STL |
| rectangular-w5.0mm-h5.0mm | KiCad LED_THT: LED_Rectangular_W5.0mm_H5.0mm; bbox 15.1 × 5.0 × 5.0 mm | STEP · STL |
https://xemstudio.com/mcp to Claude, ChatGPT, Cursor or any MCP client (free, no account, one minute) and it can look up exact sizes, mating fits and free STEP/STL from every chat.Plain text: sheet.txt · JSON: /api/geometry?object=leds-tht

Fits with





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.