A new formula for radiation detection