Library › Electronic components › Modules, sensors & displays ·
Adafruit Raspberry Pi HATs and Bonnets (PiTFT, Motor HAT, RGB Matrix, BrainCraft, Speaker, Joy, CRICKIT…)
What are Raspberry Pi HAT and Bonnet dimensions? · Modern device · basis: Adafruit CAD (MIT); HAT spec 65 × 56.5 mm with the Pi's four Ø2.75 holes on 58 × 49 mm; Bonnets 65 × 30 mm (Pi Zero outline)
Also called: raspberry pi hat dimensions, pi bonnet size, pitft 2.8 dimensions, pitft 3.5, rgb matrix bonnet, braincraft hat, motor hat dimensions
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
- 20 in table
Notes
- HAT: 65 × 56.5 mm board, four Ø2.75 mm holes on 58 × 49 mm matching the Pi, 2×20 socket 2.54 mm; stacks at 11 mm above the Pi board (16 mm with the 11 mm standoff). Rounded corners R3.
- Bonnet: 65 × 30 mm (Pi Zero outline), two holes 58 mm apart (some four on 58 × 23 mm). Bonnets fit any Pi.
- PiTFT 2.8 covers the HAT outline with the display centred; PiTFT 3.5 overhangs to 85 × 56 mm. RGB Matrix Bonnet and BrainCraft add 10–20 mm of height for connectors and the display.
Adafruit Raspberry Pi HATs and Bonnets size chart
| product | bbox l (mm) | bbox w (mm) | bbox h (mm) |
|---|---|---|---|
| 2423 PiTFT 2.8 | 85.0 | 56.0 | 24.3 |
| 2441 PiTFT 3.5 | 97.4 | 56.5 | 18.8 |
| 2348 Adafruit Motor HAT | 65.0 | 56.5 | 7.2 |
| 3211 RGB Matrix Bonnet | 66.2 | 30.7 | 18.1 |
| 4374 BrainCraft HAT | 65.0 | 58.5 | 24.4 |
| 3346 Adafruit Speaker Bonnet for Pi | 65.0 | 31.0 | 13.8 |
| 3464 Joy Bonnet | 65.0 | 30.7 | 13.8 |
| 3422 Adafruit Arcade Bonnet | 65.0 | 30.0 | 16.1 |
| 3386 PiRTC PCF8523 | 21.2 | 20.0 | 10.3 |
| 6365 Pi STEMMA QT Breakout | 15.3 | 14.7 | 7.1 |
| 6418 E-Ink Bonnet | 65.0 | 30.9 | 13.8 |
| 4863 CYBERDECK Hat | 77.6 | 65.2 | 18.8 |
| 4132 GPIO Expander Bonnet | 65.0 | 30.7 | 14.3 |
| 4074 LoRa Radio Bonnet | 65.0 | 30.7 | 9.4 |
| 4280 DC Stepper Motor Bonnet | 65.0 | 30.7 | 13.8 |
| 4506 TFT Bonnet | 65.0 | 30.7 | 16.9 |
| 6358 Triple LED Matrix Bonnet | 65.0 | 30.7 | 16.0 |
| 4862 CYBERDECK Bonnet | 65.2 | 51.7 | 18.8 |
| 2315 PiTFT 2.2 | 65.0 | 57.0 | 10.4 |
| 3577 PICO Hat | 65.0 | 19.0 | 1.6 |
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 |
|---|---|---|---|---|
| HAT mounting holes | 4 × Ø2.75 on 58 × 49; board 65 × 56.5, R3 corners | Raspberry Pi holes; 2×20 2.54 socket; 11 board-to-board standoff | designed | all |
| Bonnet | 65 × 30, two holes 58 apart (some four on 58 × 23) | any Pi 40-pin header | designed | all |
Where the files are
Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.
| Adafruit (official) | Adafruit_CAD_Parts: STEP, Fusion 360 and STL for Adafruit products | STEP, F3D, STL | MIT |
Free files
★ Free files 20 parts. Direct links to Adafruit Industries's own repository; nothing rehosted. MIT License (Adafruit_CAD_Parts). 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.
| 2423-pitft-2.8 | Adafruit #2423 PiTFT 2.8; bbox 85.0 × 56.0 × 24.3 mm; 0.2 MB on GitHub | STEP |
| 2441-pitft-3.5 | Adafruit #2441 PiTFT 3.5; bbox 97.4 × 56.5 × 18.8 mm; 0.1 MB on GitHub | STEP |
| 2348-adafruit-motor-hat | Adafruit #2348 Adafruit Motor HAT; bbox 65.0 × 56.5 × 7.2 mm; 2.1 MB on GitHub | STEP · STL |
| 3211-rgb-matrix-bonnet | Adafruit #3211 RGB Matrix Bonnet; bbox 66.2 × 30.7 × 18.1 mm; 3.1 MB on GitHub | STEP · STL |
| 4374-braincraft-hat | Adafruit #4374 BrainCraft HAT; bbox 65.0 × 58.5 × 24.4 mm; 5.8 MB on GitHub | STEP · STL |
| 3346-adafruit-speaker-bonnet-for-pi | Adafruit #3346 Adafruit Speaker Bonnet for Pi; bbox 65.0 × 31.0 × 13.8 mm; 2.3 MB on GitHub | STEP |
| 3464-joy-bonnet | Adafruit #3464 Joy Bonnet; bbox 65.0 × 30.7 × 13.8 mm; 0.1 MB on GitHub | STEP |
| 3422-adafruit-arcade-bonnet | Adafruit #3422 Adafruit Arcade Bonnet; bbox 65.0 × 30.0 × 16.1 mm; 0.1 MB on GitHub | STEP |
| 3386-pirtc-pcf8523 | Adafruit #3386 PiRTC PCF8523; bbox 21.2 × 20.0 × 10.3 mm; 0.7 MB on GitHub | STEP · STL |
| 6365-pi-stemma-qt-breakout | Adafruit #6365 Pi STEMMA QT Breakout; bbox 15.3 × 14.7 × 7.1 mm; 0.7 MB on GitHub | STEP |
| 6418-e-ink-bonnet | Adafruit #6418 E-Ink Bonnet; bbox 65.0 × 30.9 × 13.8 mm; 4.9 MB on GitHub | STEP |
| 4863-cyberdeck-hat | Adafruit #4863 CYBERDECK Hat; bbox 77.6 × 65.2 × 18.8 mm; 3.2 MB on GitHub | STEP · STL |
| 4132-gpio-expander-bonnet | Adafruit #4132 GPIO Expander Bonnet; bbox 65.0 × 30.7 × 14.3 mm; 2.7 MB on GitHub | STEP |
| 4074-lora-radio-bonnet | Adafruit #4074 LoRa Radio Bonnet; bbox 65.0 × 30.7 × 9.4 mm; 2.1 MB on GitHub | STEP · STL |
| 4280-dc-stepper-motor-bonnet | Adafruit #4280 DC Stepper Motor Bonnet; bbox 65.0 × 30.7 × 13.8 mm; 4.1 MB on GitHub | STEP |
| 4506-tft-bonnet | Adafruit #4506 TFT Bonnet; bbox 65.0 × 30.7 × 16.9 mm; 2.1 MB on GitHub | STEP · STL |
| 6358-triple-led-matrix-bonnet | Adafruit #6358 Triple LED Matrix Bonnet; bbox 65.0 × 30.7 × 16.0 mm; 2.5 MB on GitHub | STEP |
| 4862-cyberdeck-bonnet | Adafruit #4862 CYBERDECK Bonnet; bbox 65.2 × 51.7 × 18.8 mm; 3.2 MB on GitHub | STEP · STL |
| 2315-pitft-2.2 | Adafruit #2315 PiTFT 2.2; bbox 65.0 × 57.0 × 10.4 mm; 0.1 MB on GitHub | STEP |
| 3577-pico-hat | Adafruit #3577 PICO Hat; bbox 65.0 × 19.0 × 1.6 mm; 0.0 MB on GitHub | STEP |
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=adafruit-pi-hats-bonnets

Fits with
Questions
What are Raspberry Pi HAT dimensions?
65 × 56.5 mm with four Ø2.75 mm holes on 58 × 49 mm, the same as the Pi's; 11 mm standoffs between the Pi and the HAT.
What is the difference between a HAT and a Bonnet?
Size: a HAT is 65 × 56.5 mm (full Pi width), a Bonnet is 65 × 30 mm (Pi Zero width); both use the 40-pin header and fit any Pi.
How much height does a HAT add?
About 11 mm board-to-board plus the component height; plan 25 mm above the Pi board for most HATs, 30 mm for the PiTFT with its display.

