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

partbbox l (mm)bbox w (mm)bbox h (mm)
d1.8mm-w3.3mm-h2.4mm8.63.32.4
d10.0mm-318.511.010.5
d10.0mm18.511.010.5
d20.0mm23.021.517.8
d3.0mm-310.35.53.8
d3.0mm10.83.83.4
d3.0mm-clear10.83.83.4
d3.0mm-flattop9.83.83.4
d3.0mm-horizontal-o1.27mm-z2.0mm6.95.93.5
d3.0mm-horizontal-o1.27mm-z6.0mm9.96.93.5
d3.0mm-horizontal-o3.81mm-z2.0mm9.45.93.5
d3.0mm-horizontal-o3.81mm-z6.0mm9.99.43.5
d4.0mm12.54.84.4
d5.0mm-313.65.85.6
d5.0mm-4-rgb14.15.85.4
d5.0mm14.15.85.4
d5.0mm-clear14.15.85.4
d5.0mm-flattop14.15.95.5
d5.0mm-horizontal-o1.27mm-z3.0mm10.27.95.4
d5.0mm-horizontal-o1.27mm-z9.0mm13.910.25.4
d5.0mm-horizontal-o3.81mm-z3.0mm12.77.95.4
d5.0mm-horizontal-o3.81mm-z9.0mm13.912.75.4
d8.0mm-316.09.08.5
d8.0mm16.09.08.5
oval-w5.2mm-h3.8mm12.55.23.8
rectangular-w3.0mm-h2.0mm10.54.02.0
rectangular-w5.0mm-h2.0mm15.15.02.0
rectangular-w5.0mm-h5.0mm15.15.05.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.

featureexactmates withfitfiles
5 mm LED (T-1¾) leads2.54 pitch, 0.5 square, 25 long before trimmingPCB hole pair on 2.54 mm (0.1 in) pitch; longer lead is the anodedesignedd5.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)designedd5.0mm*
3 mm LED (T-1) bodyØ3.0, Ø3.8 flange, 5.3 tall, 2.54 lead pitchsnap-in LED holder: panel hole Ø4.5 (holder maker size)designedd3.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.

KiCadkicad-packages3D library (origin of these files)STEP, WRLCC 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
  1. Claude: Add to Claude
  2. ChatGPT (Plus or higher): open Connectors → Advanced → turn on Developer mode → Create → paste the address, no authentication → Create.
  3. Cursor: install with one click. VS Code: install with one click.
