keepcalculator

06 Numbers and Powers

Reduced D Drive But Can’t Extend C Drive

Card No. 06·31146 · Updated · Standard formula, shown below

Unallocated space on disk (GB) 150.00 GB
Max possible C size after moving D (GB)
350.00 GB
Result
Total disk size (GB)
500 GB
You entered
Current C drive size (GB)
200 GB
You entered
You enter
Total disk size (GB), Current C drive size (GB), Current D drive size (GB)
You get
Unallocated space on disk (GB), Max possible C size after moving D (GB)
Rounding
2 dp

If your D drive shows unallocated space but the Extend Volume option is greyed out for C, the cause is almost always that the free space is not adjacent to C on the same physical disk. The built-in Disk Management tool only extends a volume into unallocated space that is immediately to its right (after it) on the disk; if the D partition sits between C and the unallocated space, or if the space is on a separate disk, Windows will not let you extend C. The fix is to use a third-party partition manager that can move D to the end of the disk, or to delete D and re-create it after C, depending on your data and backup situation.

Formula

The calculator above works out two numbers for a single physical disk: the total unallocated space (total disk size minus current C and D sizes) and the maximum possible C drive size if you move D to the end of the disk (total disk size minus D). The formulas are:

  • Unallocated space = Total disk size − C size − D size
  • Max C after moving D = Total disk size − D size

All values are in gigabytes (GB). If you have more than one D partition, add them together. This is pure arithmetic; it does not account for partition alignment, hidden recovery partitions, or system reserved partitions, which can reduce the usable space.

Worked Example

Using the defaults: a 500 GB disk with C at 200 GB and D at 150 GB.

  1. Unallocated space = 500 − 200 − 150 = 150 GB
  2. Max C after moving D = 500 − 150 = 350 GB

So you have 150 GB of unallocated space, and if you move D to the end, you can extend C to 350 GB (the original 200 GB plus the 150 GB of free space).

Why Disk Management Won’t Let You Extend C

Windows Disk Management (diskmgmt.msc) has a strict rule: you can only extend a volume into unallocated space that is contiguous and immediately to the right of the volume on the same disk. The layout of a typical disk is:

  • Partition 1: C (system)
  • Partition 2: D (data)
  • Unallocated space (at the end)

Here, the unallocated space is to the right of D, not C, so the Extend Volume option for C is greyed out. Even if the unallocated space is between C and D, Disk Management still will not let you extend C because the space must be directly adjacent to C on the right side. If the unallocated space is on a different physical disk (e.g., a second hard drive), Disk Management will never allow extending C into it, because a volume cannot span multiple disks.

Your Options: Third-Party Tools vs. Deleting D

You have two realistic paths, each with trade-offs:

  • Use a third-party partition manager (e.g., AOMEI Partition Assistant, EaseUS Partition Master, MiniTool Partition Wizard). These tools can move D to the end of the disk, making the unallocated space adjacent to C, and then extend C. This is non-destructive but requires a reboot and carries a small risk of data loss if power fails during the operation. Always back up D first.
  • Delete D, extend C, then recreate D. This is the only method that works with built-in Windows tools. Right-click D in Disk Management, choose Delete Volume (this erases all data on D), then right-click C and choose Extend Volume, then create a new D in the remaining space. This is simple and free, but you must back up all D data to an external drive first.

If D is a recovery partition or a system reserved partition (usually small, 100–500 MB), do not delete it; it is needed for booting. Check the partition type in Disk Management – system reserved partitions are labelled as such.

How to Move D with a Third-Party Tool (General Steps)

  1. Install a reputable partition manager (free versions are fine for a one-time move).
  2. Open the tool and locate your disk. You will see C, D, and unallocated space.
  3. Right-click D and choose “Move/Resize� or “Resize/Move Partition�.
  4. Drag D to the far right of the unallocated space, or enter the number of MB to shift it right. Make sure there is no unallocated space between C and D.
  5. Right-click C and choose “Extend� or “Resize� to take the newly freed space.
  6. Apply the changes. The tool will likely require a restart and may take 10–30 minutes depending on disk speed and size.

Do not interrupt the process once it starts. A power failure during a partition move can corrupt the partition table.

Common Mistakes and Misconceptions

  • Thinking unallocated space on a second disk can be used. It cannot, unless you convert to a dynamic disk (not recommended) or use a spanned volume (risky). The only clean way is to physically add the space to the same disk.
  • Confusing unallocated space with free space inside D. Unallocated space is not part of any partition; it shows as black in Disk Management. Free space inside D is already part of D, and you cannot “moveâ€� it to C without shrinking D first – which also requires third-party tools if D is not adjacent to C.
  • Deleting the wrong partition. Always verify the drive letter and size before deleting. Deleting a system recovery partition can make Windows unbootable.
  • Not backing up before using third-party tools. Even though these tools are generally safe, a sudden power outage or a bug can cause data loss. Back up D (and ideally C) to an external drive.
  • Assuming the calculator above accounts for hidden partitions. It does not. If your disk has a 500 MB system reserved partition, subtract that from the total when using the calculator.

When You Should Just Leave It Alone

Moving partitions is not always worth the risk. If D is small (e.g., 50 GB) and you rarely use it, consider simply moving your personal files from D to C (if C has space) and then deleting D to extend C. If you have a laptop with a single drive and no external backup, weigh the risk of a failed partition move against the benefit of a larger C drive. In many cases, it is safer to buy an external drive and move your Documents, Downloads, and Desktop folders to it, freeing up C without touching partitions.

Frequently Asked Questions

Why is Extend Volume greyed out for C even though I have unallocated space?

Because the unallocated space is not directly to the right of C on the same disk. Windows only allows extending into adjacent unallocated space on the right side. If D is between C and the unallocated space, or if the unallocated space is on another disk, the option is disabled.

Can I extend C without deleting D?

Yes, but only with a third-party partition manager that can move D to the end of the disk. Built-in Disk Management cannot move partitions, so it cannot help in this scenario. Third-party tools are safe if you back up your data and have a reliable power source.

Is it safe to delete D and recreate it after extending C?

Yes, if you have backed up all data on D. Deleting D is instant and irreversible, so copy everything you need to an external drive. After deleting, extend C, then create a new D in the remaining space and restore your files.

What if the unallocated space is on a different physical disk?

You cannot extend C into space on another disk with standard methods. You would need to use a spanned volume (requires converting to dynamic disk) which is risky and not recommended. The better solution is to move the data from the second disk to the first, or to replace the first disk with a larger one.

How long does moving a partition take?

It depends on the size of D and the speed of your disk. A 150 GB partition on a typical 7200 RPM HDD can take 15–30 minutes. On an SSD, it is usually faster. The tool will show progress, and you should not interrupt it.

Will moving D affect my installed programs on D?

Moving the partition itself does not change the data, so programs on D will still work. However, if you delete D and recreate it, the drive letter may change, which can break shortcuts and programs that reference the old drive letter. After recreating D, you can assign the same letter in Disk Management.

Related

Formula used
in t | Total disk size (GB) | GB | 500 | 1 | 100000
in c | Current C drive size (GB) | GB | 200 | 1 | 100000
in d | Current D drive size (GB) | GB | 150 | 1 | 100000
out free | Unallocated space on disk (GB) | GB | t - c - d | 2
out newc | Max possible C size after moving D (GB) | GB | t - d | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →