{
 "version": "2026-10-20",
 "license": "Dimension sheets: CC BY 4.0. Standard and published-size files: CC BY 4.0. Xem Studio's own designs (files_license = Xem Studio Design License): free to use and sell things from, not to redistribute as files — https://xemstudio.com/license/. Other publishers' files: their own license, linked beside them.",
 "slug": "raspberry-pi-4-b",
 "name": "Raspberry Pi 4 Model B",
 "kind": "modern",
 "category": "Electronic components",
 "group": "Single-board computers",
 "year": 2019,
 "question": "What are the Raspberry Pi 4 board dimensions and mounting-hole positions?",
 "tags": [
  "sbc",
  "board",
  "case",
  "mount",
  "true shape",
  "mounting holes",
  "cutout"
 ],
 "aliases": [
  "rpi4",
  "pi 4",
  "raspberry pi 4"
 ],
 "overall_mm": {
  "length": 85,
  "width": 56,
  "height": null
 },
 "official_cad": true,
 "xem_status": "free-files",
 "les": false,
 "free_files": 1,
 "url": "https://xemstudio.com/objects/raspberry-pi-4-b/",
 "sheet_txt": "https://xemstudio.com/objects/raspberry-pi-4-b/sheet.txt",
 "sheet": {
  "basis": "Raspberry Pi 4 Model B mechanical drawing (Raspberry Pi Ltd); numbers re-keyed, geometry built by Xem Studio",
  "overall_mm": {
   "length": 85,
   "width": 56,
   "height": null
  },
  "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."
  ],
  "mounting_holes": {
   "count": 4,
   "diameter_mm": 2.7,
   "pattern_mm": "58 x 49, 3.5 from each edge",
   "screw": "M2.5"
  },
  "table": {
   "columns": [
    "parameter",
    "value"
   ],
   "rows": [
    [
     "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"
    ]
   ]
  }
 },
 "sheet_text": "Raspberry Pi 4 Model B — dimension sheet\nSource: Xem Studio, https://xemstudio.com/objects/raspberry-pi-4-b/  (sheet CC BY 4.0)\nBasis: Raspberry Pi 4 Model B mechanical drawing (Raspberry Pi Ltd); numbers re-keyed, geometry built by Xem Studio\nCatalog version: 2026-10-20\n\nOverall (mm): length 85, width 56\nMounting holes: 4 × Ø2.7 mm, pattern 58 x 49, 3.5 from each edge, screw M2.5\n- 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).\n- Sizes are exact nominal millimetres, true size: add your own clearance.\n- 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).\n- Official STEP and PDF drawing available.\n\nparameter  value\nboard  85 × 56 mm, corner radius 3.0 mm\nmounting holes  4 × Ø2.7 (M2.5), 58 × 49 mm, centres 3.5 mm from the left and long edges\nhole pad keep-out  Ø6\nGPIO header  centred 29 mm from the left holes (32.5 mm from the left edge) on the top hole line; stands 8.5 mm\nUSB-C power (bottom edge)  centre 11.2 mm from the left edge (3.5 + 7.7); stands 3.2 mm\nmicro-HDMI 0 / 1 (bottom edge)  centres 26.0 and 39.5 mm from the left edge (+14.8, +13.5); stand 3.0 mm\nUSB 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\naudio jack  stands 6.0 mm\ncamera and display connectors (CSI / DSI)  stand 5.5 mm\nSoC  stands 2.4 mm\n\nFiles elsewhere (not hosted by Xem Studio; license as stated by the publisher):\n- Raspberry Pi Ltd (official): Raspberry Pi documentation: drawings and STEP — PDF, STEP — CC BY-SA 4.0 (Raspberry Pi documentation) [verify license at link] — https://www.raspberrypi.com/documentation/computers/raspberry-pi.html\n- Raspberry Pi Ltd (official): Raspberry Pi 4 Model B mechanical drawing (rpi_MECH_4b_4p0) — PDF — Raspberry Pi documentation (CC BY-SA 4.0); linked, not hosted — https://datasheets.raspberrypi.com/rpi4/raspberry-pi-4-mechanical-drawing.pdf\n\nFree files (CC BY 4.0, Xem Studio; STEP + STL, 1 parts): https://xemstudio.com/files/hardware/raspberry-pi-4-b/index.json\nAPI: https://xemstudio.com/api/geometry?object=raspberry-pi-4-b\n",
 "sources": [
  {
   "publisher": "Raspberry Pi Ltd (official)",
   "title": "Raspberry Pi documentation: drawings and STEP",
   "url": "https://www.raspberrypi.com/documentation/computers/raspberry-pi.html",
   "formats": [
    "PDF",
    "STEP"
   ],
   "license": "CC BY-SA 4.0 (Raspberry Pi documentation)",
   "license_verified": false,
   "hosted": false
  },
  {
   "publisher": "Raspberry Pi Ltd (official)",
   "title": "Raspberry Pi 4 Model B mechanical drawing (rpi_MECH_4b_4p0)",
   "url": "https://datasheets.raspberrypi.com/rpi4/raspberry-pi-4-mechanical-drawing.pdf",
   "formats": [
    "PDF"
   ],
   "license": "Raspberry Pi documentation (CC BY-SA 4.0); linked, not hosted",
   "license_verified": true,
   "hosted": false
  }
 ],
 "xem": {
  "status": "free-files",
  "sheet_free": true,
  "mesh_price_usd": null,
  "step_price_usd": null,
  "tolerance_mm": null
 },
 "related": [
  "threaded-standoffs-metric",
  "40mm-fan",
  "raspberry-pi-camera-module-3",
  "raspberry-pi-5"
 ],
 "fits": [],
 "dimensions": "exact (nominal, no tolerance added)",
 "dimension_rule": "All geometry on Xem Studio is exact (nominal, true size) with no tolerance added. Where a part meets another part, the object lists its mating features (feature, exact size, what it mates with, fit class: press, slide, run, socket, clamp or designed). Apply your process's allowance to those features only; 'designed' gaps are part of the design and stay as drawn. Typical accuracy by process and ISO 286 fits: https://xemstudio.com/tolerances/",
 "mating": [],
 "faq": [
  {
   "q": "What are the Raspberry Pi 4 Model B dimensions in mm?",
   "a": "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)."
  },
  {
   "q": "What is the Raspberry Pi 4 Model B mounting hole pattern?",
   "a": "4 × Ø2.7 mm on a 58 x 49, 3.5 from each edge mm pattern, M2.5 screws."
  },
  {
   "q": "Where is the official CAD for the Raspberry Pi 4 Model B?",
   "a": "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."
  }
 ],
 "files_license": null,
 "offers": [
  {
   "file": "raspberry-pi-4-b-board",
   "formats": [
    "step",
    "stl"
   ],
   "price_usd": 0,
   "license": "CC BY 4.0 (Xem Studio)",
   "step": "https://xemstudio.com/files/hardware/raspberry-pi-4-b/raspberry-pi-4-b-board.step",
   "stl": "https://xemstudio.com/files/hardware/raspberry-pi-4-b/raspberry-pi-4-b-board.stl",
   "note": "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"
  }
 ],
 "markdown": "https://xemstudio.com/objects/raspberry-pi-4-b/index.md"
}