# Apple M4

Apple M4 is a series of ARM-based system on a chip (SoC) designed by Apple Inc., part of the Apple silicon series, including a central processing unit (CPU), a graphics processing unit (GPU), a neural processing unit (NPU), and a digital signal processor (DSP). The M4 chip was introduced in May 2024 for the iPad Pro (7th generation), and is the fourth generation of the M series Apple silicon architecture, succeeding the Apple M3.

## Design

The M4 series is built upon TSMC's second-generation 3-nanometer process and contains 28 billion transistors.
It is Apple's first SoC to reportedly use the ARMv9 CPU architecture. The M4 is based on ARMv9.2a, but it does not support Scalable Vector Extension that is required by the standard. The LLVM compiler officially flags the M4 as supporting ARMv8.7a.

### CPU

The base M4 features a 10-core design made up of four performance cores and six efficiency cores (with one performance core disabled on binned models).
The M4 Pro features an up to 14-core CPU, with 10 performance cores and 4 efficiency cores. Meanwhile, the M4 Max features an up to 16-core CPU, with 2 more performance cores than the M4 Pro.

### GPU

The M4 includes a 10-core GPU, with hardware-accelerated ray tracing, dynamic caching, and mesh shading introduced with the M3. The M4 Pro has an up to 20-core GPU, while the M4 Max contains an up to 40-core GPU. Apple claims that the ray tracing engine of the M4 family of GPUs is twice as fast as the M3.

### NPU

The M4 Neural Engine has been significantly improved compared to its predecessor, with the advertised capability to perform up to 38 trillion operations per second, claimed to be more than double the advertised performance of the M3. The M4 NPU performs over 60× faster than the A11 Bionic, and is approximately 3× faster than the original M1.

### Memory

The M4 is packaged with LPDDR5X unified memory, supporting 120GB/sec of memory bandwidth. The SoC is offered in 8GB, 16GB, 24GB, and 32GB configurations.
The M4 Pro is available with up to 64GB unified memory (Mac Mini) with a theoretical maximum bandwidth of 273GB/sec. The M4 Max is capable of addressing up to 128GB unified memory, with over half a terabyte per second (546GB/sec) of memory bandwidth.

## Performance

Apple claims up to 50% more CPU performance and 4× more GPU performance on the M4 compared to the M2. The M4 competes for the highest-scoring consumer SoC for single-core benchmarks according to various sources such as the Geekbench benchmarking suite and Passmark Software's CPU benchmarks. In doing so, M4's single-core performance competes with AMD's Ryzen 7 9700X and Intel's Core i9-14900K.
Meanwhile, in multithreaded performance, the M4 performs similarly to the M3 Pro.

## Additional features

The M4 is the first iPad SoC to support hardware-accelerated AV1 decoding, as well as hardware-accelerated mesh shading and ray tracing introduced to MacBooks in the M3. A new display controller has also been implemented to support the iPad Pro (7th generation)'s Tandem OLED display.

## Products that use the Apple M4 series
### M4

* iPad Pro (7th generation)
* iMac (2024)
* Mac Mini (2024)
* MacBook Pro (14-inch, 2024)
* MacBook Air (2025)

### M4 Pro

* Mac Mini (2024)
* MacBook Pro (14-inch and 16-inch, 2024)

### M4 Max

* MacBook Pro (14-inch and 16-inch, 2024)
* Mac Studio (2025)

## Comparison with other SoCs

* The table below shows comparable SoCs
| Variant | CPU | CPU | GPU | GPU | GPU | NPU | NPU | Memory | Memory | Memory | Transistor count | TDP (W) | Used in |
| Variant | P- cores | E- cores | Cores | EU | ALU | Cores | Performance | RAM (MT/s) | Control- lers | Bandwidth GB/s | Transistor count | TDP (W) | Used in |
| A18 Pro | 2 | 4 | 06 | 096 | 0768 | 16 | 35 TOPS | LPDDR5X 7500 | 4 | 60 | | 08 | iPhone 16 Pro |
| M4 | 3 | 6 | 10 | 160 | 1280 | 16 | 38 TOPS | LPDDR5X 7500 | 8 | 120 | 28 billion | 22 | iPad Pro (256–512GB) |
| M4 | 4 | 6 | 10 | 160 | 1280 | 16 | 38 TOPS | LPDDR5X 7500 | 8 | 120 | 28 billion | 22 | iPad Pro (1–2TB), iMac (4-port), Mac Mini, MacBook Pro 14", MacBook Air |
| M4 | 4 | 4 | 08 | 128 | 1024 | 16 | 38 TOPS | LPDDR5X 7500 | 8 | 120 | 28 billion | 22 | iMac (2-port) |
| M4 Pro | 8 | 4 | 16 | 256 | 2048 | 16 | 38 TOPS | LPDDR5X 8533 | 16 | 273 | | 38 | Mac Mini, MacBook Pro |
| M4 Pro | 10 | 4 | 20 | 320 | 2560 | 16 | 38 TOPS | LPDDR5X 8533 | 16 | 273 | | 46 | Mac Mini, MacBook Pro |
| M4 Max | 10 | 4 | 32 | 512 | 4096 | 16 | 38 TOPS | LPDDR5X 8533 | 24 | 410 | | 62 | MacBook Pro, Mac Studio |
| M4 Max | 12 | 4 | 40 | 640 | 5120 | 16 | 38 TOPS | LPDDR5X 8533 | 32 | 546 | | 70 | MacBook Pro, Mac Studio |