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

partbbox l (mm)bbox w (mm)bbox h (mm)
cuk-js202011cqn-dpdt-straight9.08.53.6
dip-spstx01-slide-9.78x4.72mm-w7.62mm10.09.94.7
dip-spstx02-slide-9.78x7.26mm-w7.62mm10.09.97.3
dip-spstx03-slide-9.78x9.8mm-w7.62mm10.09.99.8
dip-spstx04-slide-9.78x12.34mm-w7.62mm12.310.09.9
dip-spstx05-slide-9.78x14.88mm-w7.62mm14.910.09.9
dip-spstx06-slide-9.78x17.42mm-w7.62mm17.410.09.9
dip-spstx07-slide-9.78x19.96mm-w7.62mm20.010.09.9
dip-spstx08-slide-9.78x22.5mm-w7.62mm22.510.09.9
nkk-bb15ah20.510.48.8
push-6mm7.87.26.0
push-6mm-h13mm16.57.26.0
push-6mm-h4.3mm7.87.26.0
push-6mm-h5mm8.57.26.0
push-6mm-h7.3mm10.87.26.0
push-6mm-h8mm11.57.26.0
push-6mm-h9.5mm13.07.26.0
tactile-spst-angled-pts645vx31-2lfs11.07.47.2
tactile-spst-angled-pts645vx39-2lfs11.07.97.4
tactile-spst-angled-pts645vx58-2lfs11.09.97.4
tactile-spst-angled-pts645vx83-2lfs12.411.07.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.

featureexactmates withfitfiles
6 × 6 mm tactile pinspins 0.7 square on 6.5 × 4.5 pattern, hole 1.0–1.1PCB drill Ø1.0–1.1 on 6.5 × 4.5 (own sheet)designedall
6 × 6 mm tactile stembody 6 × 6 × 3.5; total height 4.3 / 5 / 7.3 / 8 / 9.5 / 13case button hole Ø3.8 for the 3.5 stem, 0.5–1 travel (own sheet)designedall
DIP switch2.54 pitch, 7.62 row spacing, 9.78 wide, length = n × 2.54 + 2.3DIP socket / PCB footprint on 2.54 grid, 7.62 rowsdesigneddip-*

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 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
  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
cuk-js202011cqn-dpdt-straightKiCad Button_Switch_THT: SW_CuK_JS202011CQN_DPDT_Straight; bbox 9.0 × 8.5 × 3.6 mmSTEP · STL
dip-spstx01-slide-9.78x4.72mm-w7.62mmKiCad Button_Switch_THT: SW_DIP_SPSTx01_Slide_9.78x4.72mm_W7.62mm_P2.54mm; bbox 10.0 × 9.9 × 4.7 mmSTEP · STL
dip-spstx02-slide-9.78x7.26mm-w7.62mmKiCad Button_Switch_THT: SW_DIP_SPSTx02_Slide_9.78x7.26mm_W7.62mm_P2.54mm; bbox 10.0 × 9.9 × 7.3 mmSTEP · STL
dip-spstx03-slide-9.78x9.8mm-w7.62mmKiCad Button_Switch_THT: SW_DIP_SPSTx03_Slide_9.78x9.8mm_W7.62mm_P2.54mm; bbox 10.0 × 9.9 × 9.8 mmSTEP · STL
dip-spstx04-slide-9.78x12.34mm-w7.62mmKiCad Button_Switch_THT: SW_DIP_SPSTx04_Slide_9.78x12.34mm_W7.62mm_P2.54mm; bbox 12.3 × 10.0 × 9.9 mmSTEP · STL
dip-spstx05-slide-9.78x14.88mm-w7.62mmKiCad Button_Switch_THT: SW_DIP_SPSTx05_Slide_9.78x14.88mm_W7.62mm_P2.54mm; bbox 14.9 × 10.0 × 9.9 mmSTEP · STL
dip-spstx06-slide-9.78x17.42mm-w7.62mmKiCad Button_Switch_THT: SW_DIP_SPSTx06_Slide_9.78x17.42mm_W7.62mm_P2.54mm; bbox 17.4 × 10.0 × 9.9 mmSTEP · STL
dip-spstx07-slide-9.78x19.96mm-w7.62mmKiCad Button_Switch_THT: SW_DIP_SPSTx07_Slide_9.78x19.96mm_W7.62mm_P2.54mm; bbox 20.0 × 10.0 × 9.9 mmSTEP · STL
dip-spstx08-slide-9.78x22.5mm-w7.62mmKiCad Button_Switch_THT: SW_DIP_SPSTx08_Slide_9.78x22.5mm_W7.62mm_P2.54mm; bbox 22.5 × 10.0 × 9.9 mmSTEP · STL
nkk-bb15ahKiCad Button_Switch_THT: SW_NKK_BB15AH; bbox 20.5 × 10.4 × 8.8 mmSTEP · STL
push-6mmKiCad Button_Switch_THT: SW_PUSH_6mm; bbox 7.8 × 7.2 × 6.0 mmSTEP · STL
push-6mm-h13mmKiCad Button_Switch_THT: SW_PUSH_6mm_H13mm; bbox 16.5 × 7.2 × 6.0 mmSTEP · STL
push-6mm-h4.3mmKiCad Button_Switch_THT: SW_PUSH_6mm_H4.3mm; bbox 7.8 × 7.2 × 6.0 mmSTEP · STL
push-6mm-h5mmKiCad Button_Switch_THT: SW_PUSH_6mm_H5mm; bbox 8.5 × 7.2 × 6.0 mmSTEP · STL
push-6mm-h7.3mmKiCad Button_Switch_THT: SW_PUSH_6mm_H7.3mm; bbox 10.8 × 7.2 × 6.0 mmSTEP · STL
push-6mm-h8mmKiCad Button_Switch_THT: SW_PUSH_6mm_H8mm; bbox 11.5 × 7.2 × 6.0 mmSTEP · STL
push-6mm-h9.5mmKiCad Button_Switch_THT: SW_PUSH_6mm_H9.5mm; bbox 13.0 × 7.2 × 6.0 mmSTEP · STL
tactile-spst-angled-pts645vx31-2lfsKiCad Button_Switch_THT: SW_Tactile_SPST_Angled_PTS645Vx31-2LFS; bbox 11.0 × 7.4 × 7.2 mmSTEP · STL
tactile-spst-angled-pts645vx39-2lfsKiCad Button_Switch_THT: SW_Tactile_SPST_Angled_PTS645Vx39-2LFS; bbox 11.0 × 7.9 × 7.4 mmSTEP · STL
tactile-spst-angled-pts645vx58-2lfsKiCad Button_Switch_THT: SW_Tactile_SPST_Angled_PTS645Vx58-2LFS; bbox 11.0 × 9.9 × 7.4 mmSTEP · STL
tactile-spst-angled-pts645vx83-2lfsKiCad Button_Switch_THT: SW_Tactile_SPST_Angled_PTS645Vx83-2LFS; bbox 12.4 × 11.0 × 7.4 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=tactile-switches

Tactile buttons (6 mm), DIP switches and small slide switches, isometric render of a generated part
Render of push-6mm-h5mm from the free STEP; not to scale.

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.