Accidentally Deleted Photos Videos? How to Recover
The calculator for this page is switched off while it is checked. The formula is below, and the worked example in the article shows how to use it by hand.
If you accidentally deleted personal photos or videos, you can often recover them using the Recycle Bin, a backup, or recovery software, but success depends on acting quickly and not writing new data to the same storage. This guide explains your options for Windows, Mac, Android, and iPhone, and what to do immediately after deletion.
Formula
The calculator estimates the risk that your deleted files have been overwritten, which determines the best recovery strategy. The risk score is computed as:
Risk = min(10, (hours since deletion / 4) + (storage type factor))
- hours – time elapsed since deletion (0–72+).
- storage type – 1 for hard disk drive (HDD), 2 for solid-state drive (SSD). SSDs use TRIM and garbage collection, which erase deleted data quickly.
- storage type factor – 0 for HDD, 3 for SSD (added to the hours term).
The output is a risk score from 1 (very low) to 10 (very high). The advice field tells you what to do next.
Worked Example
Suppose you deleted a video 24 hours ago from a standard hard drive (HDD).
- Hours term: 24 / 4 = 6
- Storage factor: 0 (HDD)
- Risk = min(10, 6 + 0) = 6
The calculator shows a risk of 6 and advises: “Try backup first.� This matches the general guidance that after 24 hours on an HDD, the chance of overwrite is moderate, so check backups before spending time on recovery software.
What Happens When You Delete a Photo or Video?
When you delete a file, the operating system doesn’t immediately erase the data. Instead, it marks the space as available. The actual 1s and 0s remain on the storage until new data overwrites them. This is why recovery is possible—but it’s a race against time.
On a hard disk drive (HDD), deleted files can often be recovered days or even weeks later if the drive hasn’t been heavily used. On a solid-state drive (SSD), the TRIM command tells the drive to erase blocks that are no longer in use, which can make recovery impossible within minutes. Similarly, smartphones and cloud storage have their own deletion behaviors—often moving files to a “Recently Deleted� folder that keeps them for 30 days.
First Steps After Accidental Deletion
Act immediately. The most important rule is: stop using the device or storage. Every new photo, video, app install, or even a web page cache write can overwrite the deleted file’s data.
- Turn off Wi-Fi on your phone to prevent automatic backups or syncs from writing data.
- Do not take new photos or videos on the same device.
- Do not install recovery software on the same drive—use a different computer or an external drive.
- If the file was on an SD card, remove the card and set it to read-only if possible.
If the deletion happened on a cloud service (Google Photos, iCloud, OneDrive), check the “Trash� or “Recently Deleted� folder first—most keep files for 30 days. If it’s been longer, contact support, but know that after 30 days the files are usually permanently erased.
Recovery Options by Device
Windows PC
- Check the Recycle Bin—right-click the file and choose “Restore.�
- If not there, right-click the folder and select “Restore previous versions� (if File History or System Protection is on).
- Use a recovery tool like Recuva (free) or PhotoRec (free, open-source) on a different drive.
Mac
- Check the Trash—drag the file back to the desktop.
- Use Time Machine if you have a backup—enter Time Machine, go to the date before deletion, and restore.
- For files not in Trash, try a Mac recovery tool like Disk Drill (free trial) or PhotoRec.
Android
- Open the Gallery or Files app and look for “Recently deleted� or “Trash� (usually keeps files 30 days).
- If using Google Photos, check the trash in the app or at photos.google.com.
- If not there, stop using the phone and use a recovery app like DiskDigger (requires root for deep scans) or connect the phone to a computer and use PhotoRec.
iPhone / iPad
- Open the Photos app, tap “Albums� → “Recently Deleted� and select the photos/videos to recover.
- If not there, check iCloud.com → Settings → Restore Files (for iCloud Drive) or contact Apple Support for iCloud Photos.
- For files deleted from local storage (not iCloud), recovery is very difficult without a backup—try third-party software like iMazing, but success is limited.
How to Choose Recovery Software
When you need software, look for these features:
- Supports your file system (NTFS, APFS, exFAT, ext4).
- Deep scan mode that searches for file signatures, not just the file table.
- Preview before recovery—so you can confirm the file is intact.
- Recovery to another drive—never save recovered files back to the same drive.
Free options like PhotoRec are powerful but have a steep learning curve. Paid tools like Disk Drill, EaseUS Data Recovery Wizard, or Stellar Photo Recovery offer easier interfaces but may not recover more than free ones. No tool can guarantee recovery—if the data has been overwritten, it’s gone.
Common Mistakes and Misconceptions
Mistake 1: Using the device after deletion. Even checking settings or browsing the web writes temporary files. The longer you wait, the lower the chance.
Mistake 2: Assuming “Recycle Bin� is the only place. Many people forget that files deleted from a shared network drive or a USB stick bypass the Recycle Bin entirely.
Mistake 3: Thinking SSDs behave like HDDs. On an SSD, the TRIM command can erase deleted data within seconds. If you have an SSD, power it off immediately and consider professional recovery.
Misconception: “Recovery software can always get my files back.� It can’t. If the data is overwritten, no software can recover it. That’s why backups are essential.
How to Prevent Future Loss
- Enable automatic backups: iCloud, Google Photos, OneDrive, or an external drive with Time Machine/File History.
- Use the 3-2-1 rule: 3 copies of your data, on 2 different media, 1 offsite.
- For important videos, consider cloud storage with versioning (e.g., Google Drive, Dropbox) so you can revert to older versions.
- On Windows, turn on File History; on Mac, turn on Time Machine.
Recovery is never guaranteed, but a good backup makes it irrelevant.
Frequently Asked Questions
Can I recover permanently deleted photos from my iPhone?
If the photo is gone from “Recently Deleted� (after 30 days), the only hope is an iCloud backup (if you backed up before deletion) or a third-party tool that scans the device’s storage—but iOS sandboxing makes this very difficult and usually requires a jailbreak. Your best bet is to check iCloud.com for any backup.
Does emptying the Recycle Bin make recovery impossible?
No. Emptying the bin only marks the space as free. The data remains until overwritten. Recovery software can still find it, especially on an HDD. On an SSD, TRIM may have already erased it.
How long do deleted files stay on Google Photos?
Google Photos keeps deleted photos and videos in the trash for 30 days, then permanently deletes them. If you have a Pixel or use Google One, you may have additional recovery options, but after 30 days it’s usually gone.
Is it safe to use free recovery software?
Yes, if you download from the official source. PhotoRec and Recuva are reputable and free. Avoid “registry cleaners� or “recovery� tools from unknown sites—they may bundle malware. Always scan the downloaded file with antivirus.
Can I recover files from a formatted SD card?
Often yes, if you haven’t written new data. Formatting only recreates the file system; the old data remains until overwritten. Use a card reader and recovery software like PhotoRec or DiskDrill. Stop using the card immediately.
Related
Formula used
in t | Time since deletion (hours) | hours | 24 | 0 in d | Storage type (1=HDD, 2=SSD) | - | 1 | 1 out risk | Data overwrite risk (1-10) | - | min(10, t / 4 + (d - 1) * 3) | 0 out advice | Best action | - | if(risk < 5, "Use recovery software", if(risk < 8, "Try backup first", "Stop using drive, seek pro help")) | 0
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.