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

productbbox l (mm)bbox w (mm)bbox h (mm)
2423 PiTFT 2.885.056.024.3
2441 PiTFT 3.597.456.518.8
2348 Adafruit Motor HAT65.056.57.2
3211 RGB Matrix Bonnet66.230.718.1
4374 BrainCraft HAT65.058.524.4
3346 Adafruit Speaker Bonnet for Pi65.031.013.8
3464 Joy Bonnet65.030.713.8
3422 Adafruit Arcade Bonnet65.030.016.1
3386 PiRTC PCF852321.220.010.3
6365 Pi STEMMA QT Breakout15.314.77.1
6418 E-Ink Bonnet65.030.913.8
4863 CYBERDECK Hat77.665.218.8
4132 GPIO Expander Bonnet65.030.714.3
4074 LoRa Radio Bonnet65.030.79.4
4280 DC Stepper Motor Bonnet65.030.713.8
4506 TFT Bonnet65.030.716.9
6358 Triple LED Matrix Bonnet65.030.716.0
4862 CYBERDECK Bonnet65.251.718.8
2315 PiTFT 2.265.057.010.4
3577 PICO Hat65.019.01.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.

featureexactmates withfitfiles
HAT mounting holes4 × Ø2.75 on 58 × 49; board 65 × 56.5, R3 cornersRaspberry Pi holes; 2×20 2.54 socket; 11 board-to-board standoffdesignedall
Bonnet65 × 30, two holes 58 apart (some four on 58 × 23)any Pi 40-pin headerdesignedall

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 productsSTEP, F3D, STLMIT

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
  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
2423-pitft-2.8Adafruit #2423 PiTFT 2.8; bbox 85.0 × 56.0 × 24.3 mm; 0.2 MB on GitHubSTEP
2441-pitft-3.5Adafruit #2441 PiTFT 3.5; bbox 97.4 × 56.5 × 18.8 mm; 0.1 MB on GitHubSTEP
2348-adafruit-motor-hatAdafruit #2348 Adafruit Motor HAT; bbox 65.0 × 56.5 × 7.2 mm; 2.1 MB on GitHubSTEP · STL
3211-rgb-matrix-bonnetAdafruit #3211 RGB Matrix Bonnet; bbox 66.2 × 30.7 × 18.1 mm; 3.1 MB on GitHubSTEP · STL
4374-braincraft-hatAdafruit #4374 BrainCraft HAT; bbox 65.0 × 58.5 × 24.4 mm; 5.8 MB on GitHubSTEP · STL
3346-adafruit-speaker-bonnet-for-piAdafruit #3346 Adafruit Speaker Bonnet for Pi; bbox 65.0 × 31.0 × 13.8 mm; 2.3 MB on GitHubSTEP
3464-joy-bonnetAdafruit #3464 Joy Bonnet; bbox 65.0 × 30.7 × 13.8 mm; 0.1 MB on GitHubSTEP
3422-adafruit-arcade-bonnetAdafruit #3422 Adafruit Arcade Bonnet; bbox 65.0 × 30.0 × 16.1 mm; 0.1 MB on GitHubSTEP
3386-pirtc-pcf8523Adafruit #3386 PiRTC PCF8523; bbox 21.2 × 20.0 × 10.3 mm; 0.7 MB on GitHubSTEP · STL
6365-pi-stemma-qt-breakoutAdafruit #6365 Pi STEMMA QT Breakout; bbox 15.3 × 14.7 × 7.1 mm; 0.7 MB on GitHubSTEP
6418-e-ink-bonnetAdafruit #6418 E-Ink Bonnet; bbox 65.0 × 30.9 × 13.8 mm; 4.9 MB on GitHubSTEP
4863-cyberdeck-hatAdafruit #4863 CYBERDECK Hat; bbox 77.6 × 65.2 × 18.8 mm; 3.2 MB on GitHubSTEP · STL
4132-gpio-expander-bonnetAdafruit #4132 GPIO Expander Bonnet; bbox 65.0 × 30.7 × 14.3 mm; 2.7 MB on GitHubSTEP
4074-lora-radio-bonnetAdafruit #4074 LoRa Radio Bonnet; bbox 65.0 × 30.7 × 9.4 mm; 2.1 MB on GitHubSTEP · STL
4280-dc-stepper-motor-bonnetAdafruit #4280 DC Stepper Motor Bonnet; bbox 65.0 × 30.7 × 13.8 mm; 4.1 MB on GitHubSTEP
4506-tft-bonnetAdafruit #4506 TFT Bonnet; bbox 65.0 × 30.7 × 16.9 mm; 2.1 MB on GitHubSTEP · STL
6358-triple-led-matrix-bonnetAdafruit #6358 Triple LED Matrix Bonnet; bbox 65.0 × 30.7 × 16.0 mm; 2.5 MB on GitHubSTEP
4862-cyberdeck-bonnetAdafruit #4862 CYBERDECK Bonnet; bbox 65.2 × 51.7 × 18.8 mm; 3.2 MB on GitHubSTEP · STL
2315-pitft-2.2Adafruit #2315 PiTFT 2.2; bbox 65.0 × 57.0 × 10.4 mm; 0.1 MB on GitHubSTEP
3577-pico-hatAdafruit #3577 PICO Hat; bbox 65.0 × 19.0 × 1.6 mm; 0.0 MB on GitHubSTEP
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=adafruit-pi-hats-bonnets

Adafruit Raspberry Pi HATs and Bonnets (PiTFT, Motor HAT, RGB Matrix, BrainCraft, Speaker, Joy, CRICKIT…), isometric render of a generated part
Render of 6418-e-ink-bonnet from the free STEP; not to scale.

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.