Library › Electronic components › Switches, relays & indicators ·
Tactile buttons (6 mm), DIP switches and small slide switches
What are the dimensions of a 6 mm tactile switch? · Standard part · basis: KiCad 3D models of the 6 × 6 mm tactile switch family (4.3 to 13 mm actuator heights), C&K PTS645 right-angle tactiles, 2.54 mm DIP switches, CuK slide switch
Also called: 6mm tactile switch, tact switch dimensions, dip switch size, push button 6x6, pts645
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
- 21 in table
Notes
- 6 × 6 mm tactile: body 6 × 6 × 3.5 mm, pins on a 6.5 × 4.5 mm pattern; total height 4.3, 5, 7.3, 8, 9.5 or 13 mm depending on the stem. Design a case button hole Ø3.8 for the 3.5 mm stem, 0.5–1 mm travel.
- DIP switches: 2.54 mm pitch, 7.62 mm row spacing (DIP-style), 9.78 mm wide; length = positions × 2.54 + 2.3 mm.
- Printed keycaps: 3.5 mm square recess for the stem, 1 mm wall; the switch needs 160–260 gf, so keep the cap light.
Tactile buttons (6 mm), DIP switches and small slide switches size chart
| part | bbox l (mm) | bbox w (mm) | bbox h (mm) |
|---|---|---|---|
| cuk-js202011cqn-dpdt-straight | 9.0 | 8.5 | 3.6 |
| dip-spstx01-slide-9.78x4.72mm-w7.62mm | 10.0 | 9.9 | 4.7 |
| dip-spstx02-slide-9.78x7.26mm-w7.62mm | 10.0 | 9.9 | 7.3 |
| dip-spstx03-slide-9.78x9.8mm-w7.62mm | 10.0 | 9.9 | 9.8 |
| dip-spstx04-slide-9.78x12.34mm-w7.62mm | 12.3 | 10.0 | 9.9 |
| dip-spstx05-slide-9.78x14.88mm-w7.62mm | 14.9 | 10.0 | 9.9 |
| dip-spstx06-slide-9.78x17.42mm-w7.62mm | 17.4 | 10.0 | 9.9 |
| dip-spstx07-slide-9.78x19.96mm-w7.62mm | 20.0 | 10.0 | 9.9 |
| dip-spstx08-slide-9.78x22.5mm-w7.62mm | 22.5 | 10.0 | 9.9 |
| nkk-bb15ah | 20.5 | 10.4 | 8.8 |
| push-6mm | 7.8 | 7.2 | 6.0 |
| push-6mm-h13mm | 16.5 | 7.2 | 6.0 |
| push-6mm-h4.3mm | 7.8 | 7.2 | 6.0 |
| push-6mm-h5mm | 8.5 | 7.2 | 6.0 |
| push-6mm-h7.3mm | 10.8 | 7.2 | 6.0 |
| push-6mm-h8mm | 11.5 | 7.2 | 6.0 |
| push-6mm-h9.5mm | 13.0 | 7.2 | 6.0 |
| tactile-spst-angled-pts645vx31-2lfs | 11.0 | 7.4 | 7.2 |
| tactile-spst-angled-pts645vx39-2lfs | 11.0 | 7.9 | 7.4 |
| tactile-spst-angled-pts645vx58-2lfs | 11.0 | 9.9 | 7.4 |
| tactile-spst-angled-pts645vx83-2lfs | 12.4 | 11.0 | 7.4 |
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 |
|---|---|---|---|---|
| 6 × 6 mm tactile pins | pins 0.7 square on 6.5 × 4.5 pattern, hole 1.0–1.1 | PCB drill Ø1.0–1.1 on 6.5 × 4.5 (own sheet) | designed | all |
| 6 × 6 mm tactile stem | body 6 × 6 × 3.5; total height 4.3 / 5 / 7.3 / 8 / 9.5 / 13 | case button hole Ø3.8 for the 3.5 stem, 0.5–1 travel (own sheet) | designed | all |
| DIP switch | 2.54 pitch, 7.62 row spacing, 9.78 wide, length = n × 2.54 + 2.3 | DIP socket / PCB footprint on 2.54 grid, 7.62 rows | designed | dip-* |
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 21 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.
| cuk-js202011cqn-dpdt-straight | KiCad Button_Switch_THT: SW_CuK_JS202011CQN_DPDT_Straight; bbox 9.0 × 8.5 × 3.6 mm | STEP · STL |
| dip-spstx01-slide-9.78x4.72mm-w7.62mm | KiCad Button_Switch_THT: SW_DIP_SPSTx01_Slide_9.78x4.72mm_W7.62mm_P2.54mm; bbox 10.0 × 9.9 × 4.7 mm | STEP · STL |
| dip-spstx02-slide-9.78x7.26mm-w7.62mm | KiCad Button_Switch_THT: SW_DIP_SPSTx02_Slide_9.78x7.26mm_W7.62mm_P2.54mm; bbox 10.0 × 9.9 × 7.3 mm | STEP · STL |
| dip-spstx03-slide-9.78x9.8mm-w7.62mm | KiCad Button_Switch_THT: SW_DIP_SPSTx03_Slide_9.78x9.8mm_W7.62mm_P2.54mm; bbox 10.0 × 9.9 × 9.8 mm | STEP · STL |
| dip-spstx04-slide-9.78x12.34mm-w7.62mm | KiCad Button_Switch_THT: SW_DIP_SPSTx04_Slide_9.78x12.34mm_W7.62mm_P2.54mm; bbox 12.3 × 10.0 × 9.9 mm | STEP · STL |
| dip-spstx05-slide-9.78x14.88mm-w7.62mm | KiCad Button_Switch_THT: SW_DIP_SPSTx05_Slide_9.78x14.88mm_W7.62mm_P2.54mm; bbox 14.9 × 10.0 × 9.9 mm | STEP · STL |
| dip-spstx06-slide-9.78x17.42mm-w7.62mm | KiCad Button_Switch_THT: SW_DIP_SPSTx06_Slide_9.78x17.42mm_W7.62mm_P2.54mm; bbox 17.4 × 10.0 × 9.9 mm | STEP · STL |
| dip-spstx07-slide-9.78x19.96mm-w7.62mm | KiCad Button_Switch_THT: SW_DIP_SPSTx07_Slide_9.78x19.96mm_W7.62mm_P2.54mm; bbox 20.0 × 10.0 × 9.9 mm | STEP · STL |
| dip-spstx08-slide-9.78x22.5mm-w7.62mm | KiCad Button_Switch_THT: SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mm; bbox 22.5 × 10.0 × 9.9 mm | STEP · STL |
| nkk-bb15ah | KiCad Button_Switch_THT: SW_NKK_BB15AH; bbox 20.5 × 10.4 × 8.8 mm | STEP · STL |
| push-6mm | KiCad Button_Switch_THT: SW_PUSH_6mm; bbox 7.8 × 7.2 × 6.0 mm | STEP · STL |
| push-6mm-h13mm | KiCad Button_Switch_THT: SW_PUSH_6mm_H13mm; bbox 16.5 × 7.2 × 6.0 mm | STEP · STL |
| push-6mm-h4.3mm | KiCad Button_Switch_THT: SW_PUSH_6mm_H4.3mm; bbox 7.8 × 7.2 × 6.0 mm | STEP · STL |
| push-6mm-h5mm | KiCad Button_Switch_THT: SW_PUSH_6mm_H5mm; bbox 8.5 × 7.2 × 6.0 mm | STEP · STL |
| push-6mm-h7.3mm | KiCad Button_Switch_THT: SW_PUSH_6mm_H7.3mm; bbox 10.8 × 7.2 × 6.0 mm | STEP · STL |
| push-6mm-h8mm | KiCad Button_Switch_THT: SW_PUSH_6mm_H8mm; bbox 11.5 × 7.2 × 6.0 mm | STEP · STL |
| push-6mm-h9.5mm | KiCad Button_Switch_THT: SW_PUSH_6mm_H9.5mm; bbox 13.0 × 7.2 × 6.0 mm | STEP · STL |
| tactile-spst-angled-pts645vx31-2lfs | KiCad Button_Switch_THT: SW_Tactile_SPST_Angled_PTS645Vx31-2LFS; bbox 11.0 × 7.4 × 7.2 mm | STEP · STL |
| tactile-spst-angled-pts645vx39-2lfs | KiCad Button_Switch_THT: SW_Tactile_SPST_Angled_PTS645Vx39-2LFS; bbox 11.0 × 7.9 × 7.4 mm | STEP · STL |
| tactile-spst-angled-pts645vx58-2lfs | KiCad Button_Switch_THT: SW_Tactile_SPST_Angled_PTS645Vx58-2LFS; bbox 11.0 × 9.9 × 7.4 mm | STEP · STL |
| tactile-spst-angled-pts645vx83-2lfs | KiCad Button_Switch_THT: SW_Tactile_SPST_Angled_PTS645Vx83-2LFS; bbox 12.4 × 11.0 × 7.4 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=tactile-switches

Fits with





Questions
What is the height of a 6 mm tactile switch?
4.3 mm is the standard; 5, 7.3, 8, 9.5 and 13 mm stems are common. Height is measured from the board to the top of the stem.
What is the pin spacing on a 6x6 tactile switch?
6.5 mm across (between the pin pairs) by 4.5 mm; pins are 0.7 mm square, 1.0–1.1 mm holes.
How big is an 8-position DIP switch?
About 22.6 × 9.8 × 5 mm on 2.54 mm pitch with 7.62 mm row spacing.