percent, not pixels
A radius in pixels is the wrong unit
Forty pixels of corner radius is invisible on a 4000 pixel photo and swallows half a face on a 400 pixel avatar. That is why the radius here is a percentage of the shorter side: one setting looks the same on a thumbnail and on a poster. The pixel value it works out to is shown underneath, so you can still match a spec that asks for one.
The other half of the job is the format. Rounded corners need transparency, and JPEG has none — save a rounded image as JPEG and the four corners come back as solid black unless something fills them. This tool defaults to PNG, keeps the corners genuinely empty, and if you do pick JPEG it asks for a background colour instead of quietly producing black triangles.
three steps
How to round the corners of an image
01
Drop the image in
PNG, JPG, WebP or GIF. It is decoded in the page and never uploaded.
02
Set the radius
Drag the slider from 0 to 50 percent of the shorter side. At 50 percent on a square image you get a circle. Add a border in the same panel if you want one.
03
Download
PNG keeps the corners transparent. JPEG and WebP are there too, with a background colour for the parts the rounding cut away.