Home

What hashrate does a Raspberry Pi 4 get for Monero?

A Raspberry Pi 4 typically mines Monero at a few tens of hashes per second (H/s), with a broad practical range of roughly 10–100 H/s depending on your setup. That is enough for a learning project, but you should not expect meaningful income—especially if you mine through a web browser rather than dedicated mining software.

What that speed means

A hash is one attempt at solving the mining puzzle. At 30 H/s, your Pi makes about 30 attempts each second.

The range above is a rough guide for dedicated mining software, not a guaranteed benchmark. Your result depends on:

  • Whether you run a 64-bit operating system.
  • Which mining program and settings you use.
  • How much memory your Pi has available.
  • Whether the processor stays cool.
  • Whether other programs are using the Pi.

Be careful with online results. Monero switched to RandomX, its current mining algorithm, on November 30, 2019. Older results for CryptoNight, the previous algorithm family, do not tell you how fast your Pi will mine Monero today.

Why the Pi 4 struggles with RandomX

RandomX favors processors, or CPUs, rather than graphics cards. But that does not mean every CPU handles it equally well.

For good performance, RandomX benefits from about 2 MB of L3 cache per mining thread. Cache is very fast memory close to the processor, and a thread is one stream of work. The Pi 4 has no L3 cache and only a small shared L2 cache. This puts it at a major disadvantage compared with a desktop processor.

Memory matters too. RandomX’s fast mode uses a 2,080 MB dataset, plus additional memory for its cache, mining software, and operating system.

  • 1 GB or 2 GB Pi 4: Too little memory for a practical fast-mode setup.
  • 4 GB Pi 4: Generally enough for dedicated mining on a lightweight system.
  • 8 GB Pi 4: More room for other tasks, but extra memory alone does not increase mining speed.

Light mode uses a 256 MB cache instead of the large dataset, but it is substantially slower.

What to expect in your browser

Do not assume a dedicated-software benchmark applies to browser mining. Browser code, memory limits, and restrictions on background activity can all reduce performance.

Also check what the website actually mines. Some services pay you in XMR while mining something else. In that case, their displayed hashrate is not a Monero RandomX benchmark.

To test your own Pi, close unnecessary programs, use adequate cooling, and let mining run for at least 10–15 minutes. Watch the sustained speed rather than the first number shown. An overheated Pi automatically slows its processor down.

The bottom line

Your Raspberry Pi 4 is better for exploring mining than earning from it. Expect a few tens of H/s as a starting point, then measure your actual setup. Use that measured speed in a live Monero profitability calculator, including electricity and service fees, before deciding whether to leave it running.

All 1,000 questions

MyAiMiner.com

MyAiMiner.com — Monero mining blog. 1,000 questions. Clear answers.

Monero (XMR) Mining BLOG

Hashes0
Blocks accepted0
Blocks rejected0
Runtime00:00:00