Windows Page File Size Calculator

Enter your RAM and how you use your PC. You'll get the exact Initial and Maximum page file (virtual memory) values to type into Windows — in MB, the units the dialog asks for — or a clear "let Windows manage it."

—
Initial size
—
Maximum size
—

How to set it in Windows

  1. Press Win+R, type SystemPropertiesAdvanced and press Enter.
  2. Under Performance, click Settings… → the Advanced tab → Virtual memory: Change…
  3. Uncheck Automatically manage paging file size for all drives, select your Windows drive, and pick Custom size.
  4. Enter the Initial and Maximum values above (in MB), click Set, then OK.
  5. Reboot for the change to take effect.
Not sure the page file is your real bottleneck?

High disk activity and stutter often trace back to something else — a background service, a failing drive, or too little RAM for the workload. Post your specs and what you're seeing on the Forum-Windows community and people who've chased the same symptom will help you find the actual cause.

How it works — and why the old "1.5× / 3×" rule overshoots

The page file (pagefile.sys) is disk space Windows uses as an overflow for RAM — "virtual memory." When physical RAM fills up, less-used pages get written here so active work keeps running. The long-quoted rule of thumb is Initial = 1.5 × RAM and Maximum = 3 × RAM. That advice was written for machines with 2–4 GB of RAM, where the extra headroom genuinely mattered.

On a modern PC with 16 GB or more, you rarely exhaust RAM, so a page file three times your RAM just reserves disk you'll never use. That's why this calculator recommends letting Windows manage it for most 8 GB-and-up general and gaming machines, and — if you prefer a fixed size — a sane ceiling (around 1× to 2× RAM) instead of the old 3×. The Maximum is a ceiling, not reserved space: the file only grows toward it if RAM is actually exhausted. The one case that needs a large page file is crash-dump debugging: a complete memory dump requires a page file on the system drive at least the size of your RAM + 257 MB.

FAQ

What size should my page file be?

For most PCs with 8 GB of RAM or more, the best answer is to let Windows manage it — it sizes the file dynamically and you won't measure a difference from a fixed size. If you want a fixed size (for predictable behaviour or on an HDD), a good modern range is an Initial equal to your RAM and a Maximum of about 1.5× to 2× your RAM. Machines with under 8 GB benefit from the older, more generous 1.5× / 3× sizing. Enter the values this calculator gives you in MB.

Should I disable the page file if I have lots of RAM?

No. Even with 32 GB or more, some applications and Windows itself expect a page file to exist, and without one you can get "out of memory" errors, apps that refuse to launch, and no crash dump when something fails. The page file costs almost nothing when unused — leave it on. If you're tight on disk, shrink it rather than removing it.

What's the difference between Initial and Maximum size?

Initial is the size Windows allocates up front; Maximum is the ceiling it's allowed to grow to under pressure. Setting them equal (Initial = Maximum) keeps the file a fixed size, which avoids fragmentation on a hard disk and prevents resize pauses. On an SSD, fragmentation doesn't matter, so an Initial below the Maximum is fine.

Does the page file need to be on my SSD?

Yes — keep it on your fastest drive, which is your SSD or NVMe. It's a common myth that moving the page file to an HDD "saves" SSD wear; the write volume is trivial for a modern SSD's endurance, and an HDD page file is dramatically slower when it's actually needed. Leave virtual memory on the Windows drive.

Why does the Windows dialog show MB instead of GB?

The Virtual Memory dialog only accepts megabytes. To convert, multiply gigabytes by 1024 — so 16 GB is 16384 MB. This calculator shows both, so you can type the MB value straight in.

Will a bigger page file make my PC faster?

Not on its own. The page file prevents crashes and errors when RAM runs out; it doesn't add speed. If your PC is slow because it's constantly paging, the real fix is more RAM (or a lighter workload), not a larger page file — disk is far slower than RAM no matter how big you make the file.