A photo that looked crisp on your phone can look soft once it is printed, resized for a website, or dropped into a presentation. Product shots taken through a slightly dirty lens, scanned documents and images that have been scaled down all tend to lose a bit of bite. Sharpening is the standard fix, and almost every editor uses the same technique for it: the unsharp mask.
The name is confusing, and the three sliders that come with it (amount, radius and threshold) are often moved at random until the picture looks "sharper". This guide explains what each one actually does, what good settings look like for common jobs, and where sharpening simply cannot help.
What sharpening really does
Sharpening does not recover detail. It increases local contrast along edges. Where a dark area meets a light area, the dark side is made slightly darker and the light side slightly lighter. Your eye reads that stronger transition as a crisper edge.
The unsharp mask gets its name from an old darkroom technique. A deliberately blurred ("unsharp") copy of the image is compared with the original, and the difference between them is exactly the edge detail. That difference is then added back on top of the original, boosting the edges. In simplified form:
sharpened = original + amount × (original − blurred copy)
Flat areas, where the original and the blurred copy are almost the same, barely change. Edges, where they differ a lot, get the boost.
The three controls
- Amount is how strongly the edge difference is added back. 100% adds it once; 200% doubles it. Too much produces bright and dark outlines, called halos, around objects.
- Radius is how wide the blur is, and therefore how wide the zone around each edge that gets affected. A small radius (under 1 px) sharpens fine texture such as hair and fabric. A large radius affects broad shapes and starts to look like a contrast boost.
- Threshold tells the filter to ignore small differences. With a threshold of 10, any variation smaller than 10 brightness levels is left alone. That keeps smooth areas such as skin, sky and walls from getting grainy, because their tiny random variations (noise) are not amplified.
Typical starting points
| Job | Amount | Radius | Threshold |
|---|---|---|---|
| Gentle clean-up of a decent photo | 50-80% | 0.8 px | 2 |
| General purpose | around 120% | around 1.2 px | 3 |
| Images for screens after resizing down | around 90% | 0.5 px | 0 |
| Portraits | about 100% | 1.5 px | 10 or more |
| "Clarity" / midtone punch | 20-30% | 20-30 px | 0 |
These are starting points, not rules. The right values depend on the resolution of the image and on how large it will be displayed. Always judge sharpening at 100% zoom, because a scaled-down preview hides halos.
Sharpen a photo in your browser
The Sharpen Image tool applies an adjustable unsharp mask entirely on your device.
- Open Sharpen Image and drop a photo onto the page.
- Start with a preset: Subtle, Standard, Strong, Web / screen, Portrait (skin-safe) or Clarity. The highlighted button shows which one is active.
- Fine-tune with the Amount (0-500%), Radius (0.3-30 px) and Threshold (0-40 levels) sliders.
- For large photos, the preview shows a crop from the centre at full size, so you are judging real pixels. Drag across it to compare before and after.
- Pick a format under Save as and click Download image. The result keeps the original dimensions. Use Reset to return to the default settings at any time.
Other ways to sharpen
Photo editors
Photoshop (Filter → Sharpen → Unsharp Mask), GIMP (Filters → Enhance → Sharpen (Unsharp Mask)) and Affinity Photo all offer the same three controls, plus the option to sharpen only through a mask or on a separate layer. For a professional workflow where you sharpen differently for each output size, these are the better tools.
Lightroom and raw processors
Raw files need sharpening because camera sensors and their filters slightly soften the image. Raw editors apply "capture sharpening" in the development step, often with a masking slider that behaves much like threshold. If you shoot raw, sharpen there first.
Phone editors
The built-in photo editors on most phones include a sharpness or detail slider. It is quick and fine for social posts, but usually gives you one control rather than three, so it is harder to avoid noisy skies.
Command line
ImageMagick can sharpen batches from a script:
magick input.jpg -unsharp 0x1.2+1.2+0.01 output.jpg
The parameters are radius × sigma, amount and threshold (as a fraction). It is handy for automating the same setting on hundreds of files.
Tips, pitfalls and troubleshooting
Sharpen last
Sharpening should be the final step, after cropping, resizing and colour adjustment. Resizing changes how large each detail is, so sharpening done before a big resize is partly wasted or exaggerated. If you are shrinking images, use Image Resizer first and then sharpen lightly.
Halos around edges
A light outline around dark objects, or a dark line along a bright horizon, means the amount or radius is too high. Lower the radius first; it usually matters more than the amount.
Grainy skies and skin
If smooth areas become speckled, raise the threshold. Values between 5 and 15 protect skin in most portraits.
It is still blurry
Motion blur and badly missed focus cannot be fixed by an unsharp mask. It will make the blurry edges more contrasty, but the doubled or smeared shapes stay. The same is true for very small images you want to enlarge. For that, see Image Upscaler, which enlarges with Lanczos resampling and a gentle sharpening pass, and be realistic about what any method can recover.
JPEG artefacts get worse
Heavy compression leaves blocky patterns and ringing around text. Sharpening amplifies them. Start from the least compressed version you have, and save the sharpened result as PNG or high-quality JPG. If the file becomes too large, compress it afterwards with Image Compressor at a moderate setting.
Print needs more than screen
Ink spreads slightly on paper, so images for print usually tolerate, and need, a little more sharpening than images for screens. Make separate copies for each use rather than one compromise.
Frequently asked questions
Can sharpening fix an out-of-focus photo?
Only slightly. Sharpening boosts contrast at edges that already exist, so it helps soft images but cannot rebuild detail lost to missed focus or camera shake.
What is a good unsharp mask setting?
A common starting point is an amount of about 100-150%, a radius of about 1 px and a threshold of 2-4. Adjust from there while viewing the image at 100%.
Why does my sharpened photo have white outlines?
Those are halos, caused by too much amount or too large a radius. Reduce the radius first, then the amount, until the outlines disappear at normal viewing size.
What does the threshold slider do?
It stops the filter from touching small differences in brightness. That keeps noise in skin, sky and flat backgrounds from being amplified, while real edges are still sharpened.
Does sharpening reduce image quality?
Moderate sharpening improves perceived quality. Over-sharpening adds halos and noise, and saving as a low-quality JPG afterwards adds compression artefacts, so keep the setting gentle and export at good quality.