Fix USB Volume Size Error When Formatting
In this article
When you plug in a USB drive and Windows says the volume is too small or the size is wrong (for example, it shows 0 bytes or only a fraction of the real capacity), the usual cause is a corrupted partition table or leftover partition layout. This guide walks you through clearing the drive completely and rebuilding a single, correctly sized partition using Windows' built-in Disk Management and Diskpart tools. You will need a PC running Windows 10 or 11, and you should back up any files you want to keep from the USB drive before starting — the process erases everything.
What You'll Need
- A Windows PC (desktop or laptop) with an available USB port
- The USB drive you want to fix (any capacity)
- Administrator access to the PC (you'll need to confirm a UAC prompt)
- Optional: a second USB drive or cloud storage to back up files you want to keep
Step-by-Step
- Back up any important files. If the drive still appears in File Explorer and you can open it, copy everything you need to another drive or to cloud storage. If the drive shows 0 bytes or is unreadable, skip this step — the data is likely already unrecoverable without special software.
- Open Disk Management. Press Win + X and select Disk Management from the menu. If prompted by User Account Control, click Yes. (Menu labels can vary slightly by Windows version, but the option is always in the Win+X menu.)
- Identify your USB drive. Look for a disk labeled Disk 1, Disk 2, etc., that matches your USB drive's capacity. It will likely show as Removable and have a black bar across the top if it's unallocated, or a blue bar if it has a partition. Be careful: do not confuse it with your main system drive (usually Disk 0).
- Delete all partitions on the USB drive. Right-click on each partition (the blue or black section) and choose Delete Volume (for a blue partition) or Delete Partition (for a black one). Confirm any warnings. After deleting all partitions, the entire drive should show as Unallocated with a single black bar.
- Initialize the disk (if prompted). If you see a popup saying “You must initialize a disk before Logical Disk Manager can access it,” choose MBR (Master Boot Record) for a USB drive and click OK. If no popup appears, skip this step.
- Create a new simple volume. Right-click on the unallocated space and choose New Simple Volume. Click Next in the wizard.
- Use the full size. In the “Simple volume size in MB” field, leave the default value (which should equal the drive's full capacity) and click Next.
- Assign a drive letter. Select “Assign the following drive letter” and pick any letter (or keep the default). Click Next.
- Format the volume. Choose FAT32 if the drive is 32 GB or smaller, or exFAT for larger drives (FAT32 has a 4 GB file size limit). Leave the allocation unit size as Default, set a volume label if you like, and check Perform a quick format. Click Next and then Finish.
- Wait for the format to complete. The drive should now appear in File Explorer with the correct capacity. If it still shows the wrong size, proceed to the Diskpart method below.
If the Disk Management method didn't work, the partition table may be corrupted at a deeper level. Use Diskpart to clean the drive completely:
- Press Win + R, type
diskpart, and press Enter. Click Yes on the UAC prompt. - Type
list diskand press Enter. Note the disk number of your USB drive (e.g., Disk 1). - Type
select disk 1(replace 1 with your drive's number) and press Enter. - Type
cleanand press Enter. This removes all partition and volume information from the selected disk. Warning: this erases all data on the drive permanently. - Type
create partition primaryand press Enter. - Type
format fs=exfat quick(orfs=fat32for drives 32 GB or smaller) and press Enter. Wait for the format to finish. - Type
assignand press Enter to give the drive a letter. - Type
exitand press Enter. Your USB drive should now show its full capacity in File Explorer.
Common Mistakes
- Selecting the wrong disk in Diskpart. Double-check the disk number. Running
cleanon your system drive will erase Windows. Always verify the capacity and that it says “Removable” in the list. - Choosing FAT32 for a drive larger than 32 GB. Windows will often refuse to format a partition larger than 32 GB as FAT32. Use exFAT instead, unless you specifically need FAT32 for compatibility with older devices.
- Not deleting all partitions. Some USB drives have a hidden recovery partition or a small system partition. You must delete every partition on the drive before creating a new one.
- Using the quick format when the drive is corrupted. A quick format only writes a new file system header. If the drive has bad sectors or a failing controller, a full format (uncheck “Quick Format”) can sometimes remap bad sectors, but it will take much longer. If the drive is physically failing, no format will fix it permanently.
Tips
- Before you start, check the USB drive in another computer. If it shows the correct capacity there, the issue might be with your PC's USB port or driver. Try a different port.
- If the drive is 64 GB or larger, use exFAT. It works with Windows, macOS, and most modern devices (game consoles, smart TVs) and has no 4 GB file size limit.
- If you plan to use the drive for a bootable Windows installation, format it as FAT32 and use the official Media Creation Tool — don't manually format it first.
- After cleaning with Diskpart, you can also create the partition in Disk Management if you prefer a graphical interface. The clean command alone often fixes the size error.
Troubleshooting
If the drive still shows the wrong size after following the steps:
- Check the physical write-protect switch. Some USB drives have a small slider on the side. If it's locked, the drive becomes read-only and formatting will fail. Move it to the unlocked position.
- Try a different USB port. A faulty port can cause the drive to be detected incorrectly. Use a rear port on a desktop, or a different port on a laptop.
- Update your USB controller drivers. Open Device Manager (right-click Start > Device Manager), expand “Universal Serial Bus controllers,” right-click each entry, and choose “Update driver.” Restart your PC and try again.
- Use the manufacturer's formatting tool. Many USB drive makers (SanDisk, Kingston, etc.) provide free formatting utilities that can restore a drive to factory state. Search the maker's official support page for your model.
- If the drive still shows 0 bytes or a tiny size, it may be a counterfeit drive. Some cheap drives are sold with a fake capacity (e.g., a 4 GB drive reported as 64 GB). When you try to format, the drive fails or shows only the real capacity. In that case, the drive is not fixable; you'll need to replace it.
Frequently Asked Questions
Why does my USB show a smaller size than its labeled capacity?
This is normal to a small degree (e.g., a 32 GB drive shows about 28.8 GB) because of binary vs. decimal calculations and file system overhead. If it shows drastically less (like 2 GB on a 32 GB drive), the partition table is likely corrupted or the drive is counterfeit.
Will formatting a USB drive erase all data permanently?
Yes, a standard format removes the file system and makes the data unrecoverable by normal means. A quick format only removes the index, but the data is still physically on the drive until overwritten. For sensitive data, use a tool that overwrites the drive multiple times.
Can I format a USB drive to FAT32 if it's larger than 32 GB?
Windows' built-in format tool will not let you choose FAT32 for drives larger than 32 GB. You can use third-party tools, but FAT32 has a 4 GB file size limit, so exFAT is usually better for large drives.
Why does Diskpart say “clean” failed?
This usually means the drive is write-protected, the USB port is not providing enough power, or the drive has a hardware failure. Check the write-protect switch, try another port, and if it still fails, the drive may be dead.
Is it safe to use Diskpart on my main hard drive?
No. Diskpart's clean command removes all partitions on the selected disk. If you select the wrong disk, you will lose all data on it, including your operating system. Always double-check the disk number in list disk before running clean.
What should I do if the USB drive is not recognized at all?
If the drive doesn't appear in Disk Management, try a different USB port, a different computer, and check if the drive's LED lights up. If it still isn't detected, the drive's controller may be damaged, and it's likely not repairable.