# Adafruit Raspberry Pi HATs and Bonnets (PiTFT, Motor HAT, RGB Matrix, BrainCraft, Speaker, Joy, CRICKIT…)

> What are Raspberry Pi HAT and Bonnet dimensions?

- Category: Electronic components › Modules, sensors & displays
- Kind: 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)
- Page: https://xemstudio.com/objects/adafruit-pi-hats-bonnets/ · JSON: https://xemstudio.com/api/geometry?object=adafruit-pi-hats-bonnets · Plain text: https://xemstudio.com/objects/adafruit-pi-hats-bonnets/sheet.txt
- License: dimension sheet CC BY 4.0 (Xem Studio); files CC BY 4.0 or their publisher's license
- Use in every chat: add https://xemstudio.com/mcp as a connector (https://xemstudio.com/use-with-ai/)

**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.

## 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.

## Mating features (exact size; open press / slide / run / socket by your process clearance, leave designed and clamp 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 |

## Sizes

| 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 |

## Where the files are

- Adafruit (official): [Adafruit_CAD_Parts: STEP, Fusion 360 and STL for Adafruit products](https://github.com/adafruit/Adafruit_CAD_Parts) — STEP, F3D, STL — MIT

## Free STEP/STL (20 parts, MIT License (Adafruit_CAD_Parts), Adafruit Industries)

Index: https://xemstudio.com/files/adafruit/adafruit-pi-hats-bonnets/index.json

- 2423-pitft-2.8: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/2423%20PiTFT%202.8/2423%20PiTFT%202.8.step) — Adafruit #2423 PiTFT 2.8; bbox 85.0 × 56.0 × 24.3 mm; 0.2 MB on GitHub
- 2441-pitft-3.5: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/2441%20PiTFT%203.5/2441%20PiTFT%203.5.step) — Adafruit #2441 PiTFT 3.5; bbox 97.4 × 56.5 × 18.8 mm; 0.1 MB on GitHub
- 2348-adafruit-motor-hat: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/2348%20Adafruit%20Motor%20HAT/2348%20Adafruit%20Motor%20HAT.step) · [STL](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/2348%20Adafruit%20Motor%20HAT/2348%20Adafruit%20Motor%20HAT.stl) — Adafruit #2348 Adafruit Motor HAT; bbox 65.0 × 56.5 × 7.2 mm; 2.1 MB on GitHub
- 3211-rgb-matrix-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/3211%20RGB%20Matrix%20Bonnet/3211%20RGB%20Matrix%20Bonnet.step) · [STL](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/3211%20RGB%20Matrix%20Bonnet/3211%20RGB%20Matrix%20Bonnet.stl) — Adafruit #3211 RGB Matrix Bonnet; bbox 66.2 × 30.7 × 18.1 mm; 3.1 MB on GitHub
- 4374-braincraft-hat: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4374%20BrainCraft%20HAT/4374%20BrainCraft%20HAT.step) · [STL](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4374%20BrainCraft%20HAT/4374%20BrainCraft%20HAT.stl) — Adafruit #4374 BrainCraft HAT; bbox 65.0 × 58.5 × 24.4 mm; 5.8 MB on GitHub
- 3346-adafruit-speaker-bonnet-for-pi: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/3346%20Adafruit%20Speaker%20Bonnet%20for%20Pi/3346%20Adafruit%20Speaker%20Bonnet%20for%20Pi%20Rev%20D.step) — Adafruit #3346 Adafruit Speaker Bonnet for Pi; bbox 65.0 × 31.0 × 13.8 mm; 2.3 MB on GitHub
- 3464-joy-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/3464%20Joy%20Bonnet/3464%20Joy%20Bonnet.f3d.step) — Adafruit #3464 Joy Bonnet; bbox 65.0 × 30.7 × 13.8 mm; 0.1 MB on GitHub
- 3422-adafruit-arcade-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/3422%20Adafruit%20Arcade%20Bonnet/3422%20Adafruit%20Arcade%20Bonnet.step) — Adafruit #3422 Adafruit Arcade Bonnet; bbox 65.0 × 30.0 × 16.1 mm; 0.1 MB on GitHub
- 3386-pirtc-pcf8523: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/3386%20PiRTC%20PCF8523/3386%20PiRTC%20PCF8523.step) · [STL](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/3386%20PiRTC%20PCF8523/3386%20PiRTC%20PCF8523.stl) — Adafruit #3386 PiRTC PCF8523; bbox 21.2 × 20.0 × 10.3 mm; 0.7 MB on GitHub
- 6365-pi-stemma-qt-breakout: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/6365%20Pi%20STEMMA%20QT%20Breakout/6365%20Pi%20STEMMA%20QT%20Breakout.step) — Adafruit #6365 Pi STEMMA QT Breakout; bbox 15.3 × 14.7 × 7.1 mm; 0.7 MB on GitHub
- 6418-e-ink-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/6418%20E-Ink%20Bonnet/6418%20E-Ink%20Bonnet.step) — Adafruit #6418 E-Ink Bonnet; bbox 65.0 × 30.9 × 13.8 mm; 4.9 MB on GitHub
- 4863-cyberdeck-hat: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4863%20CYBERDECK%20Hat/4863%20CyberDeck%20HAT.step) · [STL](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4863%20CYBERDECK%20Hat/4863%20CyberDeck%20HAT.stl) — Adafruit #4863 CYBERDECK Hat; bbox 77.6 × 65.2 × 18.8 mm; 3.2 MB on GitHub
- 4132-gpio-expander-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4132%20GPIO%20Expander%20Bonnet/4132%20GPIO%20Expander%20Bonnet.step) — Adafruit #4132 GPIO Expander Bonnet; bbox 65.0 × 30.7 × 14.3 mm; 2.7 MB on GitHub
- 4074-lora-radio-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4074%20LoRa%20Radio%20Bonnet/4074%20LoRa%20Radio%20Bonnet.step) · [STL](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4074%20LoRa%20Radio%20Bonnet/4074%20LoRa%20Radio%20Bonnet.stl) — Adafruit #4074 LoRa Radio Bonnet; bbox 65.0 × 30.7 × 9.4 mm; 2.1 MB on GitHub
- 4280-dc-stepper-motor-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4280%20DC%20Stepper%20Motor%20Bonnet/4280%20DC%20Stepper%20Motor%20Bonnet.step) — Adafruit #4280 DC Stepper Motor Bonnet; bbox 65.0 × 30.7 × 13.8 mm; 4.1 MB on GitHub
- 4506-tft-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4506%20TFT%20Bonnet/4506%20TFT%20Bonnet.step) · [STL](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4506%20TFT%20Bonnet/4506%20TFT%20Bonnet.stl) — Adafruit #4506 TFT Bonnet; bbox 65.0 × 30.7 × 16.9 mm; 2.1 MB on GitHub
- 6358-triple-led-matrix-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/6358%20Triple%20LED%20Matrix%20Bonnet/6358%20Triple%20LED%20Matrix%20Bonnet.step) — Adafruit #6358 Triple LED Matrix Bonnet; bbox 65.0 × 30.7 × 16.0 mm; 2.5 MB on GitHub
- 4862-cyberdeck-bonnet: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4862%20CYBERDECK%20Bonnet/4862%20CyberDeck%20Bonnet.step) · [STL](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/4862%20CYBERDECK%20Bonnet/4862%20CyberDeck%20Bonnet.stl) — Adafruit #4862 CYBERDECK Bonnet; bbox 65.2 × 51.7 × 18.8 mm; 3.2 MB on GitHub
- 2315-pitft-2.2: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/2315%20PiTFT%202.2/2315%20PiTFT%202.2.step) — Adafruit #2315 PiTFT 2.2; bbox 65.0 × 57.0 × 10.4 mm; 0.1 MB on GitHub
- 3577-pico-hat: [STEP](https://raw.githubusercontent.com/adafruit/Adafruit_CAD_Parts/main/3577%20PICO%20Hat/3577%20PICO%20Hat.step) — Adafruit #3577 PICO Hat; bbox 65.0 × 19.0 × 1.6 mm; 0.0 MB on GitHub

## 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.

## Fits with

- [Threaded standoffs, M2.5 and M3 (hex and round)](https://xemstudio.com/objects/threaded-standoffs-metric/)
- [2.54 mm pin headers, 1×2 to 2×20, vertical and right-angle](https://xemstudio.com/objects/pin-headers-2.54mm/)
