Runs in your browser ยท nothing uploaded
  1. Home
  2. Guides
  3. How to Check RAM in a Browser
Device

How to Check RAM in a Browser

Learn how browser APIs report device memory, what the values mean, and why the data is intentionally limited.

By DeviceInfo Editorial Team October 8, 2026 4 min read

Illustration for the guide: How to Check RAM in a Browser

Short answer

Most modern browsers do not provide a direct way to check your exact RAM capacity. The deviceMemory property in the Navigator API is the only available signal, but it only works in Chromium-based browsers like Chrome and Edge. It returns a rounded value, such as 4 or 8, representing the approximate amount of RAM in gigabytes.

What the check does

The browser exposes the deviceMemory property to allow websites to adapt their performance and load resources efficiently. It does not provide a detailed hardware inventory. Instead, it offers a coarse estimate of the device's memory to help developers decide whether to load high-quality assets or simpler versions. In practice, opening a diagnostic tool that reads this property will display the value if the browser supports it, or remain empty if it does not.

How to read the result

If the value is present, read it as a general bucket for your device's memory. For example, a value of 4 usually means the device has roughly 4 GB of RAM, while a value of 16 indicates approximately 16 GB. If the value is undefined or empty, it means the browser is not disclosing this information. This absence is not a sign of a hardware fault; it is a privacy protection. Safari, Firefox, and older versions of Chromium-based browsers typically return no value for this property, so you cannot rely on it as a universal measurement tool.

What the values mean

Signal ValueMeaning
4Approximately 4 GB of RAM, common in budget devices or older laptops.
8Approximately 8 GB of RAM, the standard for most modern consumer computers.
16Approximately 16 GB of RAM, typical for high-performance workstations.
undefinedThe browser does not support this API or hides the value for privacy.

Common questions

  • Why is my value missing? Your browser likely does not expose the deviceMemory property, which is common in non-Chromium environments.
  • Is the number exact? No, it is a rounded estimate designed to prevent precise hardware fingerprinting.
  • Can I check RAM in Firefox? No, Firefox does not support this property and will always return an undefined value.
  • Does zoom affect the result? No, browser zoom or display settings do not change the reported memory value.

Try it live

Use the Device Information tool to check your specific browser's support for memory reporting. This tool will display whether the property is available and show the value your device currently reports.

Limitations

The primary limitation is that the data is not universal. Only Chromium-based browsers on desktop platforms typically report values, and even then, the data is rounded. Mobile devices, even on Chrome, often do not expose this property. The value is also a snapshot of the browser's configuration at the time of the request, not a live measurement of available free memory. Developers must treat this as a soft signal for adaptive loading, not as a definitive inventory of the hardware.

Bottom line: Treat the deviceMemory value as a suggestion for performance optimization. When in doubt, assume a mid-range configuration and design your application to be resilient to variations in hardware resources.

Frequently asked questions

Does Chrome report the exact RAM size?

Chrome reports a bucketed value rather than the exact amount. The API is designed to give developers enough information to optimize performance without creating a unique fingerprint for the device.

Why do some browsers hide this information?

Browsers like Safari and Firefox prioritize user privacy by withholding hardware details. Exposing specific memory configurations can help malicious sites track users across different websites, so these browsers opt out of the standard.

Can I use this for system administration?

No, this API is intended for web applications to adjust their behavior, not for IT professionals to audit hardware. For accurate system diagnostics, you should use the operating system's built-in tools.

What should I do if the value is null?

If the value is null or undefined, assume a standard configuration like 4 GB or 8 GB. Modern web applications should be designed to function correctly regardless of the reported memory, using the value only as a hint for enhancement.

Your device, your values

See this on your own browser right now

Keep reading