For me absolute minimum would be 357 magnum or 10mm with hard cast rounds by buffalo bore or underwood. I know of two cases locally that 9mm has been used successfully for bear defense but don't think it is a an appropriate caliber for the task.