# navigator.deviceMemory values: what Chrome really reports

> navigator.deviceMemory values on desktop Chrome are 2, 4, 8, 16 or 32, not the spec's 0.25 to 8. Our validator kept the old list and refused its own draws.

Source: https://mosaicbrowser.com/blog/devicememory-rounding

## A number Chromium rounds, and a generator that did not

navigator.deviceMemory values on desktop Chrome are 2, 4, 8, 16 or 32, not the spec's 0.25 to 8. Our validator kept the old list and refused its own draws.

![2–32: The range desktop Chrome rounds memory into](https://mosaicbrowser.com/covers/devicememory-rounding.webp)

`navigator.deviceMemory` values are not what the specification lists. The [W3C Device Memory](https://www.w3.org/TR/device-memory/) document and [MDN](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory) give 0.25, 0.5, 1, 2, 4 and 8. Desktop Chrome, since version 153, rounds the machine's memory to a power of two and clamps it between 2 and 32. Android stays between 1 and 8. Our generator learned the new range. Our validator did not, and it started refusing values the generator had just computed.

## The navigator.deviceMemory values Chrome actually prints

Chromium does not report your memory. It reports an approximation: the physical memory rounded to the nearest power of two, then clamped. Since Chromium 153 the clamp is 2 and 32 on desktop and 1 and 8 on Android. A few examples of what the rounding gives on desktop:

```
machine memory   reported
8 GB             8
18 GB            16
36 GB            32
64 GB            32  (clamped)

```

So an 8 is not a disguise on a big machine. It is what a real desktop Chrome prints for a small one, and on a profile that claims a 36 GB Mac Studio it is a number that machine never shows. Our generator rounds the memory of the machine a profile claims onto the same ladder Chromium uses, so the claim and the printed value come from one calculation.

Mosaic is a desktop app

Email yourself the link and open it on your computer.

[How it works: Machines that exist](https://mosaicbrowser.com/features/real-fingerprints)

## One number, four descriptions

`navigator.deviceMemory` was decided in four places in our code, and they were not interchangeable:

1. The engine decides what the browser prints, whatever it is handed.
2. The generator decides what a profile records.
3. The validator decides what a profile may hold.
4. The live check decides whether the engine honoured the claim.

When Chromium moved the clamp, the first two followed. The validator still carried `[0.25, 0.5, 1, 2, 4, 8]` as a literal. So a desktop profile that drew 16 or 32 was rejected by its own validator, twelve attempts in a row, with `Could not generate a coherent fingerprint`. And the live check, holding the same literal, reported a browser that answered 32 on a 32 GB machine, the same as stock, as an engine change that had failed.

There is one description now. A single function holds the clamp for each platform, the generator rounds into it, and the list of allowed values is derived from it and imported by the validator and the live check. Nobody writes the ladder down a second time.

## The header that skips the accessor

The value also leaves the browser as `Sec-CH-Device-Memory` when a site asks for that client hint. In Chromium, the code that builds the header calls the memory approximation function directly. It never goes near the JavaScript accessor. A change that moves only `navigator.deviceMemory`, for example by returning a hard 8, leaves the header reporting the real machine on every request, and gives every profile the same 8 besides. Our engine sets the value at the shared function, so the page, its workers and the header agree. That is the rule from [half a spoof is a contradiction](https://mosaicbrowser.com/blog/half-a-spoof): change every route or none. The header side is covered in [client hints fingerprinting](https://mosaicbrowser.com/glossary/client-hints-fingerprinting).

![A profile fingerprint in Mosaic: GPU, screen, fonts, timezone and language](https://mosaicbrowser.com/shots/fingerprint-detail.png)
*Memory follows the machine the profile claims*

## The other number Chromium rounds

The same catalogue run turned up a second ladder. We drew `navigator.connection.rtt` as multiples of 10, from 50 to 200. Blink rounds rtt to a multiple of 25 before a page sees it, so 60, 70, 90 and most of the range were numbers no Chrome reports. Five fresh launches of stock Chrome on our Mac read 100, 50, 100, 100 and 50.

The engine knew. Its own code comment says a value off the 25 steps is a tell and the generator must supply one that is on them. The generator did not know. An off-ladder rtt is now a hard problem in validation. All 45 profiles on that Mac had been drawn from the old range, and the repair rounded the 33 that were off the ladder, in place, and touched nothing else.

Then we had to correct ourselves. A detector row that had failed on rtt passed after the fix, and we nearly credited the fix. But our launcher does not send the connection values to the engine at all: the page reads the real network. The row flipped because the site varies between runs. The ladder fix was still right, since a stored value that could never be real is worth not storing, but it changed nothing a detector could see. We left the switch unsent, because sending it would make the `RTT` request header and the JavaScript value disagree unless both moved together, and nobody had measured the header yet.

## How to check your own

Open a console and read `navigator.deviceMemory`. On desktop Chrome 153 or later it should be one of 2, 4, 8, 16 or 32. A value of 0.5 or 0.25 on a desktop, or anything above 8 on Android, is not a Chrome reading. What else a profile claims about its machine, and why all of it comes from one row of real hardware, is in [a fingerprint is a machine](https://mosaicbrowser.com/blog/a-fingerprint-is-a-machine) and on [real fingerprints](https://mosaicbrowser.com/features/real-fingerprints).

## Sources

1. [MDN: Navigator.deviceMemory](https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory), read November 2, 2026
2. [W3C: Device Memory](https://www.w3.org/TR/device-memory/), read November 2, 2026

## Questions

### What values can navigator.deviceMemory return?

The specification lists 0.25, 0.5, 1, 2, 4 and 8. Chromium rounds the machine's memory to the nearest power of two and clamps it: since Chromium 153, 2 to 32 on desktop and 1 to 8 on Android, so a 64 GB Mac reports 32.

### Is deviceMemory sent in a request header too?

Yes, as Sec-CH-Device-Memory when a site asks for it. In Chromium the header is built from the same rounding function as the JavaScript value, not from the accessor, so changing only navigator.deviceMemory leaves the header telling the truth.

### Why does a value off Chromium's ladder matter?

Because it is impossible rather than unusual. A Chrome that reports 12 for deviceMemory, or 60 for connection rtt, is a browser no real install produces, and a site can check that without knowing anything else about it.

### How does Mosaic set deviceMemory?

The profile records the memory of the machine it claims, rounded the way Chromium rounds it, and the engine reports that value in the page, in workers and in the request header.

## Related

[A fingerprint is a machine, not a bag of fields](https://mosaicbrowser.com/blog/a-fingerprint-is-a-machine): Random fingerprint vs real device: random values from separate lists make machines nobody sells. We draw a whole real device, a Mac, a Windows PC or a phone.

[Half a spoof is a contradiction](https://mosaicbrowser.com/blog/half-a-spoof): Partial fingerprint spoofing detection is simple: ask one question two ways. We cut five spoofs that changed one route to a value and left the other.

[Client hints fingerprinting: what Sec-CH-UA headers give away](https://mosaicbrowser.com/glossary/client-hints-fingerprinting): Client hints fingerprinting reads the Sec-CH-UA headers and navigator.userAgentData, then checks them against the User-Agent and the rest of the browser.

[Machines that exist: fingerprints drawn from real hardware](https://mosaicbrowser.com/features/real-fingerprints): Mosaic draws each profile's GPU, screen, CPU, memory and fonts from one real device, so the parts of a fingerprint agree with each other and with the host.

[An anti-detect browser with its own Chromium engine](https://mosaicbrowser.com/features/engine): Mosaic is an anti-detect browser with its own Chromium engine, Tesseract Chrome: stock Chromium source, with fingerprint values changed inside the engine.







[The GPU pin we removed twice and restored twice](https://mosaicbrowser.com/blog/gpu-pin): On a stock Chrome, claiming any Apple chip but the Mac's own read as masked on Pixelscan. We removed that pin twice on a theory; our own engine lifted it.

## Mosaic, on your own computer

The browser this blog is about: its own Chromium, fingerprints from real machines and a proxy IP per profile. Free covers 3 profiles with no card, and Pro is $25 a month for any number of them.

Mosaic is a desktop app

Email yourself the link and open it on your computer.
