Library › Electronic components › Single-board computers · 2019 ·
Raspberry Pi 4 Model B
What are the Raspberry Pi 4 board dimensions and mounting-hole positions? · Modern device · basis: Raspberry Pi 4 Model B mechanical drawing (Raspberry Pi Ltd); numbers re-keyed, geometry built by Xem Studio
Also called: rpi4, pi 4, raspberry pi 4
Exact dimensions. True size, with no tolerance added.
- length
- 85 mm
- width
- 56 mm
- holes
- 4 × Ø2.7 mm · 58 x 49, 3.5 from each edge · M2.5
Notes
- From Raspberry Pi's mechanical drawing: the board file is the 85 × 56 mm outline with the printed 3.0 mm corner radius and the four Ø2.7 mounting holes on 58 × 49 mm. Use it as a cutout, a standoff template or the floor of a case; port centres and component heights printed on the drawing are in the table (their widths are not dimensioned, so they are not modelled).
- Sizes are exact nominal millimetres, true size: add your own clearance.
- Same 58 × 49 mm hole pattern as Pi 2/3/5; port layout differs from Pi 5 (USB-C power and two micro-HDMI on the long edge, USB/Ethernet on the short edge).
- Official STEP and PDF drawing available.
Raspberry Pi 4 Model B size chart
| parameter | value |
|---|---|
| board | 85 × 56 mm, corner radius 3.0 mm |
| mounting holes | 4 × Ø2.7 (M2.5), 58 × 49 mm, centres 3.5 mm from the left and long edges |
| hole pad keep-out | Ø6 |
| GPIO header | centred 29 mm from the left holes (32.5 mm from the left edge) on the top hole line; stands 8.5 mm |
| USB-C power (bottom edge) | centre 11.2 mm from the left edge (3.5 + 7.7); stands 3.2 mm |
| micro-HDMI 0 / 1 (bottom edge) | centres 26.0 and 39.5 mm from the left edge (+14.8, +13.5); stand 3.0 mm |
| USB 2 / USB 3 / Ethernet (right edge) | centres 9, 27 and 45.75 mm from the bottom edge; USB stack 16.0 mm, Ethernet 13.5 mm high |
| audio jack | stands 6.0 mm |
| camera and display connectors (CSI / DSI) | stand 5.5 mm |
| SoC | stands 2.4 mm |
Where the files are
Other publishers' files are linked, not hosted. "verify" = check the license at the link before commercial use.
| Raspberry Pi Ltd (official) | Raspberry Pi documentation: drawings and STEP | PDF, STEP | CC BY-SA 4.0 (Raspberry Pi documentation) verify |
| Raspberry Pi Ltd (official) | Raspberry Pi 4 Model B mechanical drawing (rpi_MECH_4b_4p0) | Raspberry Pi documentation (CC BY-SA 4.0); linked, not hosted |
Free files
★ Free files 1 parts. Generated by Xem Studio from the standard; threads are plain cylinders at major diameter. CC BY 4.0. 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.
| raspberry-pi-4-b-board | Board outline 85 × 56 mm with the drawing's 3.0 mm corner radius, four Ø2.7 holes on 58 × 49 mm (3.5 mm from the edges); board drawn 1.6 mm thick: the maker does not print the thickness | 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=raspberry-pi-4-b

Fits with
Questions
What are the Raspberry Pi 4 Model B dimensions in mm?
85 × 56 mm (length × width × height). Same 58 × 49 mm hole pattern as Pi 2/3/5; port layout differs from Pi 5 (USB-C power and two micro-HDMI on the long edge, USB/Ethernet on the short edge).
What is the Raspberry Pi 4 Model B mounting hole pattern?
4 × Ø2.7 mm on a 58 x 49, 3.5 from each edge mm pattern, M2.5 screws.
Where is the official CAD for the Raspberry Pi 4 Model B?
Raspberry Pi Ltd (official): Raspberry Pi 4 mechanical drawing (PDF) (PDF, CC BY-SA 4.0 (Raspberry Pi documentation)). Linked from the sheet; Xem Studio does not rehost it.