Other apps and full steps
d1.8mm-w3.3mm-h2.4mmKiCad LED_THT: LED_D1.8mm_W3.3mm_H2.4mm; bbox 8.6 × 3.3 × 2.4 mmSTEP · STL
d10.0mm-3KiCad LED_THT: LED_D10.0mm-3; bbox 18.5 × 11.0 × 10.5 mmSTEP · STL
d10.0mmKiCad LED_THT: LED_D10.0mm; bbox 18.5 × 11.0 × 10.5 mmSTEP · STL
d20.0mmKiCad LED_THT: LED_D20.0mm; bbox 23.0 × 21.5 × 17.8 mmSTEP · STL
d3.0mm-3KiCad LED_THT: LED_D3.0mm-3; bbox 10.3 × 5.5 × 3.8 mmSTEP · STL
d3.0mmKiCad LED_THT: LED_D3.0mm; bbox 10.8 × 3.8 × 3.4 mmSTEP · STL
d3.0mm-clearKiCad LED_THT: LED_D3.0mm_Clear; bbox 10.8 × 3.8 × 3.4 mmSTEP · STL
d3.0mm-flattopKiCad LED_THT: LED_D3.0mm_FlatTop; bbox 9.8 × 3.8 × 3.4 mmSTEP · STL
d3.0mm-horizontal-o1.27mm-z2.0mmKiCad LED_THT: LED_D3.0mm_Horizontal_O1.27mm_Z2.0mm; bbox 6.9 × 5.9 × 3.5 mmSTEP · STL
d3.0mm-horizontal-o1.27mm-z6.0mmKiCad LED_THT: LED_D3.0mm_Horizontal_O1.27mm_Z6.0mm; bbox 9.9 × 6.9 × 3.5 mmSTEP · STL
d3.0mm-horizontal-o3.81mm-z2.0mmKiCad LED_THT: LED_D3.0mm_Horizontal_O3.81mm_Z2.0mm; bbox 9.4 × 5.9 × 3.5 mmSTEP · STL
d3.0mm-horizontal-o3.81mm-z6.0mmKiCad LED_THT: LED_D3.0mm_Horizontal_O3.81mm_Z6.0mm; bbox 9.9 × 9.4 × 3.5 mmSTEP · STL
d4.0mmKiCad LED_THT: LED_D4.0mm; bbox 12.5 × 4.8 × 4.4 mmSTEP · STL
d5.0mm-3KiCad LED_THT: LED_D5.0mm-3; bbox 13.6 × 5.8 × 5.6 mmSTEP · STL
d5.0mm-4-rgbKiCad LED_THT: LED_D5.0mm-4_RGB; bbox 14.1 × 5.8 × 5.4 mmSTEP · STL
d5.0mmKiCad LED_THT: LED_D5.0mm; bbox 14.1 × 5.8 × 5.4 mmSTEP · STL
d5.0mm-clearKiCad LED_THT: LED_D5.0mm_Clear; bbox 14.1 × 5.8 × 5.4 mmSTEP · STL
d5.0mm-flattopKiCad LED_THT: LED_D5.0mm_FlatTop; bbox 14.1 × 5.9 × 5.5 mmSTEP · STL
d5.0mm-horizontal-o1.27mm-z3.0mmKiCad LED_THT: LED_D5.0mm_Horizontal_O1.27mm_Z3.0mm; bbox 10.2 × 7.9 × 5.4 mmSTEP · STL
d5.0mm-horizontal-o1.27mm-z9.0mmKiCad LED_THT: LED_D5.0mm_Horizontal_O1.27mm_Z9.0mm; bbox 13.9 × 10.2 × 5.4 mmSTEP · STL
d5.0mm-horizontal-o3.81mm-z3.0mmKiCad LED_THT: LED_D5.0mm_Horizontal_O3.81mm_Z3.0mm; bbox 12.7 × 7.9 × 5.4 mmSTEP · STL
d5.0mm-horizontal-o3.81mm-z9.0mmKiCad LED_THT: LED_D5.0mm_Horizontal_O3.81mm_Z9.0mm; bbox 13.9 × 12.7 × 5.4 mmSTEP · STL
d8.0mm-3KiCad LED_THT: LED_D8.0mm-3; bbox 16.0 × 9.0 × 8.5 mmSTEP · STL
d8.0mmKiCad LED_THT: LED_D8.0mm; bbox 16.0 × 9.0 × 8.5 mmSTEP · STL
oval-w5.2mm-h3.8mmKiCad LED_THT: LED_Oval_W5.2mm_H3.8mm; bbox 12.5 × 5.2 × 3.8 mmSTEP · STL
rectangular-w3.0mm-h2.0mmKiCad LED_THT: LED_Rectangular_W3.0mm_H2.0mm; bbox 10.5 × 4.0 × 2.0 mmSTEP · STL
rectangular-w5.0mm-h2.0mmKiCad LED_THT: LED_Rectangular_W5.0mm_H2.0mm; bbox 15.1 × 5.0 × 2.0 mmSTEP · STL
rectangular-w5.0mm-h5.0mmKiCad LED_THT: LED_Rectangular_W5.0mm_H5.0mm; bbox 15.1 × 5.0 × 5.0 mmSTEP · STL
Let your AI pull this. Add 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.
Set it up →

Plain text: sheet.txt · JSON: /api/geometry?object=leds-tht

Through-hole LEDs: 3, 5, 8, 10 mm, flat-top, rectangular, RGB, isometric render of a generated part
Render of d5.0mm-3 from the free STEP; not to scale.

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.