Dust ring distance calculator
ToolLight-cone geometryEstimate
Dust on your optics shows up in flat frames as soft rings, often called dust donuts. The further the speck sits from the sensor, the larger its ring. Enter the ring's size and two numbers about your camera and telescope to estimate how far in front of the sensor the speck is, then compare that with the glass in your own imaging train.
Pencil testEstimate
Measure the ring
ResultEstimate
With the example values, the speck is about 2.4 mm in front of the sensor (estimate).
Ring on the sensor: 100 px × 4 µm × 1 ÷ 1,000 = 0.4 mm. Distance: 0.4 mm × 6 ≈ 2.4 mm.
How the estimate works
Light reaches each point on the sensor as a narrow cone from the telescope's aperture. The idealized model here treats that cone as a straight-sided cone in air. With a focal ratio N (focal length divided by aperture), the cone is about 1/N as wide as its distance from the sensor. By similar triangles, a small speck at distance d casts a shadow ring about d ÷ N wide, so the distance is about the ring width times N. The shadow diameter on the sensor is an approximation, not an exact figure.
distance (mm) ≈ ring on sensor (mm) × focal ratio
The divide by 1,000 converts micrometres to millimetres, because a millimetre is 1,000 micrometres (see NIST, Metric (SI) Prefixes, National Institute of Standards and Technology). The aperture ratio and the small-angle relation are explained in Opto Engineering, F/#, Working F/# and Numerical Aperture.
Example: a ring 100 px across, 4 µm pixels, no binning and f/6 gives 100 × 4 × 1 ÷ 1,000 = 0.4 mm on the sensor, and 0.4 mm × 6 ≈ 2.4 mm in front of it.
Assumptions behind the number
- The speck is much smaller than its ring. A large speck makes a ring slightly bigger than the cone, so the real distance is a little shorter.
- You measure the outer edge of the ring, edge to edge, on the image as captured: the same binning on both axes and no resizing or cropping-with-scaling. The pixel size you enter is the camera's native, unbinned pixel pitch, and the tool multiplies it by the binning. A stretched flat makes the edge easier to see.
- The focal ratio is the one at the sensor. A reducer, extender or corrector changes it; use the value with it fitted.
- Distance is along the light path in air. The model ignores refraction in any glass between the speck and the sensor, such as a filter or the sensor window.
- The result is an estimate to narrow the search. Inspect and clean following your equipment maker's instructions.
Why flats still matter
Finding the speck helps you clean the right surface, but any dust that is left, along with vignetting, is corrected by calibrating with flat frames taken through the same optics. The guides cover flat panels, their brightness settings and how capture software automates them.